orderDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. <template>
  2. <view class="container" v-if="info">
  3. <!-- 顶部订单状态信息区域 -->
  4. <view class="header">
  5. <!-- 背景图片区域 -->
  6. <img src="https://jinganminsu-1320402385.cos.ap-nanjing.myqcloud.com/static//20240523163442_12.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. goHome: null
  174. }
  175. },
  176. onLoad(options) {
  177. this.id = options.id
  178. this.distance = options.distance
  179. this.goHome = options.goHome
  180. this.getData()
  181. },
  182. onPageScroll(e) {
  183. if (e.scrollTop > 50) {
  184. this.headerType = true
  185. } else {
  186. this.headerType = false
  187. }
  188. },
  189. created() {
  190. // 获取系统信息
  191. uni.getSystemInfo({
  192. success: (e) => {
  193. // 获取状态栏高度
  194. this.statusBarH = e.statusBarHeight + 10
  195. // // 获取菜单按钮栏高度
  196. let custom = uni.getMenuButtonBoundingClientRect()
  197. this.customBarH = custom.height + 10
  198. }
  199. })
  200. },
  201. methods: {
  202. // 获取订单信息
  203. async getData() {
  204. const res = await this.$myRequest({
  205. url: '/mhotel/ampgetBookingById.action',
  206. data: {
  207. bookingId: this.id
  208. }
  209. })
  210. // console.log(res)
  211. if (res.code === 200) {
  212. this.info = res.data
  213. // 计算出倒计时时间(毫秒)
  214. let temLockTime = this.info.lockTime ? this.info.lockTime * 1 : 15
  215. // 兼容ios部分系统转换时间格式
  216. let createTime = this.info.createTime.slice(0, 19).replace(/-/g, '/')
  217. this.info.countDownTime = new Date(createTime).getTime() + temLockTime * 60 * 1000 - new Date().getTime()
  218. }
  219. },
  220. // 点击复制文字回调
  221. handleCopy(text) {
  222. uni.setClipboardData({
  223. data: text,
  224. success: () => {}
  225. })
  226. },
  227. handleBack() {
  228. if (this.goHome) {
  229. uni.switchTab({
  230. url: '/pages/home3/home3'
  231. })
  232. } else {
  233. uni.navigateBack(1)
  234. }
  235. },
  236. // 点击地图/导航文字回调
  237. handleMap() {
  238. uni.getSetting({
  239. success: (res) => {
  240. if (res.authSetting['scope.userLocation']) {
  241. let lat = this.info.hotelHpositionWens.split(',')[0] * 1
  242. let lng = this.info.hotelHpositionWens.split(',')[1] * 1
  243. uni.openLocation({
  244. latitude: lat,
  245. longitude: lng,
  246. name: this.info.hotelName,
  247. address: this.info.hotelHposition,
  248. success: () => {}
  249. })
  250. } else {
  251. uni.showModal({
  252. content: '当前没有定位权限,是否去设置打开?',
  253. confirmText: '确认',
  254. cancelText: '取消',
  255. success: (res) => {
  256. if (res.confirm) {
  257. uni.openSetting({
  258. success: (res) => {
  259. this.handleMap()
  260. }
  261. })
  262. } else {
  263. uni.showToast({
  264. title: '获取定位权限失败',
  265. icon: 'none',
  266. mask: true
  267. })
  268. }
  269. }
  270. })
  271. }
  272. }
  273. })
  274. },
  275. // 点击联系商家文字回调
  276. handlePhone(phone) {
  277. uni.makePhoneCall({
  278. phoneNumber: phone
  279. })
  280. },
  281. // 点击去支付按钮回调
  282. handlePay() {
  283. uni.navigateTo({
  284. url: `/pages/pay/pay?id=${this.id}`
  285. })
  286. },
  287. // 点击取消订单按钮回调
  288. handleCancel() {
  289. uni.showModal({
  290. title: '提示',
  291. content: '确定取消该订单吗?',
  292. success: async (res) => {
  293. if (res.confirm) {
  294. const result = await this.$myRequest({
  295. url: '/mhotel/abkcancelBooking.action',
  296. data: {
  297. bookingId: this.info.id,
  298. open_id: uni.getStorageSync('openid')
  299. }
  300. })
  301. if (result.code === 200) {
  302. uni.showToast({
  303. title: '取消成功,' + result.message,
  304. icon: 'none',
  305. mask: true
  306. })
  307. setTimeout(() => {
  308. uni.navigateBack(1)
  309. }, 1500)
  310. }
  311. }
  312. }
  313. })
  314. },
  315. // 点击再次预定按钮回调
  316. handleAgain() {
  317. uni.navigateTo({
  318. url: `/pages/detail/detail?id=${this.info.hotelId}&distance=${this.distance}&town=${this.info.hotelTownshipName}`
  319. })
  320. // if (this.info.hstatus === 1 && this.info.hotelStatus === 1) {
  321. // uni.showModal({
  322. // title: '提示',
  323. // content: '确定再次预定吗?',
  324. // success: async (res) => {
  325. // if (res.confirm) {
  326. // const result = await this.$myRequest({
  327. // url: '/mhotel/abkcreateOrder.action',
  328. // data: {
  329. // houseId: this.info.houseId,
  330. // startTime: this.info.orderStartTime.slice(0, 10),
  331. // endTime: this.info.orderEndTime.slice(0, 10),
  332. // houseOrderNumber: this.info.houseOrderNumber,
  333. // userName: this.info.userName,
  334. // userPhone: this.info.userPhone,
  335. // userId: uni.getStorageSync('userInfo').id
  336. // }
  337. // })
  338. // if (result.code === 200) {
  339. // uni.navigateTo({
  340. // url: `/pages/pay/pay?id=${result.data}`
  341. // })
  342. // }
  343. // }
  344. // }
  345. // })
  346. // } else {
  347. // uni.showToast({
  348. // title: '该民宿暂时无法预定',
  349. // icon: 'none',
  350. // mask: true
  351. // })
  352. // }
  353. },
  354. // 点击删除订单按钮回调
  355. handleDelete() {
  356. uni.showModal({
  357. title: '提示',
  358. content: '确定删除该订单吗?',
  359. success: async (res) => {
  360. if (res.confirm) {
  361. const result = await this.$myRequest({
  362. url: '/mhotel/abkdelBooking.action',
  363. data: {
  364. bookingId: this.info.id,
  365. open_id: uni.getStorageSync('openid')
  366. }
  367. })
  368. if (result.code === 200) {
  369. uni.showToast({
  370. title: '删除成功',
  371. icon: 'success',
  372. mask: true
  373. })
  374. setTimeout(() => {
  375. uni.navigateBack(1)
  376. }, 1500)
  377. }
  378. }
  379. }
  380. })
  381. },
  382. // 倒计时结束回调
  383. async finish(item) {
  384. const res = await this.$myRequest({
  385. url: '/mhotel/abkupdateOrderStatus.action',
  386. data: {
  387. bookingId: item.id
  388. }
  389. })
  390. // console.log(res)
  391. if (res.code === 200) {
  392. item.orderStatus = '6'
  393. }
  394. },
  395. handleGoPage() {
  396. uni.navigateTo({
  397. url: `/pagesSub/complaint/complaint?bookingId=${this.info.id}&hotelId=${this.info.hotelId}&houseId=${this.info.houseId}`
  398. })
  399. }
  400. }
  401. }
  402. </script>
  403. <style lang="scss" scoped>
  404. .container {
  405. position: relative;
  406. height: 100vh;
  407. background-color: #f2f2f2;
  408. .header {
  409. height: 480rpx;
  410. color: #fff;
  411. img {
  412. width: 100%;
  413. }
  414. .header_title {
  415. position: absolute;
  416. top: 0;
  417. left: 0;
  418. right: 0;
  419. color: #fff;
  420. font-size: 28rpx;
  421. text-align: center;
  422. }
  423. .header_title2 {
  424. z-index: 999;
  425. position: fixed;
  426. top: 0;
  427. left: 0;
  428. right: 0;
  429. color: #000;
  430. text-align: center;
  431. font-size: 28rpx;
  432. background-color: #fff;
  433. .icon {
  434. position: absolute;
  435. top: 0;
  436. left: 0;
  437. }
  438. img {
  439. width: 47rpx;
  440. height: 47rpx;
  441. }
  442. }
  443. .header_icon {
  444. z-index: 2;
  445. position: absolute;
  446. top: 0;
  447. left: 10rpx;
  448. width: 47rpx;
  449. img {
  450. width: 47rpx;
  451. height: 47rpx;
  452. }
  453. }
  454. .header_type {
  455. position: absolute;
  456. top: 0;
  457. left: 30rpx;
  458. font-size: 40rpx;
  459. font-weight: bold;
  460. }
  461. .header_time {
  462. position: absolute;
  463. top: 0;
  464. left: 530rpx;
  465. display: flex;
  466. align-items: center;
  467. font-size: 30rpx;
  468. font-weight: bold;
  469. }
  470. .header_info {
  471. position: absolute;
  472. top: 0;
  473. left: 30rpx;
  474. font-size: 24rpx;
  475. }
  476. .header_btn {
  477. position: absolute;
  478. top: 0;
  479. left: 30rpx;
  480. right: 30rpx;
  481. display: flex;
  482. justify-content: space-between;
  483. .btn_box {
  484. display: flex;
  485. justify-content: center;
  486. align-items: center;
  487. width: 335rpx;
  488. height: 72rpx;
  489. border-radius: 10rpx;
  490. color: #096562;
  491. font-size: 28rpx;
  492. background-color: #fff;
  493. }
  494. }
  495. }
  496. .body {
  497. position: absolute;
  498. top: 430rpx;
  499. left: 0;
  500. right: 0;
  501. box-sizing: border-box;
  502. padding: 20rpx 20rpx 30rpx;
  503. min-height: calc(100vh - 430rpx);
  504. border-radius: 20rpx 20rpx 0 0;
  505. background-color: #ebeced;
  506. // overflow-y: auto;
  507. .body_box {
  508. box-sizing: border-box;
  509. padding: 0 30rpx;
  510. margin-bottom: 20rpx;
  511. display: flex;
  512. flex-direction: column;
  513. height: 240rpx;
  514. border-radius: 14rpx;
  515. background-color: #fff;
  516. .box_title {
  517. line-height: 90rpx;
  518. font-size: 28rpx;
  519. font-weight: bold;
  520. border-bottom: 1rpx solid #e5e5e5;
  521. }
  522. .box_container {
  523. display: flex;
  524. margin-top: 25rpx;
  525. font-size: 28rpx;
  526. .container_key {
  527. width: 160rpx;
  528. color: #808080;
  529. }
  530. .container_value {
  531. }
  532. .container_copy {
  533. margin-left: auto;
  534. color: #096562;
  535. }
  536. .price {
  537. color: #ff5733;
  538. }
  539. }
  540. .box_info {
  541. display: flex;
  542. margin-top: 20rpx;
  543. height: 130rpx;
  544. img {
  545. width: 100rpx;
  546. height: 100rpx;
  547. border-radius: 10rpx;
  548. }
  549. .info_msg {
  550. display: flex;
  551. flex-direction: column;
  552. justify-content: space-around;
  553. margin-top: -10rpx;
  554. margin-left: 18rpx;
  555. width: 540rpx;
  556. .msg_name {
  557. font-size: 28rpx;
  558. font-weight: bold;
  559. }
  560. .msg_address {
  561. color: #808080;
  562. font-size: 24rpx;
  563. display: -webkit-box;
  564. -webkit-box-orient: vertical;
  565. -webkit-line-clamp: 2;
  566. overflow: hidden;
  567. }
  568. }
  569. }
  570. .box_btn {
  571. display: flex;
  572. justify-content: space-around;
  573. align-items: center;
  574. height: 110rpx;
  575. .btn_item {
  576. display: flex;
  577. align-items: center;
  578. width: 220rpx;
  579. .img {
  580. margin-right: 14rpx;
  581. width: 38rpx;
  582. height: 38rpx;
  583. }
  584. .img2 {
  585. width: 66rpx;
  586. height: 66rpx;
  587. }
  588. }
  589. }
  590. }
  591. .body_box2 {
  592. display: flex;
  593. flex-direction: column;
  594. box-sizing: border-box;
  595. padding: 0 30rpx;
  596. margin-bottom: 20rpx;
  597. height: 408rpx;
  598. border-radius: 15rpx;
  599. background-color: #fff;
  600. .info_time {
  601. display: flex;
  602. align-items: center;
  603. margin-top: 20rpx;
  604. font-size: 32rpx;
  605. font-weight: bold;
  606. .time_line {
  607. width: 17rpx;
  608. height: 1rpx;
  609. background-color: #096562;
  610. }
  611. .time_num {
  612. box-sizing: border-box;
  613. padding: 0 15rpx;
  614. height: 46rpx;
  615. line-height: 46rpx;
  616. font-size: 24rpx;
  617. font-weight: 400;
  618. border-radius: 66rpx;
  619. border: 1rpx solid #096562;
  620. background-color: #f0f2f5;
  621. }
  622. .gap {
  623. margin: 0 10rpx;
  624. }
  625. text {
  626. font-size: 24rpx;
  627. font-weight: 400;
  628. }
  629. }
  630. .info_msg {
  631. margin-top: 15rpx;
  632. font-size: 28rpx;
  633. font-weight: bold;
  634. }
  635. .info_type {
  636. display: flex;
  637. flex-wrap: wrap;
  638. margin-top: 15rpx;
  639. .type_item {
  640. box-sizing: border-box;
  641. padding: 0 15rpx;
  642. margin-right: 20rpx;
  643. height: 41rpx;
  644. line-height: 41rpx;
  645. font-size: 24rpx;
  646. color: #fff;
  647. border-radius: 34rpx;
  648. background-color: #096562;
  649. }
  650. }
  651. .info_tag {
  652. display: flex;
  653. flex-wrap: wrap;
  654. margin: 18rpx 0 0;
  655. box-sizing: border-box;
  656. padding-bottom: 30rpx;
  657. color: #808080;
  658. font-size: 24rpx;
  659. border-bottom: 1rpx solid #e5e5e5;
  660. .tag_item {
  661. margin-right: 20rpx;
  662. }
  663. }
  664. .info_box {
  665. display: flex;
  666. margin-top: 23rpx;
  667. font-size: 28rpx;
  668. .box_key {
  669. width: 160rpx;
  670. color: #808080;
  671. }
  672. .box_value {
  673. }
  674. }
  675. }
  676. .body_box3 {
  677. display: flex;
  678. align-items: center;
  679. justify-content: space-around;
  680. box-sizing: border-box;
  681. padding: 0 110rpx;
  682. height: 95rpx;
  683. border-radius: 14rpx;
  684. background-color: #fff;
  685. .box {
  686. display: flex;
  687. align-items: center;
  688. color: #096562;
  689. font-size: 28rpx;
  690. img {
  691. width: 36rpx;
  692. height: 36rpx;
  693. }
  694. }
  695. }
  696. }
  697. }
  698. // 修改倒计时字体颜色
  699. ::v-deep .uv-count-down .uv-count-down__text {
  700. color: #fff;
  701. }
  702. </style>