orderDetail.vue 19 KB

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