orderDetail.vue 19 KB

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