detail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  1. <!-- 订单详情 -->
  2. <template>
  3. <s-layout title="订单详情" class="index-wrap" navbar="inner">
  4. <!-- 订单状态 -->
  5. <view
  6. class="state-box ss-flex-col ss-col-center ss-row-right"
  7. :style="[
  8. {
  9. marginTop: '-' + Number(statusBarHeight + 88) + 'rpx',
  10. paddingTop: Number(statusBarHeight + 88) + 'rpx',
  11. },
  12. ]"
  13. >
  14. <view class="ss-flex ss-m-t-32 ss-m-b-20">
  15. <image
  16. v-if="
  17. state.orderInfo.status_code == 'unpaid' ||
  18. state.orderInfo.status_code == 'nosend' ||
  19. state.orderInfo.status_code == 'nocomment'
  20. "
  21. class="state-img"
  22. :src="sheep.$url.static('/static/img/shop/order/order_loading.png')"
  23. >
  24. </image>
  25. <image
  26. v-if="
  27. state.orderInfo.status_code == 'completed' ||
  28. state.orderInfo.status_code == 'refund_agree'
  29. "
  30. class="state-img"
  31. :src="sheep.$url.static('/static/img/shop/order/order_success.png')"
  32. >
  33. </image>
  34. <image
  35. v-if="state.orderInfo.status_code == 'cancel' || state.orderInfo.status_code == 'closed'"
  36. class="state-img"
  37. :src="sheep.$url.static('/static/img/shop/order/order_close.png')"
  38. >
  39. </image>
  40. <image
  41. v-if="state.orderInfo.status_code == 'noget'"
  42. class="state-img"
  43. :src="sheep.$url.static('/static/img/shop/order/order_express.png')"
  44. >
  45. </image>
  46. <view class="ss-font-30">{{ state.orderInfo.status_text }}</view>
  47. </view>
  48. <view class="ss-font-26 ss-m-x-20 ss-m-b-70">{{ state.orderInfo.status_desc }}</view>
  49. </view>
  50. <!-- 收货地址 -->
  51. <view class="order-address-box" v-if="state.orderInfo.address">
  52. <view class="ss-flex ss-col-center">
  53. <text class="address-username">
  54. {{ state.orderInfo.address.consignee }}
  55. </text>
  56. <text class="address-phone">{{ state.orderInfo.address.mobile }}</text>
  57. </view>
  58. <view class="address-detail">{{ addressText }}</view>
  59. </view>
  60. <view class="detail-goods" :style="[{ marginTop: state.orderInfo.address ? '0' : '-40rpx' }]">
  61. <!-- 订单信息 -->
  62. <view class="order-list" v-for="item in state.orderInfo.items" :key="item.goods_id">
  63. <view class="order-card">
  64. <s-goods-item
  65. @tap="onGoodsDetail(item.goods_id)"
  66. :img="item.goods_image"
  67. :title="item.goods_title"
  68. :skuText="item.goods_sku_text"
  69. :price="item.goods_price"
  70. :score="state.orderInfo.score_amount"
  71. :num="item.goods_num"
  72. >
  73. <template #top>
  74. <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white">
  75. <view class="item-title">配送方式</view>
  76. <view class="ss-flex ss-col-center">
  77. <text class="item-value ss-m-r-20">{{ item.dispatch_type_text }}</text>
  78. <button
  79. class="ss-reset-button copy-btn"
  80. @tap="onDetail(item)"
  81. v-if="
  82. (item.dispatch_type === 'autosend' || item.dispatch_type === 'custom') &&
  83. item.dispatch_status !== 0
  84. "
  85. >详情</button
  86. >
  87. </view>
  88. </view>
  89. </template>
  90. <template #tool>
  91. <view class="ss-flex">
  92. <button
  93. class="ss-reset-button apply-btn"
  94. v-if="item.btns.includes('aftersale')"
  95. @tap.stop="
  96. sheep.$router.go('/pages/order/aftersale/apply', {
  97. item: JSON.stringify(item),
  98. })
  99. "
  100. >
  101. 申请售后
  102. </button>
  103. <button
  104. class="ss-reset-button apply-btn"
  105. v-if="item.btns.includes('re_aftersale')"
  106. @tap.stop="
  107. sheep.$router.go('/pages/order/aftersale/apply', {
  108. item: JSON.stringify(item),
  109. })
  110. "
  111. >
  112. 重新售后
  113. </button>
  114. <button
  115. class="ss-reset-button apply-btn"
  116. v-if="item.btns.includes('aftersale_info')"
  117. @tap.stop="
  118. sheep.$router.go('/pages/order/aftersale/detail', {
  119. id: item.ext.aftersale_id,
  120. })
  121. "
  122. >
  123. 售后详情
  124. </button>
  125. <button
  126. class="ss-reset-button apply-btn"
  127. v-if="item.btns.includes('buy_again')"
  128. @tap.stop="
  129. sheep.$router.go('/pages/goods/index', {
  130. id: item.goods_id,
  131. })
  132. "
  133. >
  134. 再次购买
  135. </button>
  136. </view>
  137. </template>
  138. <template #priceSuffix>
  139. <button class="ss-reset-button tag-btn" v-if="item.status_text">
  140. {{ item.status_text }}
  141. </button>
  142. </template>
  143. </s-goods-item>
  144. </view>
  145. </view>
  146. </view>
  147. <!-- 订单信息 -->
  148. <view class="notice-box">
  149. <view class="notice-box__content">
  150. <view class="notice-item--center">
  151. <view class="ss-flex ss-flex-1">
  152. <text class="title">订单编号:</text>
  153. <text class="detail">{{ state.orderInfo.order_sn }}</text>
  154. </view>
  155. <button class="ss-reset-button copy-btn" @tap="onCopy">复制</button>
  156. </view>
  157. <view class="notice-item">
  158. <text class="title">下单时间:</text>
  159. <text class="detail">{{ state.orderInfo.create_time }}</text>
  160. </view>
  161. <view class="notice-item" v-if="state.orderInfo.paid_time">
  162. <text class="title">支付时间:</text>
  163. <text class="detail">{{ state.orderInfo.paid_time || '-' }}</text>
  164. </view>
  165. <view class="notice-item">
  166. <text class="title">支付方式:</text>
  167. <text class="detail">{{ state.orderInfo.pay_types_text?.join(',') || '-' }}</text>
  168. </view>
  169. </view>
  170. </view>
  171. <!-- 价格信息 -->
  172. <view class="order-price-box">
  173. <view class="notice-item ss-flex ss-row-between">
  174. <text class="title">商品总额</text>
  175. <view class="ss-flex">
  176. <text class="detail" v-if="Number(state.orderInfo.goods_amount) > 0"
  177. >¥{{ state.orderInfo.goods_amount }}</text
  178. >
  179. <view
  180. v-if="state.orderInfo.score_amount && Number(state.orderInfo.goods_amount) > 0"
  181. class="detail"
  182. >+</view
  183. >
  184. <view class="price-text ss-flex ss-col-center" v-if="state.orderInfo.score_amount">
  185. <image
  186. :src="sheep.$url.static('/static/img/shop/goods/score1.svg')"
  187. class="score-img"
  188. ></image>
  189. <view class="detail">{{ state.orderInfo.score_amount }}</view>
  190. </view>
  191. </view>
  192. </view>
  193. <view class="notice-item ss-flex ss-row-between">
  194. <text class="title">运费</text>
  195. <text class="detail">¥{{ state.orderInfo.dispatch_amount }}</text>
  196. </view>
  197. <view
  198. class="notice-item ss-flex ss-row-between"
  199. v-if="state.orderInfo.total_discount_fee > 0"
  200. >
  201. <text class="title">优惠金额</text>
  202. <text class="detail">¥{{ state.orderInfo.total_discount_fee }}</text>
  203. </view>
  204. <view class="notice-item all-rpice-item ss-flex ss-m-t-20">
  205. <text class="title">{{
  206. ['paid', 'completed'].includes(state.orderInfo.status) ? '已付款' : '需付款'
  207. }}</text>
  208. <text class="detail all-price" v-if="Number(state.orderInfo.pay_fee) > 0"
  209. >¥{{ state.orderInfo.pay_fee }}</text
  210. >
  211. <view
  212. v-if="
  213. state.orderInfo.score_amount &&
  214. Number(state.orderInfo.pay_fee) > 0 &&
  215. ['paid', 'completed'].includes(state.orderInfo.status)
  216. "
  217. class="detail all-price"
  218. >+</view
  219. >
  220. <view
  221. class="price-text ss-flex ss-col-center"
  222. v-if="
  223. state.orderInfo.score_amount && ['paid', 'completed'].includes(state.orderInfo.status)
  224. "
  225. >
  226. <image
  227. :src="sheep.$url.static('/static/img/shop/goods/score1.svg')"
  228. class="score-img"
  229. ></image>
  230. <view class="detail all-price">{{ state.orderInfo.score_amount }}</view>
  231. </view>
  232. </view>
  233. <view class="notice-item all-rpice-item ss-flex ss-m-t-20" v-if="refundFee > 0">
  234. <text class="title">已退款</text>
  235. <text class="detail all-price">¥{{ refundFee.toFixed(2) }}</text>
  236. </view>
  237. </view>
  238. <!-- 底部按钮 -->
  239. <!-- TODO: 查看物流、等待成团、评价完后返回页面没刷新页面 -->
  240. <su-fixed bottom placeholder bg="bg-white" v-if="state.orderInfo.btns?.length">
  241. <view class="footer-box ss-flex ss-col-center ss-row-right">
  242. <button
  243. class="ss-reset-button cancel-btn"
  244. v-if="state.orderInfo.btns?.includes('cancel')"
  245. @tap="onCancel(state.orderInfo.id)"
  246. >取消订单</button
  247. >
  248. <button
  249. class="ss-reset-button pay-btn ui-BG-Main-Gradient"
  250. v-if="state.orderInfo.btns?.includes('pay')"
  251. @tap="onPay(state.orderInfo.order_sn)"
  252. >继续支付</button
  253. >
  254. <button
  255. class="ss-reset-button cancel-btn"
  256. v-if="state.orderInfo.btns?.includes('apply_refund')"
  257. @tap="onRefund(state.orderInfo.id)"
  258. >申请退款</button
  259. >
  260. <button
  261. class="ss-reset-button cancel-btn"
  262. v-if="state.orderInfo.btns?.includes('groupon')"
  263. @tap="
  264. sheep.$router.go('/pages/activity/groupon/detail', {
  265. id: state.orderInfo.ext.groupon_id,
  266. })
  267. "
  268. >
  269. {{ state.orderInfo.status_code === 'groupon_ing' ? '邀请拼团' : '拼团详情' }}
  270. </button>
  271. <button
  272. class="ss-reset-button cancel-btn"
  273. v-if="state.orderInfo.btns?.includes('express')"
  274. @tap="onExpress(state.orderInfo.id)"
  275. >查看物流</button
  276. >
  277. <button
  278. class="ss-reset-button cancel-btn"
  279. v-if="state.orderInfo.btns?.includes('confirm')"
  280. @tap="onConfirm(state.orderInfo.id)"
  281. >确认收货</button
  282. >
  283. <button
  284. class="ss-reset-button cancel-btn"
  285. v-if="state.orderInfo.btns?.includes('comment')"
  286. @tap="onComment(state.orderInfo.order_sn)"
  287. >评价晒单</button
  288. >
  289. <button
  290. v-if="state.orderInfo.btns?.includes('invoice')"
  291. class="ss-reset-button cancel-btn"
  292. @tap.stop="onOrderInvoice(state.orderInfo.invoice?.id)"
  293. >
  294. 查看发票
  295. </button>
  296. <button
  297. v-if="state.orderInfo.btns?.includes('re_apply_refund')"
  298. class="ss-reset-button cancel-btn"
  299. @tap.stop="onRefund(state.orderInfo.id)"
  300. >
  301. 重新退款
  302. </button>
  303. </view>
  304. </su-fixed>
  305. </s-layout>
  306. </template>
  307. <script setup>
  308. import sheep from '@/sheep';
  309. import { onLoad } from '@dcloudio/uni-app';
  310. import { computed, reactive } from 'vue';
  311. import { isEmpty } from 'lodash';
  312. const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
  313. const headerBg = sheep.$url.css('/static/img/shop/order/order_bg.png');
  314. const tradeManaged = computed(() => sheep.$store('app').has_wechat_trade_managed);
  315. const state = reactive({
  316. orderInfo: {},
  317. merchantTradeNo: '', // 商户订单号
  318. comeinType: '', // 进入订单详情的来源类型
  319. });
  320. const addressText = computed(() => {
  321. let data = state.orderInfo.address;
  322. if (data) {
  323. return `${data.province_name} ${data.city_name} ${data.district_name} ${data.address}`;
  324. }
  325. return '';
  326. });
  327. // 复制
  328. const onCopy = () => {
  329. sheep.$helper.copyText(state.orderInfo.order_sn);
  330. };
  331. //退款总额
  332. const refundFee = computed(() => {
  333. let refundFee = 0;
  334. state.orderInfo.items?.forEach((i) => {
  335. refundFee += Number(i.refund_fee);
  336. });
  337. return refundFee;
  338. });
  339. // 去支付
  340. function onPay(orderSN) {
  341. sheep.$router.go('/pages/pay/index', {
  342. orderSN,
  343. });
  344. }
  345. function onGoodsDetail(id) {
  346. sheep.$router.go('/pages/goods/index', { id });
  347. }
  348. // 取消订单
  349. async function onCancel(orderId) {
  350. uni.showModal({
  351. title: '提示',
  352. content: '确定要取消订单吗?',
  353. success: async function (res) {
  354. if (res.confirm) {
  355. const { error, data } = await sheep.$api.order.cancel(orderId);
  356. if (error === 0) {
  357. getOrderDetail(data.order_sn);
  358. }
  359. }
  360. },
  361. });
  362. }
  363. // 申请退款
  364. async function onRefund(orderId) {
  365. uni.showModal({
  366. title: '提示',
  367. content: '确定要申请退款吗?',
  368. success: async function (res) {
  369. if (res.confirm) {
  370. const { error, data } = await sheep.$api.order.applyRefund(orderId);
  371. if (error === 0) {
  372. getOrderDetail(data.order_sn);
  373. }
  374. }
  375. },
  376. });
  377. }
  378. // 查看物流
  379. async function onExpress(orderId) {
  380. sheep.$router.go('/pages/order/express/list', {
  381. orderId,
  382. });
  383. }
  384. //确认收货
  385. async function onConfirm(orderId, ignore = false) {
  386. // 需开启确认收货组件
  387. // todo:
  388. // 1.怎么检测是否开启了发货组件功能?如果没有开启的话就不能在这里return出去
  389. // 2.如果开启了走mpConfirm方法,需要在App.vue的show方法中拿到确认收货结果
  390. if (sheep.$platform.name === 'WechatMiniProgram' && !ignore) {
  391. if (!isEmpty(state.orderInfo.wechat_extra_data) && tradeManaged.value === 1) {
  392. mpConfirm(orderId);
  393. return;
  394. }
  395. return;
  396. }
  397. // 正常的确认收货流程
  398. const { error, data } = await sheep.$api.order.confirm(orderId);
  399. if (error === 0) {
  400. getOrderDetail(data.order_sn);
  401. }
  402. }
  403. // #ifdef MP-WEIXIN
  404. // 小程序确认收货组件
  405. function mpConfirm(orderId) {
  406. if (!wx.openBusinessView) {
  407. sheep.$helper.toast(`请升级微信版本`);
  408. return;
  409. }
  410. wx.openBusinessView({
  411. businessType: 'weappOrderConfirm',
  412. extraData: {
  413. // merchant_id: '1481069012',
  414. // merchant_trade_no: state.orderInfo.wechat_extra_data.merchant_trade_no,
  415. transaction_id: state.orderInfo.wechat_extra_data.transaction_id,
  416. },
  417. success(response) {
  418. console.log('success:', response);
  419. if (response.errMsg === 'openBusinessView:ok') {
  420. if (response.extraData.status === 'success') {
  421. onConfirm(orderId, true);
  422. }
  423. }
  424. },
  425. fail(error) {
  426. console.log('error:', error);
  427. },
  428. complete(result) {
  429. console.log('result:', result);
  430. },
  431. });
  432. }
  433. // #endif
  434. // 查看发票
  435. function onOrderInvoice(invoiceId) {
  436. sheep.$router.go('/pages/order/invoice', {
  437. invoiceId,
  438. });
  439. }
  440. // 配送方式详情
  441. function onDetail(item) {
  442. sheep.$router.go('/pages/order/dispatch/content', {
  443. id: item.order_id,
  444. item_id: item.id,
  445. });
  446. }
  447. // 评价
  448. function onComment(orderSN) {
  449. uni.$once('SELECT_INVOICE', (e) => {
  450. state.invoiceInfo = e.invoiceInfo;
  451. });
  452. sheep.$router.go('/pages/goods/comment/add', {
  453. orderSN,
  454. });
  455. }
  456. async function getOrderDetail(id) {
  457. let res = {};
  458. if (state.comeinType === 'wechat') {
  459. res = await sheep.$api.order.detail(id, {
  460. merchant_trade_no: state.merchantTradeNo,
  461. });
  462. } else {
  463. res = await sheep.$api.order.detail(id);
  464. }
  465. if (res.error === 0) {
  466. state.orderInfo = res.data;
  467. } else {
  468. sheep.$router.back();
  469. }
  470. }
  471. onLoad(async (options) => {
  472. let id = 0;
  473. if (options.orderSN) {
  474. id = options.orderSN;
  475. }
  476. if (options.id) {
  477. id = options.id;
  478. }
  479. state.comeinType = options.comein_type;
  480. if (state.comeinType === 'wechat') {
  481. state.merchantTradeNo = options.merchant_trade_no;
  482. }
  483. getOrderDetail(id);
  484. });
  485. </script>
  486. <style lang="scss" scoped>
  487. .score-img {
  488. width: 36rpx;
  489. height: 36rpx;
  490. margin: 0 4rpx;
  491. }
  492. .apply-btn {
  493. width: 140rpx;
  494. height: 50rpx;
  495. border-radius: 25rpx;
  496. font-size: 24rpx;
  497. border: 2rpx solid #dcdcdc;
  498. line-height: normal;
  499. margin-left: 16rpx;
  500. }
  501. .state-box {
  502. color: rgba(#fff, 0.9);
  503. width: 100%;
  504. background: v-bind(headerBg) no-repeat,
  505. linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  506. background-size: 750rpx 100%;
  507. box-sizing: border-box;
  508. .state-img {
  509. width: 60rpx;
  510. height: 60rpx;
  511. margin-right: 20rpx;
  512. }
  513. }
  514. .order-address-box {
  515. background-color: #fff;
  516. border-radius: 10rpx;
  517. margin: -50rpx 20rpx 16rpx 20rpx;
  518. padding: 44rpx 34rpx 42rpx 20rpx;
  519. font-size: 30rpx;
  520. box-sizing: border-box;
  521. font-weight: 500;
  522. color: rgba(51, 51, 51, 1);
  523. .address-username {
  524. margin-right: 20rpx;
  525. }
  526. .address-detail {
  527. font-size: 26rpx;
  528. font-weight: 500;
  529. color: rgba(153, 153, 153, 1);
  530. margin-top: 20rpx;
  531. }
  532. }
  533. .detail-goods {
  534. border-radius: 10rpx;
  535. margin: 0 20rpx 20rpx 20rpx;
  536. .order-list {
  537. margin-bottom: 20rpx;
  538. background-color: #fff;
  539. .order-card {
  540. padding: 20rpx 0;
  541. .order-sku {
  542. font-size: 24rpx;
  543. font-weight: 400;
  544. color: rgba(153, 153, 153, 1);
  545. width: 450rpx;
  546. margin-bottom: 20rpx;
  547. .order-num {
  548. margin-right: 10rpx;
  549. }
  550. }
  551. .tag-btn {
  552. margin-left: 16rpx;
  553. font-size: 24rpx;
  554. height: 36rpx;
  555. color: var(--ui-BG-Main);
  556. border: 2rpx solid var(--ui-BG-Main);
  557. border-radius: 14rpx;
  558. padding: 0 4rpx;
  559. }
  560. }
  561. }
  562. }
  563. // 订单信息。
  564. .notice-box {
  565. background: #fff;
  566. border-radius: 10rpx;
  567. margin: 0 20rpx 20rpx 20rpx;
  568. .notice-box__head {
  569. font-size: 30rpx;
  570. font-weight: 500;
  571. color: rgba(51, 51, 51, 1);
  572. line-height: 80rpx;
  573. border-bottom: 1rpx solid #dfdfdf;
  574. padding: 0 25rpx;
  575. }
  576. .notice-box__content {
  577. padding: 20rpx;
  578. .self-pickup-box {
  579. width: 100%;
  580. .self-pickup--img {
  581. width: 200rpx;
  582. height: 200rpx;
  583. margin: 40rpx 0;
  584. }
  585. }
  586. }
  587. .notice-item,
  588. .notice-item--center {
  589. display: flex;
  590. align-items: center;
  591. line-height: normal;
  592. margin-bottom: 24rpx;
  593. .title {
  594. font-size: 28rpx;
  595. color: #999;
  596. }
  597. .detail {
  598. font-size: 28rpx;
  599. color: #333;
  600. flex: 1;
  601. }
  602. }
  603. }
  604. .copy-btn {
  605. width: 100rpx;
  606. line-height: 50rpx;
  607. border-radius: 25rpx;
  608. padding: 0;
  609. background: rgba(238, 238, 238, 1);
  610. font-size: 22rpx;
  611. font-weight: 400;
  612. color: rgba(51, 51, 51, 1);
  613. }
  614. // 订单价格信息
  615. .order-price-box {
  616. background-color: #fff;
  617. border-radius: 10rpx;
  618. padding: 20rpx;
  619. margin: 0 20rpx 20rpx 20rpx;
  620. .notice-item {
  621. line-height: 70rpx;
  622. .title {
  623. font-size: 28rpx;
  624. color: #999;
  625. }
  626. .detail {
  627. font-size: 28rpx;
  628. color: #333;
  629. font-family: OPPOSANS;
  630. }
  631. }
  632. .all-rpice-item {
  633. justify-content: flex-end;
  634. align-items: center;
  635. .title {
  636. font-size: 26rpx;
  637. font-weight: 500;
  638. color: #333333;
  639. line-height: normal;
  640. }
  641. .all-price {
  642. font-size: 26rpx;
  643. font-family: OPPOSANS;
  644. line-height: normal;
  645. color: $red;
  646. }
  647. }
  648. }
  649. // 底部
  650. .footer-box {
  651. height: 100rpx;
  652. width: 100%;
  653. box-sizing: border-box;
  654. border-radius: 10rpx;
  655. padding-right: 20rpx;
  656. .cancel-btn {
  657. width: 160rpx;
  658. height: 60rpx;
  659. background: #eeeeee;
  660. border-radius: 30rpx;
  661. margin-right: 20rpx;
  662. font-size: 26rpx;
  663. font-weight: 400;
  664. color: #333333;
  665. }
  666. .pay-btn {
  667. width: 160rpx;
  668. height: 60rpx;
  669. font-size: 26rpx;
  670. border-radius: 30rpx;
  671. font-weight: 500;
  672. color: #fff;
  673. }
  674. }
  675. </style>