order-detail.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. <template>
  2. <view class="order-detail-page">
  3. <!-- 顶部状态栏 -->
  4. <view class="status-header">
  5. <view class="status-text" v-if="orderInfo.refundStatus == 3">已申请退款</view>
  6. <view class="status-text" v-else>{{ statusText }}</view>
  7. <view class="status-desc" v-if="orderInfo.status == '2'">
  8. 订单编号:{{ orderInfo.orderId }}
  9. <image src="/pages-mine/static/copy.png" class="copy-icon" @click="copyOrderNo" mode="aspectFit">
  10. </image>
  11. </view>
  12. <view class="status-desc" v-else-if="orderInfo.status == '3'">
  13. 订单编号:{{ orderInfo.orderId }}
  14. <image src="/pages-mine/static/copy.png" class="copy-icon" @click="copyOrderNo" mode="aspectFit">
  15. </image>
  16. </view>
  17. <view class="status-desc-block" v-else-if="orderInfo.status == '8'">
  18. <view class="status-tip">还剩9天22时18分自动确认收货</view>
  19. <view class="status-desc-row">
  20. 订单编号:{{ orderInfo.orderId }}
  21. <image src="/pages-mine/static/copy.png" class="copy-icon" @click="copyOrderNo" mode="aspectFit">
  22. </image>
  23. </view>
  24. </view>
  25. <view class="status-desc" v-else>
  26. 订单编号:{{ orderInfo.orderId }}
  27. <image src="/pages-mine/static/copy.png" class="copy-icon" @click="copyOrderNo" mode="aspectFit">
  28. </image>
  29. </view>
  30. </view>
  31. <!-- 地址信息 -->
  32. <view class="info-card address-card" @click="handleAddressClick">
  33. <view class="icon-box">
  34. <image src="/pages-car/static/address.png" style="width: 40rpx; height: 40rpx"></image>
  35. </view>
  36. <view class="address-content">
  37. <view class="user-info">
  38. <text class="name">{{ orderInfo.receiverName }}</text>
  39. <text class="mobile">{{ orderInfo.receiverMobile }}</text>
  40. </view>
  41. <view class="address-detail">{{ orderInfo.receiverAddress }}</view>
  42. </view>
  43. <u-icon v-if="orderInfo.showModifyAddress == 1" name="arrow-right" color="#999" size="28"></u-icon>
  44. </view>
  45. <!-- 物流信息 -->
  46. <view class="info-card express-card"
  47. v-if="['3', '4', '5'].includes(String(orderInfo.status)) && orderInfo.waybillCode"
  48. @click.stop="viewLogistics">
  49. <view class="icon-box">
  50. <u-icon name="car" color="#38C148" size="48"></u-icon>
  51. </view>
  52. <view class="express-content">
  53. <view class="express-name">{{ orderInfo.expressName || '快递' }}({{ orderInfo.waybillCode }})</view>
  54. <view class="express-trace">{{ orderInfo.description || '点击查看物流详情' }}
  55. </view>
  56. </view>
  57. <u-icon name="arrow-right" color="#999" size="28"></u-icon>
  58. </view>
  59. <!-- 商品列表 -->
  60. <view class="info-card goods-card">
  61. <view class="goods-item" v-for="(goods, index) in orderInfo.detailVoList" :key="index">
  62. <image :src="goods.cover" mode="aspectFill" class="goods-cover"></image>
  63. <view class="goods-info">
  64. <view class="goods-title">{{ goods.bookName }}</view>
  65. <view class="goods-quality" v-if="goods.conditionType || goods.bookConditionType">品相:{{
  66. (goods.conditionType || goods.bookConditionType) | conditionText }}</view>
  67. <view class="price-box">
  68. <text class="price">¥{{ goods.price }}</text>
  69. <text class="num">x{{ goods.num }}</text>
  70. </view>
  71. </view>
  72. <!-- 商品级按钮 -->
  73. <view class="goods-action">
  74. <u-button v-if="goods.refundOrderId" size="mini" shape="circle" plain
  75. @click="goToRefundDetail(goods.refundOrderId)"
  76. custom-style="margin-left: 20rpx; height: 50rpx; line-height: 50rpx; color: #333; border-color: #ccc;">查看详情</u-button>
  77. <u-button v-show="!goods.refundOrderId && orderInfo.status > 1" size="mini" shape="circle" plain
  78. @click="applyRefund(goods)"
  79. custom-style="margin-left: 20rpx; height: 50rpx; line-height: 50rpx; color: #333; border-color: #ccc;">申请售后</u-button>
  80. </view>
  81. </view>
  82. <!-- 价格明细 -->
  83. <view class="price-detail">
  84. <view class="row">
  85. <text>邮费</text>
  86. <text>¥ {{ orderInfo.expressMoney || '0.00' }}</text>
  87. </view>
  88. <view class="row">
  89. <text>商品金额</text>
  90. <text class="goods-total">¥{{ (orderInfo.totalMoney - (orderInfo.expressMoney || 0)).toFixed(2)
  91. }}</text>
  92. </view>
  93. <template v-if="orderInfo.discountList && orderInfo.discountList.length > 0">
  94. <view class="row" v-for="(discount, index) in orderInfo.discountList" :key="'discount_' + index">
  95. <text>{{ discount.discountActivityMsg || '优惠金额' }}</text>
  96. <text class="discount">-¥{{ discount.discountMoney || '0.00' }}</text>
  97. </view>
  98. </template>
  99. <view class="divider"></view>
  100. <view class="real-pay-row">
  101. <text>实付款 ({{ orderInfo.payType == 1 ? '余额支付' : '微信支付' }})</text>
  102. <text class="real-price">¥ {{ orderInfo.payMoney }}</text>
  103. </view>
  104. </view>
  105. </view>
  106. <!-- 订单时间及其他信息 -->
  107. <view class="info-card time-card">
  108. <view class="row" v-if="orderInfo.outOfStock">
  109. <text class="label">如遇缺货</text>
  110. <text class="value" style="color: #ff4500; font-weight: 500;">{{ outOfStockText }}</text>
  111. </view>
  112. <view class="row">
  113. <text class="label">下单时间</text>
  114. <text class="value">{{ orderInfo.createTime }}</text>
  115. </view>
  116. <view class="row" v-if="orderInfo.payTime">
  117. <text class="label">付款时间</text>
  118. <text class="value">{{ orderInfo.payTime }}</text>
  119. </view>
  120. <view class="row" v-if="orderInfo.deliveryTime">
  121. <text class="label">发货时间</text>
  122. <text class="value">{{ orderInfo.deliveryTime }}</text>
  123. </view>
  124. <view class="row" v-if="orderInfo.finishTime">
  125. <text class="label">完成时间</text>
  126. <text class="value">{{ orderInfo.finishTime }}</text>
  127. </view>
  128. </view>
  129. <!-- 底部操作栏 -->
  130. <order-bottom-bar :orderInfo="orderInfo" @action="handleAction"></order-bottom-bar>
  131. <!-- 取消订单弹窗 -->
  132. <cancel-order-popup ref="cancelDialog" @success="loadOrderDetail(orderInfo.orderId)"></cancel-order-popup>
  133. <!-- 催发货弹窗 -->
  134. <urge-delivery-dialog ref="urgeDialog" @success="loadOrderDetail(orderInfo.orderId)"></urge-delivery-dialog>
  135. <!-- 极速退款弹窗 -->
  136. <fast-refund-dialog ref="refundDialog" @refresh="loadOrderDetail(orderInfo.orderId)"></fast-refund-dialog>
  137. <!-- 修改地址提示弹窗 -->
  138. <common-dialog ref="addressDialog" title="温馨提示" :showCancel="false" confirmText="我知道了">
  139. <view style="padding: 40rpx 0;">{{ addressDialogContent }}</view>
  140. </common-dialog>
  141. <!-- 占位符,防止底部按钮遮挡内容 -->
  142. <view style="height: 120rpx;"></view>
  143. </view>
  144. </template>
  145. <script>
  146. import OrderBottomBar from '../components/order-bottom-bar.vue';
  147. import CancelOrderPopup from '../components/cancel-order-popup.vue';
  148. import UrgeDeliveryDialog from '../components/urge-delivery-dialog.vue';
  149. import FastRefundDialog from '../components/fast-refund-dialog.vue';
  150. import CommonDialog from '@/components/common-dialog.vue';
  151. export default {
  152. components: {
  153. OrderBottomBar,
  154. CancelOrderPopup,
  155. UrgeDeliveryDialog,
  156. FastRefundDialog,
  157. CommonDialog
  158. },
  159. data() {
  160. return {
  161. orderId: '',
  162. orderInfo: {
  163. status: '2',
  164. orderId: '',
  165. detailVoList: [],
  166. receiverName: '',
  167. receiverMobile: '',
  168. receiverAddress: '',
  169. expressMoney: 0,
  170. totalMoney: 0,
  171. discountMoney: 0,
  172. discountList: [],
  173. payMoney: 0,
  174. createTime: ''
  175. },
  176. latestTrace: null,
  177. isModifyingAddress: false,
  178. addressDialogContent: ''
  179. };
  180. },
  181. computed: {
  182. statusText() {
  183. //订单状态:1-待付款 2-待发货 3-待收货 4-用户已签收 5-已完成 6-已取消
  184. const map = {
  185. '1': '等待买家付款',
  186. '2': '等待卖家发货',
  187. '3': '已发货',
  188. '4': '用户已签收',
  189. '5': '交易完成',
  190. '6': '已取消',
  191. };
  192. return map[String(this.orderInfo.status)] || '未知状态';
  193. },
  194. outOfStockText() {
  195. const map = {
  196. '1': '缺货时电话与我沟通',
  197. '2': '其他商品继续发货(缺货商品退款)',
  198. '3': '有缺货直接取消订单'
  199. };
  200. return map[String(this.orderInfo.outOfStock)] || '其他商品继续发货(缺货商品退款)';
  201. }
  202. },
  203. onLoad(options) {
  204. if (options.orderId) {
  205. this.orderId = options.orderId;
  206. }
  207. // 监听地址选择
  208. uni.$on('selectAddr', this.onAddressSelected);
  209. },
  210. onShow() {
  211. if (this.orderId) {
  212. this.loadOrderDetail(this.orderId);
  213. }
  214. },
  215. onUnload() {
  216. uni.$off('selectAddr', this.onAddressSelected);
  217. },
  218. methods: {
  219. hasPayOrderNo(payOrderNo) {
  220. return payOrderNo !== null && payOrderNo !== undefined && String(payOrderNo).trim() !== '';
  221. },
  222. openWechatConfirmReceive(payOrderNo) {
  223. // #ifdef MP-WEIXIN
  224. if (typeof wx === 'undefined' || typeof wx.openBusinessView !== 'function') {
  225. return false;
  226. }
  227. wx.openBusinessView({
  228. businessType: 'weappOrderConfirm',
  229. extraData: {
  230. transaction_id: payOrderNo
  231. },
  232. success: () => {
  233. uni.showLoading({ title: '处理中' });
  234. this.$u.api.confirmReceiveAjax({ orderId: this.orderInfo.orderId }).then(res => {
  235. uni.hideLoading();
  236. if (res.code == 200) {
  237. uni.showToast({ title: '收货成功', icon: 'success' });
  238. this.loadOrderDetail(this.orderInfo.orderId);
  239. }
  240. }).catch(() => {
  241. uni.hideLoading();
  242. });
  243. },
  244. fail: (err) => {
  245. const errMsg = (err && err.errMsg) ? err.errMsg : '';
  246. if (errMsg.indexOf('cancel') > -1) return;
  247. uni.showToast({ title: '暂无法唤起微信确认收货', icon: 'none' });
  248. }
  249. });
  250. return true;
  251. // #endif
  252. return false;
  253. },
  254. onAddressSelected(addr) {
  255. if (this.isModifyingAddress && addr && addr.id) {
  256. this.$u.api.modifyOrderAddressAjax({
  257. orderId: this.orderInfo.orderId,
  258. addressId: addr.id
  259. }).then(res => {
  260. uni.hideLoading();
  261. if (res.code == 200) {
  262. if (res.data == 1) {
  263. uni.showToast({ title: '修改成功', icon: 'success' });
  264. setTimeout(() => {
  265. this.loadOrderDetail(this.orderInfo.orderId);
  266. }, 1000);
  267. } else if (res.data == 2) {
  268. this.addressDialogContent = '当前区域暂时不支持购买';
  269. this.$refs.addressDialog.openPopup();
  270. } else if (res.data == 3) {
  271. this.addressDialogContent = '运费不一致,不支持修改到该地址';
  272. this.$refs.addressDialog.openPopup();
  273. } else {
  274. uni.showToast({ title: res.msg || '修改失败', icon: 'none' });
  275. }
  276. }
  277. }).finally(() => {
  278. this.isModifyingAddress = false;
  279. });
  280. }
  281. },
  282. loadOrderDetail(orderId) {
  283. uni.$u.http.get('/token/shop/order/getOrderDetail', {
  284. orderId: orderId
  285. }).then((res) => {
  286. if (res.code == 200) {
  287. this.orderInfo = res.data;
  288. if (['3', '4', '8', '12', '10'].includes(String(this.orderInfo.status)) && this.orderInfo.waybillCode) {
  289. this.getLogisticsData();
  290. }
  291. }
  292. });
  293. },
  294. getLogisticsData() {
  295. this.$u.api.getOrderTrackingAjax({ orderId: this.orderInfo.orderId }).then(res => {
  296. if (res.code == 200 && res.data && res.data.length > 0) {
  297. // 取第一个包裹的最新一条轨迹
  298. const package1 = res.data[0];
  299. if (package1.trackingVoList && package1.trackingVoList.length > 0) {
  300. this.latestTrace = package1.trackingVoList[0];
  301. }
  302. }
  303. });
  304. },
  305. copyOrderNo() {
  306. uni.setClipboardData({
  307. data: String(this.orderInfo.orderId),
  308. success: () => {
  309. uni.showToast({ title: '复制成功', icon: 'none' });
  310. }
  311. });
  312. },
  313. viewLogistics() {
  314. uni.navigateTo({
  315. url: `/pages-car/pages/logistics-detail?orderId=${this.orderInfo.orderId}`
  316. });
  317. },
  318. goToRefundDetail(refundOrderId) {
  319. uni.navigateTo({
  320. url: `/pages-car/pages/refund-detail?refundOrderId=${refundOrderId}`
  321. });
  322. },
  323. applyRefund(goods) {
  324. if (this.orderInfo.status == '2') {
  325. // 待发货状态,使用极速退款弹窗
  326. this.$refs.refundDialog.open(this.orderInfo);
  327. return;
  328. }
  329. // 跳转到申请售后页面,并传递 orderId 和对应的 detailOrderId
  330. uni.navigateTo({
  331. url: `/pages-car/pages/apply-refund?orderId=${this.orderInfo.orderId}&detailOrderId=${goods.detailOrderId}`
  332. });
  333. },
  334. handleAddressClick() {
  335. if (this.orderInfo.showModifyAddress == 1) {
  336. this.handleAction('address');
  337. }
  338. },
  339. handleAction(type) {
  340. if (type === 'complaint') {
  341. uni.setStorageSync('tempComplaintOrder', this.orderInfo);
  342. uni.navigateTo({
  343. url: `/pages-car/pages/complaint?orderId=${this.orderInfo.orderId}`
  344. });
  345. return;
  346. }
  347. if (type === 'cancel') {
  348. this.$refs.cancelDialog.open(this.orderInfo.orderId);
  349. return;
  350. }
  351. if (type === 'remind') {
  352. this.$refs.urgeDialog.open(this.orderInfo);
  353. return;
  354. }
  355. if (type === 'overtime') {
  356. // 超时发货补偿
  357. uni.showModal({
  358. title: '提示',
  359. content: '确认申请超时发货补偿?',
  360. success: (res) => {
  361. if (res.confirm) {
  362. this.$u.api.sendTimeoutCompensationAjax(this.orderInfo.orderId).then(res => {
  363. if (res.code == 200) {
  364. uni.showToast({
  365. title: '申请成功',
  366. icon: 'success'
  367. });
  368. // 刷新订单详情
  369. this.loadOrderDetail(this.orderInfo.orderId);
  370. }
  371. });
  372. }
  373. }
  374. });
  375. return;
  376. }
  377. if (type === 'priceMatch') {
  378. // 降价补差
  379. uni.showModal({
  380. title: '提示',
  381. content: '确认申请降价补差?',
  382. success: (res) => {
  383. if (res.confirm) {
  384. this.$u.api.priceReductionCompensationAjax(this.orderInfo.orderId).then(res => {
  385. if (res.code == 200) {
  386. uni.showToast({
  387. title: '申请成功',
  388. icon: 'success'
  389. });
  390. // 刷新订单详情
  391. this.loadOrderDetail(this.orderInfo.orderId);
  392. }
  393. });
  394. }
  395. }
  396. });
  397. return;
  398. }
  399. if (type === 'address') {
  400. this.isModifyingAddress = true;
  401. // 兼容可能的字段差异
  402. const addressId = this.orderInfo.addressId || this.orderInfo.receiverAddressId || '';
  403. uni.navigateTo({
  404. url: `/pages-mine/pages/address/list?isSelect=1&id=${addressId}`
  405. });
  406. return;
  407. }
  408. if (type === 'logistics') {
  409. this.viewLogistics();
  410. return;
  411. }
  412. if (type === 'confirm') {
  413. if (this.orderInfo.showConfirmShop == 1 && this.hasPayOrderNo(this.orderInfo.payOrderNo) && this.openWechatConfirmReceive(this.orderInfo.payOrderNo)) {
  414. return;
  415. }
  416. uni.showModal({
  417. title: '提示',
  418. content: '是否确认收货?',
  419. success: (res) => {
  420. if (res.confirm) {
  421. uni.showLoading({ title: '处理中' });
  422. this.$u.api.confirmReceiveAjax({ orderId: this.orderInfo.orderId }).then(res => {
  423. uni.hideLoading();
  424. if (res.code == 200) {
  425. uni.showToast({ title: '收货成功', icon: 'success' });
  426. this.loadOrderDetail(this.orderInfo.orderId);
  427. }
  428. });
  429. }
  430. }
  431. });
  432. return;
  433. }
  434. if (type === 'addToCart') {
  435. uni.showLoading({ title: '加载中' });
  436. this.$u.api.orderAddToCartAjax({
  437. orderId: this.orderInfo.orderId
  438. }).then(res => {
  439. uni.hideLoading();
  440. if (res.code == 200) {
  441. uni.showToast({
  442. title: '已加入购物车',
  443. icon: 'success',
  444. duration: 3000
  445. });
  446. this.$updateCartBadge();
  447. }
  448. });
  449. return;
  450. }
  451. if (type === 'pay') {
  452. uni.navigateTo({
  453. url: `/pages-car/pages/cashier-desk?id=${this.orderInfo.orderId}`
  454. });
  455. return;
  456. }
  457. }
  458. }
  459. };
  460. </script>
  461. <style lang="scss" scoped>
  462. .order-detail-page {
  463. min-height: 100vh;
  464. background-color: #F5F5F5;
  465. padding-bottom: 20rpx;
  466. .status-header {
  467. background-color: #EBF8EE;
  468. padding: 40rpx 30rpx 60rpx;
  469. color: #333;
  470. .status-text {
  471. font-size: 36rpx;
  472. font-weight: bold;
  473. margin-bottom: 10rpx;
  474. }
  475. .status-desc {
  476. font-size: 26rpx;
  477. color: #666;
  478. display: flex;
  479. align-items: center;
  480. .copy-icon {
  481. width: 32rpx;
  482. height: 32rpx;
  483. margin-left: 10rpx;
  484. }
  485. }
  486. .status-desc-block {
  487. .status-tip {
  488. font-size: 26rpx;
  489. color: #e02020;
  490. margin-bottom: 10rpx;
  491. }
  492. .status-desc-row {
  493. font-size: 26rpx;
  494. color: #666;
  495. display: flex;
  496. align-items: center;
  497. .copy-icon {
  498. width: 32rpx;
  499. height: 32rpx;
  500. margin-left: 10rpx;
  501. }
  502. }
  503. }
  504. }
  505. .info-card {
  506. background-color: #fff;
  507. margin: 20rpx;
  508. border-radius: 16rpx;
  509. padding: 30rpx;
  510. display: flex;
  511. &.address-card {
  512. align-items: center;
  513. .icon-box {
  514. margin-right: 20rpx;
  515. }
  516. .address-content {
  517. flex: 1;
  518. margin-right: 20rpx;
  519. .user-info {
  520. font-size: 30rpx;
  521. font-weight: 500;
  522. margin-bottom: 10rpx;
  523. .mobile {
  524. margin-left: 20rpx;
  525. }
  526. }
  527. .address-detail {
  528. font-size: 26rpx;
  529. color: #666;
  530. line-height: 1.4;
  531. }
  532. }
  533. }
  534. &.express-card {
  535. align-items: center;
  536. .icon-box {
  537. margin-right: 20rpx;
  538. }
  539. .express-content {
  540. flex: 1;
  541. margin-right: 20rpx;
  542. .express-name {
  543. color: #38C148;
  544. font-size: 28rpx;
  545. margin-bottom: 10rpx;
  546. font-weight: 500;
  547. }
  548. .express-trace {
  549. color: #333;
  550. font-size: 26rpx;
  551. line-height: 1.4;
  552. display: -webkit-box;
  553. -webkit-box-orient: vertical;
  554. -webkit-line-clamp: 2;
  555. overflow: hidden;
  556. }
  557. }
  558. }
  559. &.goods-card {
  560. display: block;
  561. .goods-item {
  562. display: flex;
  563. margin-bottom: 30rpx;
  564. .goods-cover {
  565. width: 120rpx;
  566. height: 120rpx;
  567. border-radius: 8rpx;
  568. margin-right: 20rpx;
  569. background-color: #eee;
  570. }
  571. .goods-info {
  572. flex: 1;
  573. .goods-title {
  574. font-size: 28rpx;
  575. color: #333;
  576. margin-bottom: 10rpx;
  577. }
  578. .goods-quality {
  579. font-size: 24rpx;
  580. color: #999;
  581. }
  582. .price-box {
  583. margin-top: 10rpx;
  584. display: flex;
  585. justify-content: space-between;
  586. .price {
  587. font-weight: 500;
  588. }
  589. .num {
  590. color: #999;
  591. }
  592. }
  593. }
  594. .goods-action {
  595. display: flex;
  596. align-items: center;
  597. }
  598. }
  599. .price-detail {
  600. margin-top: 30rpx;
  601. .row {
  602. display: flex;
  603. justify-content: space-between;
  604. font-size: 26rpx;
  605. color: #666;
  606. margin-bottom: 20rpx;
  607. .goods-total {
  608. color: #38C148;
  609. }
  610. .discount {
  611. color: #38C148;
  612. }
  613. }
  614. .divider {
  615. height: 1rpx;
  616. background-color: #eee;
  617. margin: 20rpx 0;
  618. }
  619. .real-pay-row {
  620. display: flex;
  621. justify-content: space-between;
  622. align-items: center;
  623. font-size: 28rpx;
  624. color: #333;
  625. font-weight: bold;
  626. margin-top: 10rpx;
  627. .real-price {
  628. color: #38C148;
  629. font-size: 32rpx;
  630. }
  631. }
  632. }
  633. }
  634. &.time-card {
  635. display: block;
  636. .row {
  637. display: flex;
  638. justify-content: space-between;
  639. font-size: 24rpx;
  640. color: #999;
  641. margin-bottom: 10rpx;
  642. &:last-child {
  643. margin-bottom: 0;
  644. }
  645. }
  646. }
  647. }
  648. }
  649. </style>