orderDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  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.navigateTo({
  373. url: `/pages/complaint/complaint?bookingId=${this.info.id}&hotelId=${this.info.hotelId}&houseId=${this.info.houseId}`
  374. })
  375. }
  376. }
  377. }
  378. </script>
  379. <style lang="scss" scoped>
  380. .container {
  381. position: relative;
  382. height: 100vh;
  383. background-color: #f2f2f2;
  384. .header {
  385. height: 480rpx;
  386. color: #fff;
  387. img {
  388. width: 100%;
  389. }
  390. .header_title {
  391. position: absolute;
  392. top: 0;
  393. left: 308rpx;
  394. color: #fff;
  395. font-size: 28rpx;
  396. }
  397. .header_icon {
  398. z-index: 2;
  399. position: absolute;
  400. top: 0;
  401. left: 10rpx;
  402. width: 47rpx;
  403. img {
  404. width: 47rpx;
  405. height: 47rpx;
  406. }
  407. }
  408. .header_type {
  409. position: absolute;
  410. top: 0;
  411. left: 30rpx;
  412. font-size: 40rpx;
  413. font-weight: bold;
  414. }
  415. .header_time {
  416. position: absolute;
  417. top: 0;
  418. left: 530rpx;
  419. display: flex;
  420. align-items: center;
  421. font-size: 30rpx;
  422. font-weight: bold;
  423. }
  424. .header_info {
  425. position: absolute;
  426. top: 0;
  427. left: 30rpx;
  428. font-size: 24rpx;
  429. }
  430. .header_btn {
  431. position: absolute;
  432. top: 0;
  433. left: 30rpx;
  434. right: 30rpx;
  435. display: flex;
  436. justify-content: space-between;
  437. .btn_box {
  438. display: flex;
  439. justify-content: center;
  440. align-items: center;
  441. width: 335rpx;
  442. height: 72rpx;
  443. border-radius: 10rpx;
  444. color: #096562;
  445. font-size: 28rpx;
  446. background-color: #fff;
  447. }
  448. }
  449. }
  450. .body {
  451. position: absolute;
  452. top: 430rpx;
  453. left: 0;
  454. right: 0;
  455. box-sizing: border-box;
  456. padding: 20rpx;
  457. height: calc(100vh - 430rpx);
  458. border-radius: 20rpx 20rpx 0 0;
  459. background-color: #ebeced;
  460. overflow-y: auto;
  461. .body_box {
  462. box-sizing: border-box;
  463. padding: 0 30rpx;
  464. margin-bottom: 20rpx;
  465. display: flex;
  466. flex-direction: column;
  467. height: 240rpx;
  468. border-radius: 14rpx;
  469. background-color: #fff;
  470. .box_title {
  471. line-height: 90rpx;
  472. font-size: 28rpx;
  473. font-weight: bold;
  474. border-bottom: 1rpx solid #e5e5e5;
  475. }
  476. .box_container {
  477. display: flex;
  478. margin-top: 25rpx;
  479. font-size: 28rpx;
  480. .container_key {
  481. width: 160rpx;
  482. color: #808080;
  483. }
  484. .container_value {
  485. }
  486. .container_copy {
  487. margin-left: auto;
  488. color: #096562;
  489. }
  490. .price {
  491. color: #ff5733;
  492. }
  493. }
  494. .box_info {
  495. display: flex;
  496. margin-top: 20rpx;
  497. height: 130rpx;
  498. img {
  499. width: 100rpx;
  500. height: 100rpx;
  501. border-radius: 10rpx;
  502. }
  503. .info_msg {
  504. display: flex;
  505. flex-direction: column;
  506. justify-content: space-around;
  507. margin-top: -10rpx;
  508. margin-left: 18rpx;
  509. width: 540rpx;
  510. .msg_name {
  511. font-size: 28rpx;
  512. font-weight: bold;
  513. }
  514. .msg_address {
  515. color: #808080;
  516. font-size: 24rpx;
  517. display: -webkit-box;
  518. -webkit-box-orient: vertical;
  519. -webkit-line-clamp: 2;
  520. overflow: hidden;
  521. }
  522. }
  523. }
  524. .box_btn {
  525. display: flex;
  526. justify-content: space-around;
  527. align-items: center;
  528. height: 110rpx;
  529. .btn_item {
  530. display: flex;
  531. align-items: center;
  532. width: 220rpx;
  533. .img {
  534. margin-right: 14rpx;
  535. width: 38rpx;
  536. height: 38rpx;
  537. }
  538. .img2 {
  539. width: 66rpx;
  540. height: 66rpx;
  541. }
  542. }
  543. }
  544. }
  545. .body_box2 {
  546. display: flex;
  547. flex-direction: column;
  548. box-sizing: border-box;
  549. padding: 0 30rpx;
  550. margin-bottom: 20rpx;
  551. height: 478rpx;
  552. border-radius: 15rpx;
  553. background-color: #fff;
  554. .info_time {
  555. display: flex;
  556. align-items: center;
  557. margin-top: 20rpx;
  558. font-size: 32rpx;
  559. font-weight: bold;
  560. .time_line {
  561. width: 17rpx;
  562. height: 1rpx;
  563. background-color: #096562;
  564. }
  565. .time_num {
  566. box-sizing: border-box;
  567. padding: 0 15rpx;
  568. height: 46rpx;
  569. line-height: 46rpx;
  570. font-size: 24rpx;
  571. font-weight: 400;
  572. border-radius: 66rpx;
  573. border: 1rpx solid #096562;
  574. background-color: #f0f2f5;
  575. }
  576. .gap {
  577. margin: 0 10rpx;
  578. }
  579. text {
  580. font-size: 24rpx;
  581. font-weight: 400;
  582. }
  583. }
  584. .info_msg {
  585. margin-top: 15rpx;
  586. font-size: 28rpx;
  587. font-weight: bold;
  588. }
  589. .info_type {
  590. display: flex;
  591. flex-wrap: wrap;
  592. margin-top: 15rpx;
  593. .type_item {
  594. box-sizing: border-box;
  595. padding: 0 15rpx;
  596. margin-right: 20rpx;
  597. height: 41rpx;
  598. line-height: 41rpx;
  599. font-size: 24rpx;
  600. color: #fff;
  601. border-radius: 34rpx;
  602. background-color: #096562;
  603. }
  604. }
  605. .info_tag {
  606. display: flex;
  607. flex-wrap: wrap;
  608. margin: 18rpx 0 0;
  609. box-sizing: border-box;
  610. padding-bottom: 30rpx;
  611. color: #808080;
  612. font-size: 24rpx;
  613. border-bottom: 1rpx solid #e5e5e5;
  614. .tag_item {
  615. margin-right: 20rpx;
  616. }
  617. }
  618. .info_box {
  619. display: flex;
  620. margin-top: 23rpx;
  621. font-size: 28rpx;
  622. .box_key {
  623. width: 160rpx;
  624. color: #808080;
  625. }
  626. .box_value {
  627. }
  628. }
  629. }
  630. .body_box3 {
  631. display: flex;
  632. align-items: center;
  633. justify-content: space-around;
  634. box-sizing: border-box;
  635. padding: 0 110rpx;
  636. height: 95rpx;
  637. border-radius: 14rpx;
  638. background-color: #fff;
  639. .box {
  640. display: flex;
  641. align-items: center;
  642. color: #096562;
  643. font-size: 28rpx;
  644. img {
  645. width: 36rpx;
  646. height: 36rpx;
  647. }
  648. }
  649. }
  650. }
  651. }
  652. // 修改倒计时字体颜色
  653. ::v-deep .uv-count-down .uv-count-down__text {
  654. color: #fff;
  655. }
  656. </style>