halllist.vue 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. <template>
  2. <view class="center">
  3. <view class="content-money">
  4. <view class="status_bar"><!-- 这里是状态栏 --></view>
  5. <view class="money-box">
  6. <view class="goback-box" @click="toBack"><image class="goback" src="../../static/img/fanhui.png" mode=""></image></view>
  7. <view class="header">浙江馆</view>
  8. <image class="money_bg" src="../../static/img/hinfo-bg.png"></image>
  9. <view class="message flex" @click="nav('/pages/index/message')">
  10. <image class="message-left" src="../../static/img/hinco.png" mode=""></image>
  11. <view class="message-font clamp">全民动员,公告内容信息公告消息显123456789</view>
  12. <image class="message-right" src="../../static/img/backb.png" mode=""></image>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="shingle-mmain flex">
  17. <view class="smmain-item">
  18. <view class="smitem-top red">开放中</view>
  19. <view class="smitem-bottom">状态</view>
  20. </view>
  21. <view class="shu"></view>
  22. <view class="smmain-item">
  23. <view class="smitem-top">纯平</view>
  24. <view class="smitem-bottom">馆长</view>
  25. </view>
  26. <view class="shu"></view>
  27. <view class="smmain-item">
  28. <view class="people flex">
  29. <view class="peopleitem"><image src="../../static/img/busy.png" mode=""></image></view>
  30. </view>
  31. <view class="smitem-bottom">流畅</view>
  32. </view>
  33. </view>
  34. <view class="main">
  35. <view class="mtitle-english">AFTERNOON SHOWS</view>
  36. <view class="mmain flex" @click="nav('/pages/hall/hallinfo')">
  37. <view class="mmain-info">
  38. <view class="mmain-title">
  39. <image class="mmaint-left" src="../../static/img/afternooninco.png" mode=""></image>
  40. <view class="mmaint-font">下午场</view>
  41. <view class="mmaint-time">13:59开售</view>
  42. </view>
  43. <view class="mmain-time" style="margin-top: 28rpx;">预约时间:9:30-13:53</view>
  44. <view class="mmain-time">入场时间:9:30-13:53</view>
  45. <view class="mmain-time flex">
  46. <view class="mmain-font">距预约结束:</view>
  47. <view class="lyy-b-jz flex">
  48. <uni-countdowns
  49. color="#FFFFFF"
  50. splitor-color="#4166FC"
  51. background-color="#4166FC"
  52. border-color="#4166FC"
  53. :show-day="false"
  54. :hour="stopTime.stopTimeH"
  55. :minute="stopTime.stopTimeM"
  56. :second="stopTime.stopTimeS"
  57. ></uni-countdowns>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="mmain-image"><image src="../../static/img/afternoon.png" mode=""></image></view>
  62. </view>
  63. <view class="bottom" @click="open()">
  64. <view class="bottom-font">立即预约</view>
  65. <image class="bottom-image" src="../../static/img/jt.png" mode=""></image>
  66. </view>
  67. </view>
  68. <view class="main">
  69. <view class="mtitle-english">EVENING SHOWS</view>
  70. <view class="mmain flex" @click="nav('/pages/hall/hallinfo')">
  71. <view class="mmain-info">
  72. <view class="mmain-title">
  73. <image class="mmaint-left" src="../../static/img/eveninginco.png" mode=""></image>
  74. <view class="mmaint-font">下午场</view>
  75. <view class="mmaint-time">13:59开售</view>
  76. </view>
  77. <view class="mmain-time" style="margin-top: 28rpx;">预约时间:9:30-13:53</view>
  78. <view class="mmain-time">入场时间:9:30-13:53</view>
  79. <view class="mmain-time flex">
  80. <view class="mmain-font">距预约结束:</view>
  81. <view class="lyy-b-jz flex">
  82. <uni-countdowns
  83. color="#FFFFFF"
  84. splitor-color="#4166FC"
  85. background-color="#4166FC"
  86. border-color="#4166FC"
  87. :show-day="false"
  88. :hour="stopTime.stopTimeH"
  89. :minute="stopTime.stopTimeM"
  90. :second="stopTime.stopTimeS"
  91. ></uni-countdowns>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="mmain-image"><image src="../../static/img/evening.png" mode=""></image></view>
  96. </view>
  97. <view class="bottom" @click="open()">
  98. <view class="bottom-font">立即预约</view>
  99. <image class="bottom-image" src="../../static/img/jt.png" mode=""></image>
  100. </view>
  101. </view>
  102. <uni-popup ref="popup" type="center">
  103. <view class="popup">
  104. <view class="popup-title">是否立即预约?</view>
  105. <view class="btn-box">
  106. <view class="btn-left" @click="close()">取消</view>
  107. <view class="btn-right" @click="close()">确定</view>
  108. </view>
  109. </view>
  110. </uni-popup>
  111. </view>
  112. </template>
  113. <script>
  114. import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
  115. export default {
  116. components: {
  117. uniCountdowns
  118. },
  119. data() {
  120. return {
  121. // 倒计时
  122. stopTime: {
  123. stopTimeH: 1,
  124. stopTimeM: 1,
  125. stopTimeS: 1
  126. }
  127. };
  128. },
  129. methods: {
  130. open() {
  131. this.$refs.popup.open();
  132. },
  133. close() {
  134. this.$refs.popup.close();
  135. },
  136. nav(url) {
  137. uni.navigateTo({
  138. url
  139. })
  140. },
  141. toBack() {
  142. uni.navigateBack({
  143. })
  144. }
  145. }
  146. };
  147. </script>
  148. <style lang="less">
  149. page,
  150. .center {
  151. height: auto;
  152. min-height: 100%;
  153. background: #f2f5f4;
  154. }
  155. .money-box {
  156. color: #ffffff;
  157. text-align: center;
  158. position: relative;
  159. .header {
  160. position: absolute;
  161. left: 0;
  162. top: 0;
  163. width: 100%;
  164. height: 80rpx;
  165. font-size: 32rpx;
  166. font-weight: 700;
  167. z-index: 99;
  168. display: flex;
  169. justify-content: center;
  170. align-items: center;
  171. }
  172. .goback-box {
  173. position: absolute;
  174. left: 18rpx;
  175. top: 0;
  176. height: 80rpx;
  177. display: flex;
  178. align-items: center;
  179. }
  180. .goback {
  181. z-index: 100;
  182. width: 34rpx;
  183. height: 34rpx;
  184. }
  185. .money_bg {
  186. width: 100%;
  187. height: 480rpx;
  188. display: block;
  189. }
  190. .message {
  191. justify-content: space-around;
  192. position: absolute;
  193. top: 270rpx;
  194. left: 0;
  195. right: 0;
  196. margin: 0 auto;
  197. padding: 16rpx 40rpx 16rpx 50rpx;
  198. width: 690rpx;
  199. background: #ffffff;
  200. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  201. border-radius: 20rpx;
  202. .message-left {
  203. width: 52rpx;
  204. height: 52rpx;
  205. flex-shrink: 0;
  206. }
  207. .message-font {
  208. margin: 0 40rpx;
  209. font-size: 28rpx;
  210. font-family: PingFang SC;
  211. font-weight: 500;
  212. color: #0c1732;
  213. }
  214. .message-right {
  215. width: 18rpx;
  216. height: 30rpx;
  217. }
  218. }
  219. }
  220. .shingle-mmain {
  221. position: relative;
  222. z-index: 2;
  223. margin: -90rpx auto 0;
  224. width: 690rpx;
  225. height: 176rpx;
  226. background: #ffffff;
  227. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  228. border-radius: 20rpx;
  229. background-color: #ffffff;
  230. .smmain-item {
  231. width: 33%;
  232. display: flex;
  233. flex-direction: column;
  234. align-items: center;
  235. .red {
  236. color: #fd3b39 !important;
  237. }
  238. .smitem-top {
  239. font-size: 30rpx;
  240. font-family: PingFang SC;
  241. font-weight: bolder;
  242. color: #0c1732;
  243. }
  244. .smitem-bottom {
  245. margin-top: 10rpx;
  246. font-size: 30rpx;
  247. font-family: PingFang SC;
  248. font-weight: 500;
  249. color: #0c1732;
  250. }
  251. .people {
  252. justify-content: center;
  253. .peopleitem {
  254. width: 24rpx;
  255. height: 34rpx;
  256. image {
  257. width: 100%;
  258. height: 100%;
  259. }
  260. }
  261. }
  262. }
  263. .shu {
  264. width: 2rpx;
  265. height: 70rpx;
  266. background: #dcdcdc;
  267. }
  268. }
  269. .main {
  270. margin: 30rpx auto 0;
  271. padding: 50rpx 50rpx 36rpx 50rpx;
  272. width: 690rpx;
  273. background: #ffffff;
  274. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  275. border-radius: 20rpx;
  276. .mtitle-english {
  277. font-size: 30rpx;
  278. font-family: PingFang SC;
  279. font-weight: bold;
  280. color: #9ea6ba;
  281. }
  282. .mmain {
  283. margin-top: 24rpx;
  284. .mmain-info {
  285. .mmain-title {
  286. display: flex;
  287. justify-content: flex-start;
  288. align-items: center;
  289. .mmaint-left {
  290. width: 52rpx;
  291. height: 40rpx;
  292. }
  293. .mmaint-font {
  294. margin-left: 10rpx;
  295. font-size: 32rpx;
  296. font-family: PingFang SC;
  297. font-weight: bold;
  298. color: #0c1732;
  299. }
  300. .mmaint-time {
  301. margin-left: 20rpx;
  302. font-size: 28rpx;
  303. font-family: PingFang SC;
  304. font-weight: 500;
  305. color: #0c1732;
  306. }
  307. }
  308. .mmain-time {
  309. margin-top: 10rpx;
  310. font-size: 26rpx;
  311. font-family: PingFang SC;
  312. font-weight: 500;
  313. color: #0c1732;
  314. .lyy-b-jz {
  315. margin-left: 10rpx;
  316. }
  317. }
  318. }
  319. .mmain-image {
  320. padding-top: 14rpx;
  321. width: 182rpx;
  322. height: 182rpx;
  323. image {
  324. width: 100%;
  325. height: 100%;
  326. }
  327. }
  328. }
  329. .bottom {
  330. margin-top: 32rpx;
  331. width: 380rpx;
  332. height: 64rpx;
  333. background: #375afe;
  334. border-radius: 20rpx;
  335. display: flex;
  336. justify-content: center;
  337. align-items: center;
  338. .bottom-font {
  339. font-size: 28rpx;
  340. font-family: PingFang SC;
  341. font-weight: bold;
  342. color: #ffffff;
  343. }
  344. .bottom-image {
  345. margin-left: 12rpx;
  346. width: 24rpx;
  347. height: 22rpx;
  348. }
  349. }
  350. }
  351. .popup {
  352. width: 582rpx;
  353. height: 378rpx;
  354. background: #ffffff;
  355. border-radius: 20rpx;
  356. padding-top: 118rpx;
  357. .popup-title {
  358. text-align: center;
  359. font-size: 42rpx;
  360. font-family: PingFang SC;
  361. font-weight: 500;
  362. color: #0c1732;
  363. }
  364. .btn-box {
  365. padding: 90rpx 30rpx 0;
  366. display: flex;
  367. align-items: center;
  368. justify-content: space-between;
  369. .btn-left {
  370. width: 248rpx;
  371. height: 78rpx;
  372. border: 2rpx solid #4166fc;
  373. border-radius: 10rpx;
  374. font-size: 34rpx;
  375. font-family: PingFang SC;
  376. font-weight: 500;
  377. color: #4166fc;
  378. text-align: center;
  379. line-height: 78rpx;
  380. }
  381. .btn-right {
  382. width: 248rpx;
  383. height: 78rpx;
  384. background: linear-gradient(0deg, rgba(60, 237, 237, 0.99), #04b8ff, #375afe);
  385. border-radius: 10rpx;
  386. font-size: 34rpx;
  387. font-family: PingFang SC;
  388. font-weight: 500;
  389. color: #ffffff;
  390. text-align: center;
  391. line-height: 78rpx;
  392. }
  393. }
  394. }
  395. </style>