orderDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. <template>
  2. <view class="container" v-if="info">
  3. <!-- 顶部订单状态信息区域 -->
  4. <view class="header">
  5. <!-- 背景图片区域 -->
  6. <img src="https://chtech.ncjti.edu.cn/hotelReservation/image/18.png" />
  7. <!-- 标题区域 -->
  8. <view class="header_title" :style="{ height: customBarH * 2 + 'rpx', paddingTop: statusBarH * 2 + 'rpx' }">订单详情</view>
  9. <!-- 返回图标区域 -->
  10. <view class="header_icon" :style="{ height: customBarH * 2 + 'rpx', paddingTop: statusBarH * 2 + 'rpx' }" @click="handleBack">
  11. <img src="../../static/index/left.png" />
  12. </view>
  13. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '1'">待支付</view>
  14. <view class="header_time" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '1'">
  15. 剩余
  16. <uv-count-down v-if="info.countDownTime" :time="info.countDownTime" format="mm:ss" @finish="finish(info)"></uv-count-down>
  17. </view>
  18. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '1'">超时后,订单将会自动取消</view>
  19. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '2'">已支付</view>
  20. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '2'">订单已支付,请等待商家接单</view>
  21. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '3'">待入住</view>
  22. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '3'">订单已被商家接单,请前往办理入住</view>
  23. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '4'">已入住</view>
  24. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '4'">订单已办理入住</view>
  25. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '5'">已消费</view>
  26. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '5'">您的订单已消费,期待您再次预定哦</view>
  27. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '6'">支付超时</view>
  28. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '6'">订单已超过可支付时间,请重新下单</view>
  29. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '7'">已取消</view>
  30. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '7'">订单已取消,请重新下单</view>
  31. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '8'">已退单</view>
  32. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '8'">订单已被商家退单,请重新下单</view>
  33. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '9'">已退款</view>
  34. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '9'">订单已被商家退款</view>
  35. <view class="header_type" :style="{ paddingTop: statusBarH * 2 + 72 + 'rpx' }" v-if="info.orderStatus === '10'">退款中</view>
  36. <view class="header_info" :style="{ paddingTop: statusBarH * 2 + 145 + 'rpx' }" v-if="info.orderStatus === '10'">正在退款中...</view>
  37. <view class="header_btn" :style="{ paddingTop: statusBarH * 2 + 200 + 'rpx' }">
  38. <view class="btn_box" v-if="info.orderStatus === '1'" @click="handlePay">去支付 ¥{{ info.houseTotalPrice }}</view>
  39. <!-- hotelIsCanorder 1可取消,0不可 -->
  40. <view class="btn_box" v-if="(info.orderStatus === '2' || info.orderStatus === '3') && info.hotelIsCanorder === '1'" @click="handleCancel">取消订单</view>
  41. <view class="btn_box" v-if="info.orderStatus * 1 > 3" @click="handleAgain">再次预定</view>
  42. <view
  43. class="btn_box"
  44. @click="handleDelete"
  45. v-if="
  46. info.orderStatus === '1' ||
  47. info.orderStatus === '5' ||
  48. info.orderStatus === '6' ||
  49. info.orderStatus === '7' ||
  50. info.orderStatus === '8' ||
  51. info.orderStatus === '9'
  52. "
  53. >
  54. 删除订单
  55. </view>
  56. </view>
  57. </view>
  58. <!-- 主体内容区域 -->
  59. <view class="body">
  60. <!-- 费用信息区域 -->
  61. <view class="body_box">
  62. <view class="box_title">费用信息</view>
  63. <view class="box_container">
  64. <view class="container_key">在线支付</view>
  65. <view class="container_value price">¥{{ info.houseTotalPrice }}</view>
  66. </view>
  67. <view class="box_container">
  68. <view class="container_key">发票报销</view>
  69. <view class="container_value">如需发票,请先与酒店确认</view>
  70. </view>
  71. </view>
  72. <!-- 民宿信息区域 -->
  73. <view class="body_box">
  74. <view class="box_info">
  75. <img mode="aspectFill" :src="info.houseFileInfoList[0].url" />
  76. <view class="info_msg">
  77. <view class="msg_name">{{ info.hotelName }}</view>
  78. <view class="msg_address">{{ info.hotelHposition }}</view>
  79. </view>
  80. </view>
  81. <view class="box_btn">
  82. <view class="btn_item" @click="handleMap">
  83. <img class="img" src="../../static/my/map.png" />
  84. 地图/导航
  85. </view>
  86. <view class="btn_item" @click="handlePhone(info.hotelPhone)">
  87. <img class="img2" src="../../static/my/phone.png" />
  88. 联系商家
  89. </view>
  90. </view>
  91. </view>
  92. <!-- 房型信息和用户信息区域 -->
  93. <view class="body_box2">
  94. <view class="info_time">
  95. {{ (info.orderStartTime || '').slice(5, 7) }}月{{ (info.orderStartTime || '').slice(8, 10) }}日
  96. <view class="time_line"></view>
  97. <view class="time_num">{{ info.orderLiveTime }}</view>
  98. <view class="time_line"></view>
  99. <view class="gap">{{ (info.orderEndTime || '').slice(5, 7) }}月{{ (info.orderEndTime || '').slice(8, 10) }}日</view>
  100. </view>
  101. <view class="info_msg">{{ info.houseName }}</view>
  102. <view class="info_type">
  103. <view class="type_item">普通型</view>
  104. </view>
  105. <view class="info_tag">
  106. <view class="tag_item" v-if="info.houseAreas">{{ info.houseAreas }}㎡</view>
  107. <view class="tag_item" v-for="tag in info.houseConfigList" :key="tag.id">{{ tag.name }}</view>
  108. </view>
  109. <view class="info_box">
  110. <view class="box_key">住客姓名</view>
  111. <view class="box_value">{{ info.userName }}</view>
  112. </view>
  113. <view class="info_box">
  114. <view class="box_key">联系电话</view>
  115. <view class="box_value">{{ info.userPhone }}</view>
  116. </view>
  117. <view class="info_box">
  118. <view class="box_key">预计到店</view>
  119. <view class="box_value">7月26日14:00之前</view>
  120. </view>
  121. </view>
  122. <!-- 订单信息区域 -->
  123. <view class="body_box">
  124. <view class="box_title">订单信息</view>
  125. <view class="box_container">
  126. <view class="container_key">订单号</view>
  127. <view class="container_value">{{ info.orderNum }}</view>
  128. <view class="container_copy" @click="handleCopy(info.orderNum)">复制</view>
  129. </view>
  130. <view class="box_container">
  131. <view class="container_key">下单时间</view>
  132. <view class="container_value">{{ (info.createTime || '').slice(0, 19) }}</view>
  133. </view>
  134. </view>
  135. <!-- 投诉 服务热线区域 -->
  136. <view class="body_box3">
  137. <view class="box" @click="handleGoPage">
  138. <img src="../../static/index/1.png" />
  139. 我要投诉
  140. </view>
  141. <!-- @click="handlePhone('18320846714')" -->
  142. <view class="box">
  143. <img src="../../static/index/2.png" />
  144. 服务热线
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. </template>
  150. <script>
  151. export default {
  152. data() {
  153. return {
  154. // 详细信息
  155. info: null,
  156. // 订单ID
  157. id: '',
  158. // 距离差
  159. distance: '',
  160. // 状态栏高度
  161. statusBarH: 0,
  162. // 胶囊按钮栏高度
  163. customBarH: 0
  164. }
  165. },
  166. onLoad(options) {
  167. this.id = options.id
  168. this.distance = options.distance
  169. this.getData()
  170. },
  171. created() {
  172. // 获取系统信息
  173. uni.getSystemInfo({
  174. success: (e) => {
  175. // 获取状态栏高度
  176. this.statusBarH = e.statusBarHeight + 10
  177. // // 获取菜单按钮栏高度
  178. let custom = uni.getMenuButtonBoundingClientRect()
  179. this.customBarH = custom.height + 10
  180. }
  181. })
  182. },
  183. methods: {
  184. // 获取订单信息
  185. async getData() {
  186. const res = await this.$myRequest({
  187. url: '/mhotel/ampgetBookingById.action',
  188. data: {
  189. bookingId: this.id
  190. }
  191. })
  192. // console.log(res)
  193. if (res.code === 200) {
  194. this.info = res.data
  195. // 计算出倒计时时间(毫秒)
  196. let temLockTime = this.info.lockTime ? this.info.lockTime * 1 : 15
  197. // 兼容ios部分系统转换时间格式
  198. let createTime = this.info.createTime.slice(0, 19).replace(/-/g, '/')
  199. this.info.countDownTime = new Date(createTime).getTime() + temLockTime * 60 * 1000 - new Date().getTime()
  200. }
  201. },
  202. // 点击复制文字回调
  203. handleCopy(text) {
  204. uni.setClipboardData({
  205. data: text,
  206. success: () => {}
  207. })
  208. },
  209. handleBack() {
  210. uni.navigateBack(1)
  211. },
  212. // 点击地图/导航文字回调
  213. handleMap() {
  214. uni.getSetting({
  215. success: (res) => {
  216. if (res.authSetting['scope.userLocation']) {
  217. let lat = this.info.hotelHpositionWens.split(',')[0] * 1
  218. let lng = this.info.hotelHpositionWens.split(',')[1] * 1
  219. uni.openLocation({
  220. latitude: lat,
  221. longitude: lng,
  222. name: this.info.hotelName,
  223. address: this.info.hotelHposition,
  224. success: () => {}
  225. })
  226. } else {
  227. uni.showModal({
  228. content: '当前没有定位权限,是否去设置打开?',
  229. confirmText: '确认',
  230. cancelText: '取消',
  231. success: (res) => {
  232. if (res.confirm) {
  233. uni.openSetting({
  234. success: (res) => {
  235. this.handleMap()
  236. }
  237. })
  238. } else {
  239. uni.showToast({
  240. title: '获取定位权限失败',
  241. icon: 'none',
  242. mask: true
  243. })
  244. }
  245. }
  246. })
  247. }
  248. }
  249. })
  250. },
  251. // 点击联系商家文字回调
  252. handlePhone(phone) {
  253. uni.makePhoneCall({
  254. phoneNumber: phone
  255. })
  256. },
  257. // 点击去支付按钮回调
  258. handlePay() {
  259. uni.navigateTo({
  260. url: `/pages/pay/pay?id=${this.id}`
  261. })
  262. },
  263. // 点击取消订单按钮回调
  264. handleCancel() {
  265. uni.showModal({
  266. title: '提示',
  267. content: '确定取消该订单吗?',
  268. success: async (res) => {
  269. if (res.confirm) {
  270. const result = await this.$myRequest({
  271. url: '/mhotel/abkcancelBooking.action',
  272. data: {
  273. bookingId: this.info.id,
  274. open_id: uni.getStorageSync('openid')
  275. }
  276. })
  277. if (result.code === 200) {
  278. uni.showToast({
  279. title: '取消成功,' + result.message,
  280. icon: 'none',
  281. mask: true
  282. })
  283. setTimeout(() => {
  284. uni.navigateBack(1)
  285. }, 1500)
  286. }
  287. }
  288. }
  289. })
  290. },
  291. // 点击再次预定按钮回调
  292. handleAgain() {
  293. uni.navigateTo({
  294. url: `/pages/detail/detail?id=${this.info.hotelId}&distance=${this.distance}`
  295. })
  296. // if (this.info.hstatus === 1 && this.info.hotelStatus === 1) {
  297. // uni.showModal({
  298. // title: '提示',
  299. // content: '确定再次预定吗?',
  300. // success: async (res) => {
  301. // if (res.confirm) {
  302. // const result = await this.$myRequest({
  303. // url: '/mhotel/abkcreateOrder.action',
  304. // data: {
  305. // houseId: this.info.houseId,
  306. // startTime: this.info.orderStartTime.slice(0, 10),
  307. // endTime: this.info.orderEndTime.slice(0, 10),
  308. // houseOrderNumber: this.info.houseOrderNumber,
  309. // userName: this.info.userName,
  310. // userPhone: this.info.userPhone,
  311. // userId: uni.getStorageSync('userInfo').id
  312. // }
  313. // })
  314. // if (result.code === 200) {
  315. // uni.navigateTo({
  316. // url: `/pages/pay/pay?id=${result.data}`
  317. // })
  318. // }
  319. // }
  320. // }
  321. // })
  322. // } else {
  323. // uni.showToast({
  324. // title: '该民宿暂时无法预定',
  325. // icon: 'none',
  326. // mask: true
  327. // })
  328. // }
  329. },
  330. // 点击删除订单按钮回调
  331. handleDelete() {
  332. uni.showModal({
  333. title: '提示',
  334. content: '确定删除该订单吗?',
  335. success: async (res) => {
  336. if (res.confirm) {
  337. const result = await this.$myRequest({
  338. url: '/mhotel/abkdelBooking.action',
  339. data: {
  340. bookingId: this.info.id,
  341. open_id: uni.getStorageSync('openid')
  342. }
  343. })
  344. if (result.code === 200) {
  345. uni.showToast({
  346. title: '删除成功',
  347. icon: 'success',
  348. mask: true
  349. })
  350. setTimeout(() => {
  351. uni.navigateBack(1)
  352. }, 1500)
  353. }
  354. }
  355. }
  356. })
  357. },
  358. // 倒计时结束回调
  359. async finish(item) {
  360. const res = await this.$myRequest({
  361. url: '/mhotel/abkupdateOrderStatus.action',
  362. data: {
  363. bookingId: item.id
  364. }
  365. })
  366. // console.log(res)
  367. if (res.code === 200) {
  368. item.orderStatus = '6'
  369. }
  370. },
  371. handleGoPage() {
  372. uni.showToast({
  373. title: '功能开发中',
  374. icon: 'none'
  375. })
  376. // uni.navigateTo({
  377. // url: `/pages/complaint/complaint`
  378. // })
  379. }
  380. }
  381. }
  382. </script>
  383. <style lang="scss" scoped>
  384. .container {
  385. position: relative;
  386. height: 100vh;
  387. background-color: #f2f2f2;
  388. .header {
  389. height: 480rpx;
  390. color: #fff;
  391. img {
  392. width: 100%;
  393. }
  394. .header_title {
  395. position: absolute;
  396. top: 0;
  397. left: 308rpx;
  398. color: #fff;
  399. font-size: 28rpx;
  400. }
  401. .header_icon {
  402. z-index: 2;
  403. position: absolute;
  404. top: 0;
  405. left: 10rpx;
  406. width: 47rpx;
  407. img {
  408. width: 47rpx;
  409. height: 47rpx;
  410. }
  411. }
  412. .header_type {
  413. position: absolute;
  414. top: 0;
  415. left: 30rpx;
  416. font-size: 40rpx;
  417. font-weight: bold;
  418. }
  419. .header_time {
  420. position: absolute;
  421. top: 0;
  422. left: 530rpx;
  423. display: flex;
  424. align-items: center;
  425. font-size: 30rpx;
  426. font-weight: bold;
  427. }
  428. .header_info {
  429. position: absolute;
  430. top: 0;
  431. left: 30rpx;
  432. font-size: 24rpx;
  433. }
  434. .header_btn {
  435. position: absolute;
  436. top: 0;
  437. left: 30rpx;
  438. right: 30rpx;
  439. display: flex;
  440. justify-content: space-between;
  441. .btn_box {
  442. display: flex;
  443. justify-content: center;
  444. align-items: center;
  445. width: 335rpx;
  446. height: 72rpx;
  447. border-radius: 10rpx;
  448. color: #096562;
  449. font-size: 28rpx;
  450. background-color: #fff;
  451. }
  452. }
  453. }
  454. .body {
  455. position: absolute;
  456. top: 430rpx;
  457. left: 0;
  458. right: 0;
  459. box-sizing: border-box;
  460. padding: 20rpx;
  461. height: calc(100vh - 430rpx);
  462. border-radius: 20rpx 20rpx 0 0;
  463. background-color: #ebeced;
  464. overflow-y: auto;
  465. .body_box {
  466. box-sizing: border-box;
  467. padding: 0 30rpx;
  468. margin-bottom: 20rpx;
  469. display: flex;
  470. flex-direction: column;
  471. height: 240rpx;
  472. border-radius: 14rpx;
  473. background-color: #fff;
  474. .box_title {
  475. line-height: 90rpx;
  476. font-size: 28rpx;
  477. font-weight: bold;
  478. border-bottom: 1rpx solid #e5e5e5;
  479. }
  480. .box_container {
  481. display: flex;
  482. margin-top: 25rpx;
  483. font-size: 28rpx;
  484. .container_key {
  485. width: 160rpx;
  486. color: #808080;
  487. }
  488. .container_value {
  489. }
  490. .container_copy {
  491. margin-left: auto;
  492. color: #096562;
  493. }
  494. .price {
  495. color: #ff5733;
  496. }
  497. }
  498. .box_info {
  499. display: flex;
  500. margin-top: 20rpx;
  501. height: 130rpx;
  502. img {
  503. width: 100rpx;
  504. height: 100rpx;
  505. border-radius: 10rpx;
  506. }
  507. .info_msg {
  508. display: flex;
  509. flex-direction: column;
  510. justify-content: space-around;
  511. margin-top: -10rpx;
  512. margin-left: 18rpx;
  513. width: 540rpx;
  514. .msg_name {
  515. font-size: 28rpx;
  516. font-weight: bold;
  517. }
  518. .msg_address {
  519. color: #808080;
  520. font-size: 24rpx;
  521. display: -webkit-box;
  522. -webkit-box-orient: vertical;
  523. -webkit-line-clamp: 2;
  524. overflow: hidden;
  525. }
  526. }
  527. }
  528. .box_btn {
  529. display: flex;
  530. justify-content: space-around;
  531. align-items: center;
  532. height: 110rpx;
  533. .btn_item {
  534. display: flex;
  535. align-items: center;
  536. width: 220rpx;
  537. .img {
  538. margin-right: 14rpx;
  539. width: 38rpx;
  540. height: 38rpx;
  541. }
  542. .img2 {
  543. width: 66rpx;
  544. height: 66rpx;
  545. }
  546. }
  547. }
  548. }
  549. .body_box2 {
  550. display: flex;
  551. flex-direction: column;
  552. box-sizing: border-box;
  553. padding: 0 30rpx;
  554. margin-bottom: 20rpx;
  555. height: 478rpx;
  556. border-radius: 15rpx;
  557. background-color: #fff;
  558. .info_time {
  559. display: flex;
  560. align-items: center;
  561. margin-top: 20rpx;
  562. font-size: 32rpx;
  563. font-weight: bold;
  564. .time_line {
  565. width: 17rpx;
  566. height: 1rpx;
  567. background-color: #096562;
  568. }
  569. .time_num {
  570. box-sizing: border-box;
  571. padding: 0 15rpx;
  572. height: 46rpx;
  573. line-height: 46rpx;
  574. font-size: 24rpx;
  575. font-weight: 400;
  576. border-radius: 66rpx;
  577. border: 1rpx solid #096562;
  578. background-color: #f0f2f5;
  579. }
  580. .gap {
  581. margin: 0 10rpx;
  582. }
  583. text {
  584. font-size: 24rpx;
  585. font-weight: 400;
  586. }
  587. }
  588. .info_msg {
  589. margin-top: 15rpx;
  590. font-size: 28rpx;
  591. font-weight: bold;
  592. }
  593. .info_type {
  594. display: flex;
  595. flex-wrap: wrap;
  596. margin-top: 15rpx;
  597. .type_item {
  598. box-sizing: border-box;
  599. padding: 0 15rpx;
  600. margin-right: 20rpx;
  601. height: 41rpx;
  602. line-height: 41rpx;
  603. font-size: 24rpx;
  604. color: #fff;
  605. border-radius: 34rpx;
  606. background-color: #096562;
  607. }
  608. }
  609. .info_tag {
  610. display: flex;
  611. flex-wrap: wrap;
  612. margin: 18rpx 0 0;
  613. box-sizing: border-box;
  614. padding-bottom: 30rpx;
  615. color: #808080;
  616. font-size: 24rpx;
  617. border-bottom: 1rpx solid #e5e5e5;
  618. .tag_item {
  619. margin-right: 20rpx;
  620. }
  621. }
  622. .info_box {
  623. display: flex;
  624. margin-top: 23rpx;
  625. font-size: 28rpx;
  626. .box_key {
  627. width: 160rpx;
  628. color: #808080;
  629. }
  630. .box_value {
  631. }
  632. }
  633. }
  634. .body_box3 {
  635. display: flex;
  636. align-items: center;
  637. justify-content: space-around;
  638. box-sizing: border-box;
  639. padding: 0 110rpx;
  640. height: 95rpx;
  641. border-radius: 14rpx;
  642. background-color: #fff;
  643. .box {
  644. display: flex;
  645. align-items: center;
  646. color: #096562;
  647. font-size: 28rpx;
  648. img {
  649. width: 36rpx;
  650. height: 36rpx;
  651. }
  652. }
  653. }
  654. }
  655. }
  656. // 修改倒计时字体颜色
  657. ::v-deep .uv-count-down .uv-count-down__text {
  658. color: #fff;
  659. }
  660. </style>