movieDetail.vue 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. <template>
  2. <view class="movieDetail">
  3. <view class="info-box">
  4. <view class="info">
  5. <view class="icon">
  6. </view>
  7. <view class="box">
  8. <view class="name">
  9. 第二十条
  10. </view>
  11. <view class="score-box">
  12. <view class="score">
  13. 评分 <view class="num">
  14. 9.6
  15. </view>
  16. </view>
  17. <view class="want-num">
  18. 4.2万人想看
  19. </view>
  20. </view>
  21. <view class="type-box">
  22. 喜剧 剧情 <view class="tag">
  23. IMAX 2D
  24. </view>
  25. </view>
  26. <view class="publish-info">
  27. 2024年3月25日上映 141分钟
  28. </view>
  29. </view>
  30. </view>
  31. <view class="title-box">
  32. <view class="title">
  33. 简介
  34. </view>
  35. <view class="open">
  36. 展开
  37. <image class="icon" src="../../static/shop-desc.png" mode=""></image>
  38. </view>
  39. </view>
  40. <view class="desc">
  41. 这一年的不容易谁能懂?自打挂职到市检察院,韩明(雷佳音
  42. 饰)的糟心事就接二连三。儿子韩雨辰(刘耀文 饰)打了校领导
  43. (张译 饰)儿子并拒绝道歉,妻子李茂娟(马丽 饰)义愤填…
  44. </view>
  45. </view>
  46. <view class="actor-box">
  47. <view class="title-box1">
  48. <view class="title">
  49. 演员列表
  50. </view>
  51. <view class="total">
  52. 全部67
  53. <image class="icon" src="../../static/right.png" mode=""></image>
  54. </view>
  55. </view>
  56. <scroll-view class="actor-list" scroll-x="true">
  57. <view class="item">
  58. <view class="icon">
  59. </view>
  60. <view class="name">
  61. 张艺谋
  62. </view>
  63. <view class="sub-desc">
  64. 导演
  65. </view>
  66. </view>
  67. <view class="item">
  68. <view class="icon">
  69. </view>
  70. <view class="name">
  71. 雷佳音
  72. </view>
  73. <view class="sub-desc">
  74. 饰 韩明
  75. </view>
  76. </view>
  77. <view class="item">
  78. <view class="icon">
  79. </view>
  80. <view class="name">
  81. 马丽
  82. </view>
  83. <view class="sub-desc">
  84. 饰 李茂娟
  85. </view>
  86. </view>
  87. <view class="item">
  88. <view class="icon">
  89. </view>
  90. <view class="name">
  91. 赵丽颖
  92. </view>
  93. <view class="sub-desc">
  94. 饰 郝秀萍
  95. </view>
  96. </view>
  97. <view class="item">
  98. <view class="icon">
  99. </view>
  100. <view class="name">
  101. 高叶
  102. </view>
  103. <view class="sub-desc">
  104. 饰 吕玲玲
  105. </view>
  106. </view>
  107. </scroll-view>
  108. </view>
  109. <view class="btn-box">
  110. <button class="buy-btn" type="default" @click="buy">特惠购票</button>
  111. </view>
  112. <u-popup :show="show" round="32rpx" mode="bottom" @close="show = false" @open="openPop">
  113. <view class="content">
  114. <scroll-view class="tabList" scroll-x="true" scroll-with-animation :scroll-into-view="tab">
  115. <view id="demo1" class="tab active">今天 03-04</view>
  116. <view id="demo2" class="tab">明天 03-05</view>
  117. <view id="demo3" class="tab">后天 03-06</view>
  118. <view id="demo3" class="tab">周四 03-07</view>
  119. <view id="demo3" class="tab">周四 03-07</view>
  120. <view id="demo3" class="tab">周四 03-07</view>
  121. <view id="demo3" class="tab">周四 03-07</view>
  122. <view id="demo3" class="tab">周四 03-07</view>
  123. </scroll-view>
  124. <zs-choose-tab position="relative" :showModal="false" @choose="chooseTab"></zs-choose-tab>
  125. <view class="list">
  126. <view class="cinema-item" v-for="(item,index) in 15" :key="index">
  127. <view class="name-box">
  128. <view class="name">
  129. 保利万和学府影城(熙街店)
  130. </view>
  131. <view class="price">
  132. ¥19.9 <view class="label">起</view>
  133. </view>
  134. </view>
  135. <view class="address-box">
  136. <view class="address">
  137. 沙坪坝区大学城景苑路(美丽熙街)8号附1027号
  138. </view>
  139. <view class="distance">
  140. 700m
  141. </view>
  142. </view>
  143. <view class="movie-name">
  144. 近期场次:19:00 | 20:40 | 21:40
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. </u-popup>
  150. </view>
  151. </template>
  152. <script>
  153. export default {
  154. data() {
  155. return {
  156. show: false,
  157. tab:''
  158. }
  159. },
  160. methods: {
  161. openPop(){
  162. },
  163. buy() {
  164. this.show = true
  165. // uni.navigateTo({
  166. // url:'./chooseSeat'
  167. // })
  168. },
  169. chooseTab(val){
  170. }
  171. },
  172. }
  173. </script>
  174. <style lang="scss" scoped>
  175. .movieDetail{
  176. background: #F9F9F9;
  177. padding: 20rpx 24rpx ;
  178. min-height: 100vh;
  179. .info-box{
  180. padding: 24rpx;
  181. background: #FFFFFF;
  182. border-radius: 16rpx 16rpx 16rpx 16rpx;
  183. .info{
  184. display: flex;
  185. .icon{
  186. width: 160rpx;
  187. height: 200rpx;
  188. background: #aaa;
  189. border-radius: 16rpx;
  190. }
  191. .box{
  192. display: flex;
  193. flex-direction: column;
  194. justify-content: space-between;
  195. margin-left: 20rpx;
  196. .name{
  197. font-weight: 600;
  198. font-size: 28rpx;
  199. color: #222222;
  200. width: 400rpx;
  201. white-space: nowrap;
  202. overflow: hidden;
  203. text-overflow: ellipsis;
  204. }
  205. .score-box{
  206. display: flex;
  207. font-size: 24rpx;
  208. color: #AAAAAA;
  209. .score{
  210. display: flex;
  211. align-items: center;
  212. .num{
  213. font-size: 28rpx;
  214. color: #FF4D3A;
  215. padding: 0 12rpx;
  216. }
  217. }
  218. .want-num{
  219. padding: 0 12rpx;
  220. border-left: 2rpx solid #F0F0F0;
  221. align-self: flex-end;
  222. // font-size: 24rpx;
  223. // color: #AAAAAA;
  224. }
  225. }
  226. .type-box{
  227. display: flex;
  228. align-items: center;
  229. font-size: 24rpx;
  230. color: #AAAAAA;
  231. .tag{
  232. padding: 6rpx 10rpx;
  233. background: #F0F0F0;
  234. border-radius: 8rpx 8rpx 8rpx 8rpx;
  235. font-size: 24rpx;
  236. color: #AAAAAA;
  237. margin-left: 10rpx;
  238. }
  239. }
  240. .publish-info{
  241. font-size: 24rpx;
  242. color: #AAAAAA;
  243. }
  244. }
  245. }
  246. .title-box{
  247. display: flex;
  248. justify-content: space-between;
  249. margin-top: 28rpx;
  250. .title{
  251. font-weight: 600;
  252. font-size: 28rpx;
  253. color: #222222;
  254. }
  255. .open{
  256. display: flex;
  257. align-items: center;
  258. font-size: 24rpx;
  259. color: #AAAAAA;
  260. .icon{
  261. width: 24rpx;
  262. height: 24rpx;
  263. }
  264. }
  265. }
  266. .desc{
  267. font-size: 24rpx;
  268. color: #222222;
  269. font-weight: 300;
  270. margin-top: 20rpx;
  271. line-height: 40rpx;
  272. }
  273. }
  274. .actor-box{
  275. padding: 28rpx 24rpx;
  276. background: #FFFFFF;
  277. margin-top: 20rpx;
  278. border-radius: 16rpx;
  279. .title-box1{
  280. display: flex;
  281. align-items: center;
  282. justify-content: space-between;
  283. .title{
  284. font-weight: 600;
  285. font-size: 28rpx;
  286. color: #222222;
  287. }
  288. .total{
  289. font-weight: 300;
  290. font-size: 24rpx;
  291. display: flex;
  292. align-items: center;
  293. margin-right: -20rpx;
  294. .icon{
  295. width: 48rpx;
  296. height: 48rpx;
  297. }
  298. }
  299. }
  300. .actor-list {
  301. white-space: nowrap;
  302. width: 100%;
  303. padding-top: 20rpx;
  304. .item {
  305. display: inline-block;
  306. width: 120rpx;
  307. margin-right: 20rpx;
  308. text-align: center;
  309. .icon{
  310. width: 120rpx;
  311. height: 150rpx;
  312. border-radius: 16rpx;
  313. background: #aaa;
  314. }
  315. .name{
  316. font-weight: 400;
  317. font-size: 24rpx;
  318. color: #222222;
  319. margin-top: 15rpx;
  320. }
  321. .sub-desc{
  322. font-weight: 300;
  323. font-size: 20rpx;
  324. color: #AAAAAA;
  325. margin-top: 12rpx;
  326. }
  327. }
  328. }
  329. }
  330. .btn-box{
  331. position: fixed;
  332. left: 0%;
  333. bottom: 0%;
  334. width: 100%;
  335. padding: 10rpx 24rpx 76rpx;
  336. box-sizing: border-box;
  337. background: #FFFFFF;
  338. border-top: 1rpx solid #EEEEEE;
  339. .buy-btn{
  340. width: 702rpx;
  341. height: 80rpx;
  342. line-height: 80rpx;
  343. background: #EE4320;
  344. border-radius: 46rpx 46rpx 46rpx 46rpx;
  345. font-weight: 600;
  346. font-size: 28rpx;
  347. color: #FFFFFF;
  348. padding: 0;
  349. margin: 0;
  350. }
  351. }
  352. .content{
  353. padding: 24rpx;
  354. .tabList {
  355. white-space: nowrap;
  356. width: 100%;
  357. .tab {
  358. display: inline-block;
  359. padding: 0 12rpx 20rpx;
  360. font-weight: 400;
  361. font-size: 28rpx;
  362. color: #222222;
  363. }
  364. .tab.active{
  365. position: relative;
  366. &::after{
  367. content: '';
  368. position: absolute;
  369. bottom: 0%;
  370. left: 50%;
  371. transform: translateX(-50%);
  372. width: 60rpx;
  373. height: 8rpx;
  374. background: #EE4320;
  375. border-radius: 4rpx 4rpx 4rpx 4rpx;
  376. }
  377. }
  378. }
  379. .list{
  380. height: 600rpx;
  381. overflow: auto;
  382. .cinema-item{
  383. background: #FFFFFF;
  384. border-radius: 16rpx 16rpx 16rpx 16rpx;
  385. padding: 28rpx 0;
  386. border-top: 1rpx solid #F0F0F0;
  387. .name-box{
  388. display: flex;
  389. justify-content: space-between;
  390. .name{
  391. font-weight: 600;
  392. font-size: 28rpx;
  393. color: #222222;
  394. width: 450rpx;
  395. white-space: nowrap;
  396. overflow: hidden;
  397. text-overflow: ellipsis;
  398. }
  399. .price{
  400. display: flex;
  401. align-items: center;
  402. font-size: 28rpx;
  403. color: #FF4D3A;
  404. .label{
  405. font-size: 24rpx;
  406. color: #AAAAAA;
  407. }
  408. }
  409. }
  410. .address-box{
  411. display: flex;
  412. justify-content: space-between;
  413. font-size: 24rpx;
  414. color: #AAAAAA;
  415. margin-top: 16rpx;
  416. .address{
  417. width: 460rpx;
  418. white-space: nowrap;
  419. overflow: hidden;
  420. text-overflow: ellipsis;
  421. }
  422. .distance{
  423. }
  424. }
  425. .movie-name{
  426. font-size: 24rpx;
  427. color: #222222;
  428. margin-top: 16rpx;
  429. width: 100%;
  430. white-space: nowrap;
  431. overflow: hidden;
  432. text-overflow: ellipsis;
  433. }
  434. }
  435. }
  436. }
  437. }
  438. </style>