detail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  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 state = reactive({
  315. orderInfo: {},
  316. merchantTradeNo: '', // 商户订单号
  317. comeinType: '', // 进入订单详情的来源类型
  318. });
  319. const addressText = computed(() => {
  320. let data = state.orderInfo.address;
  321. if (data) {
  322. return `${data.province_name} ${data.city_name} ${data.district_name} ${data.address}`;
  323. }
  324. return '';
  325. });
  326. // 复制
  327. const onCopy = () => {
  328. sheep.$helper.copyText(state.orderInfo.order_sn);
  329. };
  330. //退款总额
  331. const refundFee = computed(() => {
  332. let refundFee = 0;
  333. state.orderInfo.items?.forEach((i) => {
  334. refundFee += Number(i.refund_fee);
  335. });
  336. return refundFee;
  337. });
  338. // 去支付
  339. function onPay(orderSN) {
  340. sheep.$router.go('/pages/pay/index', {
  341. orderSN,
  342. });
  343. }
  344. function onGoodsDetail(id) {
  345. sheep.$router.go('/pages/goods/index', { id });
  346. }
  347. // 取消订单
  348. async function onCancel(orderId) {
  349. uni.showModal({
  350. title: '提示',
  351. content: '确定要取消订单吗?',
  352. success: async function (res) {
  353. if (res.confirm) {
  354. const { error, data } = await sheep.$api.order.cancel(orderId);
  355. if (error === 0) {
  356. getOrderDetail(data.order_sn);
  357. }
  358. }
  359. },
  360. });
  361. }
  362. // 申请退款
  363. async function onRefund(orderId) {
  364. uni.showModal({
  365. title: '提示',
  366. content: '确定要申请退款吗?',
  367. success: async function (res) {
  368. if (res.confirm) {
  369. const { error, data } = await sheep.$api.order.applyRefund(orderId);
  370. if (error === 0) {
  371. getOrderDetail(data.order_sn);
  372. }
  373. }
  374. },
  375. });
  376. }
  377. // 查看物流
  378. async function onExpress(orderId) {
  379. sheep.$router.go('/pages/order/express/list', {
  380. orderId,
  381. });
  382. }
  383. //确认收货
  384. async function onConfirm(orderId, ignore = false) {
  385. // 需开启确认收货组件
  386. // todo:
  387. // 1.怎么检测是否开启了发货组件功能?如果没有开启的话就不能在这里return出去
  388. // 2.如果开启了走mpConfirm方法,需要在App.vue的show方法中拿到确认收货结果
  389. let isOpenBusinessView = true;
  390. if (
  391. sheep.$platform.name === 'WechatMiniProgram' &&
  392. !isEmpty(state.orderInfo.wechat_extra_data) &&
  393. isOpenBusinessView &&
  394. !ignore
  395. ) {
  396. mpConfirm(orderId);
  397. return;
  398. }
  399. // 正常的确认收货流程
  400. const { error, data } = await sheep.$api.order.confirm(orderId);
  401. if (error === 0) {
  402. getOrderDetail(data.order_sn);
  403. }
  404. }
  405. // #ifdef MP-WEIXIN
  406. // 小程序确认收货组件
  407. function mpConfirm(orderId) {
  408. if (!wx.openBusinessView) {
  409. sheep.$helper.toast(`请升级微信版本`);
  410. return;
  411. }
  412. wx.openBusinessView({
  413. businessType: 'weappOrderConfirm',
  414. extraData: {
  415. merchant_id: '1481069012',
  416. merchant_trade_no: state.orderInfo.wechat_extra_data.merchant_trade_no,
  417. transaction_id: state.orderInfo.wechat_extra_data.transaction_id,
  418. },
  419. success(response) {
  420. console.log('success:', response);
  421. if (response.errMsg === 'openBusinessView:ok') {
  422. if (response.extraData.status === 'success') {
  423. onConfirm(orderId, true);
  424. }
  425. }
  426. },
  427. fail(error) {
  428. console.log('error:', error);
  429. },
  430. complete(result) {
  431. console.log('result:', result);
  432. },
  433. });
  434. }
  435. // #endif
  436. // 查看发票
  437. function onOrderInvoice(invoiceId) {
  438. sheep.$router.go('/pages/order/invoice', {
  439. invoiceId,
  440. });
  441. }
  442. // 配送方式详情
  443. function onDetail(item) {
  444. sheep.$router.go('/pages/order/dispatch/content', {
  445. id: item.order_id,
  446. item_id: item.id,
  447. });
  448. }
  449. // 评价
  450. function onComment(orderSN) {
  451. uni.$once('SELECT_INVOICE', (e) => {
  452. state.invoiceInfo = e.invoiceInfo;
  453. });
  454. sheep.$router.go('/pages/goods/comment/add', {
  455. orderSN,
  456. });
  457. }
  458. async function getOrderDetail(id) {
  459. let res = {};
  460. if (state.comeinType === 'wechat') {
  461. res = await sheep.$api.order.detail(id, {
  462. merchant_trade_no: state.merchantTradeNo,
  463. });
  464. } else {
  465. res = await sheep.$api.order.detail(id);
  466. }
  467. if (res.error === 0) {
  468. state.orderInfo = res.data;
  469. } else {
  470. sheep.$router.back();
  471. }
  472. }
  473. onLoad(async (options) => {
  474. let id = 0;
  475. if (options.orderSN) {
  476. id = options.orderSN;
  477. }
  478. if (options.id) {
  479. id = options.id;
  480. }
  481. state.comeinType = options.comein_type;
  482. if (state.comeinType === 'wechat') {
  483. state.merchantTradeNo = options.merchant_trade_no;
  484. }
  485. getOrderDetail(id);
  486. });
  487. </script>
  488. <style lang="scss" scoped>
  489. .score-img {
  490. width: 36rpx;
  491. height: 36rpx;
  492. margin: 0 4rpx;
  493. }
  494. .apply-btn {
  495. width: 140rpx;
  496. height: 50rpx;
  497. border-radius: 25rpx;
  498. font-size: 24rpx;
  499. border: 2rpx solid #dcdcdc;
  500. line-height: normal;
  501. margin-left: 16rpx;
  502. }
  503. .state-box {
  504. color: rgba(#fff, 0.9);
  505. width: 100%;
  506. background: v-bind(headerBg) no-repeat,
  507. linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  508. background-size: 750rpx 100%;
  509. box-sizing: border-box;
  510. .state-img {
  511. width: 60rpx;
  512. height: 60rpx;
  513. margin-right: 20rpx;
  514. }
  515. }
  516. .order-address-box {
  517. background-color: #fff;
  518. border-radius: 10rpx;
  519. margin: -50rpx 20rpx 16rpx 20rpx;
  520. padding: 44rpx 34rpx 42rpx 20rpx;
  521. font-size: 30rpx;
  522. box-sizing: border-box;
  523. font-weight: 500;
  524. color: rgba(51, 51, 51, 1);
  525. .address-username {
  526. margin-right: 20rpx;
  527. }
  528. .address-detail {
  529. font-size: 26rpx;
  530. font-weight: 500;
  531. color: rgba(153, 153, 153, 1);
  532. margin-top: 20rpx;
  533. }
  534. }
  535. .detail-goods {
  536. border-radius: 10rpx;
  537. margin: 0 20rpx 20rpx 20rpx;
  538. .order-list {
  539. margin-bottom: 20rpx;
  540. background-color: #fff;
  541. .order-card {
  542. padding: 20rpx 0;
  543. .order-sku {
  544. font-size: 24rpx;
  545. font-weight: 400;
  546. color: rgba(153, 153, 153, 1);
  547. width: 450rpx;
  548. margin-bottom: 20rpx;
  549. .order-num {
  550. margin-right: 10rpx;
  551. }
  552. }
  553. .tag-btn {
  554. margin-left: 16rpx;
  555. font-size: 24rpx;
  556. height: 36rpx;
  557. color: var(--ui-BG-Main);
  558. border: 2rpx solid var(--ui-BG-Main);
  559. border-radius: 14rpx;
  560. padding: 0 4rpx;
  561. }
  562. }
  563. }
  564. }
  565. // 订单信息。
  566. .notice-box {
  567. background: #fff;
  568. border-radius: 10rpx;
  569. margin: 0 20rpx 20rpx 20rpx;
  570. .notice-box__head {
  571. font-size: 30rpx;
  572. font-weight: 500;
  573. color: rgba(51, 51, 51, 1);
  574. line-height: 80rpx;
  575. border-bottom: 1rpx solid #dfdfdf;
  576. padding: 0 25rpx;
  577. }
  578. .notice-box__content {
  579. padding: 20rpx;
  580. .self-pickup-box {
  581. width: 100%;
  582. .self-pickup--img {
  583. width: 200rpx;
  584. height: 200rpx;
  585. margin: 40rpx 0;
  586. }
  587. }
  588. }
  589. .notice-item,
  590. .notice-item--center {
  591. display: flex;
  592. align-items: center;
  593. line-height: normal;
  594. margin-bottom: 24rpx;
  595. .title {
  596. font-size: 28rpx;
  597. color: #999;
  598. }
  599. .detail {
  600. font-size: 28rpx;
  601. color: #333;
  602. flex: 1;
  603. }
  604. }
  605. }
  606. .copy-btn {
  607. width: 100rpx;
  608. line-height: 50rpx;
  609. border-radius: 25rpx;
  610. padding: 0;
  611. background: rgba(238, 238, 238, 1);
  612. font-size: 22rpx;
  613. font-weight: 400;
  614. color: rgba(51, 51, 51, 1);
  615. }
  616. // 订单价格信息
  617. .order-price-box {
  618. background-color: #fff;
  619. border-radius: 10rpx;
  620. padding: 20rpx;
  621. margin: 0 20rpx 20rpx 20rpx;
  622. .notice-item {
  623. line-height: 70rpx;
  624. .title {
  625. font-size: 28rpx;
  626. color: #999;
  627. }
  628. .detail {
  629. font-size: 28rpx;
  630. color: #333;
  631. font-family: OPPOSANS;
  632. }
  633. }
  634. .all-rpice-item {
  635. justify-content: flex-end;
  636. align-items: center;
  637. .title {
  638. font-size: 26rpx;
  639. font-weight: 500;
  640. color: #333333;
  641. line-height: normal;
  642. }
  643. .all-price {
  644. font-size: 26rpx;
  645. font-family: OPPOSANS;
  646. line-height: normal;
  647. color: $red;
  648. }
  649. }
  650. }
  651. // 底部
  652. .footer-box {
  653. height: 100rpx;
  654. width: 100%;
  655. box-sizing: border-box;
  656. border-radius: 10rpx;
  657. padding-right: 20rpx;
  658. .cancel-btn {
  659. width: 160rpx;
  660. height: 60rpx;
  661. background: #eeeeee;
  662. border-radius: 30rpx;
  663. margin-right: 20rpx;
  664. font-size: 26rpx;
  665. font-weight: 400;
  666. color: #333333;
  667. }
  668. .pay-btn {
  669. width: 160rpx;
  670. height: 60rpx;
  671. font-size: 26rpx;
  672. border-radius: 30rpx;
  673. font-weight: 500;
  674. color: #fff;
  675. }
  676. }
  677. </style>