orderDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  1. <template>
  2. <view class="order-detail-page">
  3. <!-- 顶部导航栏 -->
  4. <view class="custom-navbar">
  5. <view class="navbar-left">
  6. <text class="fa fa-angle-left" @click="goBack"></text>
  7. </view>
  8. <view class="navbar-right scale-tap" @click="goPages('/pages/crowdFunding/customerService?id=' + product.creator_id + '&zc_id=' + product.id)">
  9. <image src="@/static/crowdFunding/customer-service-btn.png" style="width: 60rpx; height: 60rpx"
  10. mode="widthFix">
  11. </image>
  12. </view>
  13. </view>
  14. <!-- status:0待支付,1已支付,2已发货/待收货,3已收货,5已完成,6退款中,8关闭(取消或退款后),9已完成 -->
  15. <!-- 状态栏 -->
  16. <view class="status-bar">
  17. <!-- <image v-if="statusIcon" :src="statusIcon" class="status-icon"/> -->
  18. <!-- 失败 -->
  19. <image v-if="status == 8" :src="'../../static/crowdFunding/fail.png'" class="status-icon" />
  20. <!-- 成功 -->
  21. <image v-else-if="status == 5 || status == 3 || status == 9" :src="'../../static/crowdFunding/success.png'"
  22. class="status-icon" />
  23. <!-- 进行中 -->
  24. <image v-else-if="status == 2 || status == 6" :src="'../../static/crowdFunding/loading.png'"
  25. class="status-icon" />
  26. <text class="status-title">{{ statusTitle }}</text>
  27. </view>
  28. <!-- 收货信息 -->
  29. <view class="address-card scale-tap" @click="goPages('/pages/crowdFunding/receivingAddress')">
  30. <view class="row">
  31. <text class="name">{{ address.realname }}</text>
  32. <text class="mobile">{{ address.mobile }}</text>
  33. <text class="default" v-if="address.is_default == 'yse'">默认</text>
  34. </view>
  35. <view class="address">收获地址:{{ address.area + address.address }}</view>
  36. </view>
  37. <!-- 商品卡片 -->
  38. <view class="product-card">
  39. <view class="product-top" @click="goPages('/pages/crowdFunding/crowdfundingDetails?id=' + product.id)">
  40. <image class="product-img" :src="product.img" />
  41. <view class="product-info">
  42. <view class="product-title"><text class="two-omit">{{ product.title }} </text>
  43. <image class="arrow" mode="widthFix" src="@/static/crowdFunding/right.png" />
  44. </view>
  45. <view class="product-desc">
  46. {{ product.desc }}
  47. </view>
  48. </view>
  49. </view>
  50. <view class="product-bom">
  51. <view class="product-spec">回报档:¥{{ product.price }} {{ product.spec }}
  52. <text class="count">x{{ product.count }}</text>
  53. </view>
  54. <view class="product-time">
  55. 预计发货时间:{{ product.deliveryTime }}
  56. </view>
  57. <!-- <view class="product-tip">{{ product.tip }}</view> -->
  58. </view>
  59. <!-- 费用明细 -->
  60. <!-- <view class="fee-row">
  61. <text>运费</text>
  62. <text>包邮</text>
  63. </view> -->
  64. <view class="fee-row total">
  65. <text>总金额</text>
  66. <text class="total-price">¥{{ product.total }}</text>
  67. </view>
  68. </view>
  69. <!-- 订单信息 -->
  70. <view class="order-info-card">
  71. <view class="info-row" v-if="order.orderNo">
  72. <text>订单编号</text>
  73. <view><text>{{ order.orderNo }}</text>
  74. <text class="copy-btn" @click="copy(order.orderNo)">复制</text>
  75. </view>
  76. </view>
  77. <view class="info-row" v-if="order.createTime">
  78. <text>下单时间</text>
  79. <text>{{ order.createTime }}</text>
  80. </view>
  81. <view class="info-row" v-if="order.payTime">
  82. <text>付款时间</text>
  83. <text>{{ order.payTime }}</text>
  84. </view>
  85. </view>
  86. <!-- 底部操作栏 -->
  87. <view class="order-bottom">
  88. <template v-if="status == 0">
  89. <view class="btn scale-tap btn-cancel" @click="cancelOrder">取消订单</view>
  90. <view class="btn scale-tap btn-pay" @click="payOrder">立即支付</view>
  91. </template>
  92. <template v-else-if="status == 1">
  93. <view class="btn scale-tap btn-refund" @click="refundOrder">申请退款</view>
  94. </template>
  95. <template v-else-if="status == 2">
  96. <view class="btn scale-tap btn-pay" @click="confirmOrder">确认收货</view>
  97. <!-- <view class="btn scale-tap btn-comment" @click="commentOrder">去评价</view> -->
  98. </template>
  99. <template v-else-if="status == 3 || status == 5 || status == 9">
  100. <view class="btn scale-tap btn-delete" @click="deleteOrder">删除订单</view>
  101. <!-- <view class="btn scale-tap btn-comment" @click="commentOrder">去评价</view> -->
  102. </template>
  103. <template v-else-if="status == 6">
  104. <view class="btn btn-delete " style="background: #eee;">退款中</view>
  105. <!-- <view class="btn scale-tap btn-comment" @click="commentOrder">去评价</view> -->
  106. </template>
  107. <template v-else-if="status == 8">
  108. <!-- <view class="btn btn-delete" style="background: #eee;">已关闭</view> -->
  109. <view class="btn scale-tap btn-delete" @click="deleteOrder">删除订单</view>
  110. <!-- <view class="btn scale-tap btn-comment" @click="commentOrder">去评价</view> -->
  111. </template>
  112. <template v-else>
  113. <!-- <view class="btn scale-tap btn-delete" @click="deleteOrder">删除订单</view> -->
  114. </template>
  115. </view>
  116. <!-- 支付方式选择弹窗 -->
  117. <uni-popup ref="paymentPopup" type="bottom">
  118. <view class="payment-popup">
  119. <view class="popup-header">
  120. <view class="popup-title">选择支付方式</view>
  121. </view>
  122. <view class="payment-options">
  123. <view class="payment-option" @tap="selectPayment('alipay')">
  124. <image class="payment-icon" src="../../static/icon/pay_ali.png" mode="aspectFit"></image>
  125. <view class="payment-name">支付宝支付</view>
  126. <image class="payment-select"
  127. :src="paymentMethod === 'alipay' ? '../../static/icon/wd_icon_gouxuan05.png' : '../../static/icon/wd_icon_gouxuan04.png'"
  128. mode="aspectFit"></image>
  129. </view>
  130. <view v-if="isWeChatPay" class="payment-option" @tap="selectPayment('wechat')">
  131. <image class="payment-icon" src="../../static/icon/pay_wx.png" mode="aspectFit"></image>
  132. <view class="payment-name">微信支付</view>
  133. <image class="payment-select"
  134. :src="paymentMethod === 'wechat' ? '../../static/icon/wd_icon_gouxuan05.png' : '../../static/icon/wd_icon_gouxuan04.png'"
  135. mode="aspectFit"></image>
  136. </view>
  137. </view>
  138. <view class="confirm-payment" @tap="confirmPayment">立即支付</view>
  139. </view>
  140. </uni-popup>
  141. <!-- 提示框 -->
  142. <DialogBox ref="DialogBox"></DialogBox>
  143. </view>
  144. </template>
  145. <script>
  146. export default {
  147. data() {
  148. return {
  149. statusType: "waitPay", // waitPay, waitSend, finish, waitComment, fail
  150. status: "",
  151. statusTitle: "", // 根据statusType动态切换
  152. statusIcon: "loading", // 可根据状态切换icon loading fail success
  153. address: {},
  154. product: {},
  155. order: {},
  156. paymentMethod: 'alipay', // 默认支付宝支付
  157. isWeChatPay: true, // 是否显示微信支付选项
  158. orderId: "",
  159. linkid: "",
  160. };
  161. },
  162. onLoad(options) {
  163. this.getOrderDetail(options.orderId);
  164. this.orderId = options.orderId;
  165. },
  166. methods: {
  167. goBack() {
  168. uni.navigateBack();
  169. },
  170. goPages(url) {
  171. uni.navigateTo({
  172. url
  173. });
  174. },
  175. copy(val) {
  176. uni.setClipboardData({
  177. data: val
  178. });
  179. },
  180. cancelOrder() {
  181. this.$refs["DialogBox"].confirm({
  182. title: "提示",
  183. content: "确定要取消订单吗?",
  184. DialogType: "inquiry",
  185. btn1: "否",
  186. btn2: "是",
  187. animation: 0,
  188. }).then((res) => {
  189. if (res) {
  190. this.orderAction('cancel');
  191. }
  192. });
  193. },
  194. payOrder() {
  195. this.$refs.paymentPopup.open();
  196. },
  197. selectPayment(method) {
  198. this.paymentMethod = method;
  199. },
  200. confirmPayment() {
  201. this.orderAction('pay', this.paymentMethod);
  202. this.$refs.paymentPopup.close();
  203. },
  204. refundOrder() {
  205. this.$refs.DialogBox.confirm({
  206. title: "提示",
  207. content: "确定要申请退款吗?",
  208. DialogType: "inquiry",
  209. btn1: "否",
  210. btn2: "是",
  211. animation: 0,
  212. }).then((res) => {
  213. if (res) {
  214. this.orderAction('refund');
  215. }
  216. });
  217. },
  218. deleteOrder() {
  219. this.$refs.DialogBox.confirm({
  220. title: "提示",
  221. content: "确定要删除订单吗?",
  222. DialogType: "inquiry",
  223. btn1: "否",
  224. btn2: "是",
  225. animation: 0,
  226. }).then((res) => {
  227. if (res) {
  228. this.orderAction('del');
  229. }
  230. });
  231. },
  232. confirmOrder() {
  233. this.$refs.DialogBox.confirm({
  234. title: "提示",
  235. content: "是否要确认收货吗?",
  236. DialogType: "inquiry",
  237. btn1: "否",
  238. btn2: "是",
  239. animation: 0,
  240. }).then((res) => {
  241. if (res) {
  242. this.orderAction('finish');
  243. }
  244. });
  245. },
  246. commentOrder() { },
  247. orderAction(act, payType = '') {
  248. var order_id = this.orderId;
  249. var _this = this;
  250. console.log({
  251. order_id,
  252. act: act,
  253. payType: payType,
  254. }, '支付接口参数');
  255. uni.request({
  256. url: this.$apiHost + '/Order/action',
  257. method: 'GET',
  258. data: {
  259. order_id: order_id,
  260. act: act,
  261. payType: payType,
  262. uuid: getApp().globalData.uuid,
  263. skey: getApp().globalData.skey
  264. },
  265. success: (res) => {
  266. console.log(res.data, "订单操作结果");
  267. this.linkid = res.data.linkid;
  268. if (res.data && res.data.success == 'yes') {
  269. // 微信支付
  270. console.log(payType, "支付方式");
  271. if (payType === 'wx') {
  272. console.log(res.data.wepay, "微信支付");
  273. uni.requestPayment({
  274. provider: "wxpay",
  275. orderInfo: {
  276. appid: res.data.wepay.appid,
  277. partnerid: res.data.wepay.partnerid,
  278. prepayid: res.data.wepay.prepayid,
  279. package: "Sign=WXPay",
  280. noncestr: res.data.wepay.noncestr,
  281. timestamp: res.data.wepay.timestamp,
  282. sign: res.data.wepay.sign
  283. },
  284. success: (payRes) => {
  285. _this.checkPayStatus();
  286. },
  287. fail: (err) => {
  288. uni.hideLoading();
  289. _this.isSubmitting = false;
  290. uni.showToast({ title: '支付取消', icon: 'none' });
  291. }
  292. });
  293. return;
  294. }
  295. // 支付宝支付
  296. else if (payType === 'alipay') {
  297. console.log(res.data.ali_pay, "支付宝支付");
  298. uni.requestPayment({
  299. provider: "alipay",
  300. orderInfo: res.data.ali_pay,
  301. success: (payRes) => {
  302. _this.checkPayStatus();
  303. },
  304. fail: (err) => {
  305. uni.hideLoading();
  306. _this.isSubmitting = false;
  307. uni.showToast({ title: '支付取消', icon: 'none' });
  308. }
  309. });
  310. return;
  311. }
  312. uni.showToast({
  313. title: res.data.str,
  314. icon: 'none'
  315. });
  316. this.getOrderDetail(this.order.orderNo);
  317. if (act == 'cancel') {
  318. this.goBack();
  319. }
  320. } else {
  321. uni.showToast({
  322. title: res.data.message || '操作失败',
  323. icon: 'none'
  324. });
  325. }
  326. },
  327. fail: () => {
  328. uni.showToast({
  329. title: '操作失败',
  330. icon: 'none'
  331. });
  332. }
  333. });
  334. },
  335. // 轮询查支付状态
  336. checkPayStatus() {
  337. uni.request({
  338. url: this.$apiHost + "/Order/getstatus",
  339. data: {
  340. uuid: getApp().globalData.uuid,
  341. linkid: this.linkid,
  342. },
  343. header: {
  344. "content-type": "application/json",
  345. sign: getApp().globalData.headerSign
  346. },
  347. success: (res) => {
  348. console.log(res.data, "支付成功11");
  349. if (res.data.success == "yes") {
  350. console.log(res.data, "支付成功11");
  351. uni.hideLoading();
  352. uni.showToast({ title: "支付成功", icon: "none" });
  353. // 跳转到订单详情或列表
  354. // uni.redirectTo({ url: '/pages/crowdFunding/orderList' });
  355. this.getOrderDetail(this.orderId);
  356. } else {
  357. setTimeout(() => { this.checkPayStatus(); }, 1000);
  358. }
  359. },
  360. fail: (err) => {
  361. uni.hideLoading();
  362. uni.showToast({ title: "网络错误,请重试", icon: "none" });
  363. }
  364. });
  365. },
  366. getOrderDetail(orderId) {
  367. uni.request({
  368. url: this.$apiHost + '/Order/detail?order_id=' + orderId,
  369. method: 'GET',
  370. data: {
  371. uuid: getApp().globalData.uuid,
  372. skey: getApp().globalData.skey
  373. },
  374. success: (res) => {
  375. console.log(res.data.data, "获取订单详情");
  376. if (res.data && res.data.success == 'yes') {
  377. let data = res.data.data;
  378. if (data.address) {
  379. this.address = JSON.parse(data.address);
  380. }
  381. this.order = {
  382. orderNo: data.linkid,
  383. createTime: data.create_time,
  384. payTime: data.order_time,
  385. }
  386. if (data.crowdfund) {
  387. this.product = {
  388. price: data.crowdfund.price,
  389. img: data.crowdfund.image,
  390. title: data.crowdfund.title,
  391. desc: "",
  392. spec: data.crowdfund.title2,
  393. count: 1,
  394. total: data.money,
  395. deliveryTime: data.crowdfund.delivery,
  396. id: data.crowdfund.id,
  397. creator_id: data.crowdfund.creator_id,
  398. // tip: "温馨提示:该链接仅购买线下实物卡片!不含线上卡牌壁纸",
  399. }
  400. }
  401. this.status = data.status;
  402. this.statusTitle = data.status_name;
  403. }
  404. },
  405. fail: () => {
  406. uni.showToast({
  407. title: '获取订单详情失败',
  408. icon: 'none'
  409. });
  410. },
  411. complete: () => {
  412. uni.hideLoading();
  413. }
  414. });
  415. },
  416. },
  417. mounted() {
  418. // 可根据实际订单状态设置statusType/statusTitle/statusIcon
  419. // 例如:this.statusType = 'waitPay'; this.statusTitle = '待支付';
  420. },
  421. };
  422. </script>
  423. <style lang="scss">
  424. .order-detail-page {
  425. min-height: 100vh;
  426. background: #f2f6f2;
  427. .custom-navbar {
  428. display: flex;
  429. flex-direction: row;
  430. align-items: center;
  431. justify-content: space-between;
  432. height: 90rpx;
  433. padding: 0 40rpx;
  434. padding-right: 30rpx;
  435. padding-top: var(--status-bar-height);
  436. background-color: transparent;
  437. position: sticky;
  438. top: 0;
  439. height: calc(90rpx + var(--status-bar-height));
  440. z-index: 100;
  441. .navbar-left {
  442. height: 80rpx;
  443. display: flex;
  444. align-items: center;
  445. justify-content: center;
  446. .fa-angle-left {
  447. font-size: 48rpx;
  448. color: #333;
  449. }
  450. }
  451. .navbar-right {
  452. width: 60rpx;
  453. height: 60rpx;
  454. display: flex;
  455. justify-content: center;
  456. align-items: center;
  457. }
  458. }
  459. .status-bar {
  460. display: flex;
  461. align-items: center;
  462. padding: 32rpx 32rpx 0 32rpx;
  463. .status-icon {
  464. width: 40rpx;
  465. height: 40rpx;
  466. margin-right: 12rpx;
  467. }
  468. .status-title {
  469. font-size: 36rpx;
  470. font-weight: bold;
  471. color: #1F1F1F;
  472. }
  473. }
  474. .address-card {
  475. background: #fff;
  476. border-radius: 16rpx;
  477. margin: 24rpx 16rpx 0 16rpx;
  478. padding: 24rpx;
  479. background: url("../../static/crowdFunding/order-detail-card-bg.png") no-repeat top right / auto 100%,
  480. #fff;
  481. .row {
  482. display: flex;
  483. align-items: center;
  484. margin-bottom: 8rpx;
  485. .name {
  486. font-size: 30rpx;
  487. font-weight: bold;
  488. margin-right: 18rpx;
  489. }
  490. .mobile {
  491. font-size: 30rpx;
  492. margin-right: 18rpx;
  493. }
  494. .default {
  495. font-size: 22rpx;
  496. color: #acf934;
  497. background: #1f1f1f;
  498. border-radius: 8rpx;
  499. padding: 2rpx 12rpx;
  500. margin-right: 12rpx;
  501. }
  502. }
  503. .address {
  504. font-size: 26rpx;
  505. color: #666;
  506. }
  507. }
  508. .product-card {
  509. background: #fff;
  510. border-radius: 16rpx;
  511. margin: 24rpx 16rpx 0 16rpx;
  512. padding: 24rpx;
  513. .product-top {
  514. display: flex;
  515. align-items: center;
  516. justify-content: space-between;
  517. .product-img {
  518. width: 120rpx;
  519. height: 120rpx;
  520. border-radius: 12rpx;
  521. margin-right: 18rpx;
  522. }
  523. .product-info {
  524. flex: 1;
  525. display: flex;
  526. align-items: center;
  527. justify-content: space-between;
  528. .product-title {
  529. width: 100%;
  530. display: flex;
  531. align-items: center;
  532. justify-content: space-between;
  533. font-size: 28rpx;
  534. font-weight: bold;
  535. color: #1f1f1f;
  536. display: flex;
  537. align-items: center;
  538. .two-omit {
  539. width: 400rpx;
  540. }
  541. .arrow {
  542. width: 60rpx;
  543. height: 60rpx;
  544. // margin-left: 140rpx;
  545. }
  546. }
  547. .product-desc {
  548. font-size: 24rpx;
  549. color: #1F1F1F;
  550. margin: 8rpx 0;
  551. }
  552. }
  553. }
  554. .product-bom {
  555. padding-top: 15rpx;
  556. .product-spec {
  557. font-size: 26rpx;
  558. color: #1F1F1F;
  559. margin: 8rpx 0;
  560. display: flex;
  561. align-items: center;
  562. justify-content: space-between;
  563. .count {
  564. color: #888;
  565. font-size: 22rpx;
  566. margin-top: 16rpx;
  567. margin-top: 8rpx;
  568. }
  569. }
  570. .product-time {
  571. font-size: 24rpx;
  572. color: #b2b2b2;
  573. margin-bottom: 8rpx;
  574. }
  575. .product-tip {
  576. font-size: 26rpx;
  577. color: #b2b2b2;
  578. background: #f6faf6;
  579. border-radius: 8rpx;
  580. padding: 8rpx 12rpx;
  581. }
  582. }
  583. .arrow {
  584. width: 32rpx;
  585. height: 32rpx;
  586. margin-left: 8rpx;
  587. }
  588. }
  589. .fee-row {
  590. display: flex;
  591. justify-content: space-between;
  592. align-items: center;
  593. padding: 0;
  594. height: 64rpx;
  595. font-size: 28rpx;
  596. color: #1F1F1F;
  597. text:first-child {
  598. color: #999;
  599. }
  600. &.total {
  601. font-weight: bold;
  602. color: #1f1f1f;
  603. justify-content: flex-end;
  604. text:first-child {
  605. color: #1f1f1f;
  606. }
  607. .total-price {
  608. color: #ff5500;
  609. font-size: 32rpx;
  610. }
  611. }
  612. }
  613. .order-info-card {
  614. background: #fff;
  615. border-radius: 16rpx;
  616. margin: 24rpx 16rpx 0 16rpx;
  617. padding: 24rpx;
  618. .info-row {
  619. display: flex;
  620. align-items: center;
  621. justify-content: space-between;
  622. height: 56rpx;
  623. font-size: 26rpx;
  624. >text:first-child {
  625. color: #999;
  626. }
  627. .copy-btn {
  628. color: #1f1f1f;
  629. background: #f6faf6;
  630. border-radius: 8rpx;
  631. font-size: 24rpx;
  632. margin-left: 18rpx;
  633. padding: 2rpx 16rpx;
  634. }
  635. }
  636. }
  637. .order-bottom {
  638. position: fixed;
  639. left: 0;
  640. right: 0;
  641. bottom: 0;
  642. background: #fff;
  643. display: flex;
  644. align-items: center;
  645. justify-content: flex-end;
  646. padding: 0 32rpx;
  647. height: 110rpx;
  648. box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.04);
  649. z-index: 10;
  650. .btn {
  651. min-width: 180rpx;
  652. height: 72rpx;
  653. line-height: 72rpx;
  654. border-radius: 44rpx;
  655. text-align: center;
  656. font-size: 30rpx;
  657. padding: 0 32rpx;
  658. margin-left: 24rpx;
  659. &.btn-pay {
  660. background: #1f1f1f;
  661. color: #acf934;
  662. }
  663. &.btn-cancel {
  664. background: #fff;
  665. color: #1f1f1f;
  666. border: 2rpx solid #e5e5e5;
  667. }
  668. &.btn-refund {
  669. background: #1f1f1f;
  670. color: #acf934;
  671. }
  672. &.btn-delete {
  673. background: #fff;
  674. color: #1f1f1f;
  675. border: 2rpx solid #e5e5e5;
  676. }
  677. &.btn-comment {
  678. background: #1f1f1f;
  679. color: #acf934;
  680. }
  681. }
  682. }
  683. .payment-popup {
  684. background: #fff;
  685. border-radius: 24rpx 24rpx 0 0;
  686. padding: 32rpx;
  687. .popup-header {
  688. display: flex;
  689. align-items: center;
  690. justify-content: space-between;
  691. margin-bottom: 32rpx;
  692. .popup-title {
  693. font-size: 32rpx;
  694. font-weight: bold;
  695. color: #1f1f1f;
  696. }
  697. }
  698. .payment-options {
  699. .payment-option {
  700. display: flex;
  701. align-items: center;
  702. padding: 24rpx 0;
  703. border-bottom: 2rpx solid #f6faf6;
  704. .payment-icon {
  705. width: 48rpx;
  706. height: 48rpx;
  707. margin-right: 18rpx;
  708. }
  709. .payment-name {
  710. flex: 1;
  711. font-size: 30rpx;
  712. color: #1f1f1f;
  713. }
  714. .payment-select {
  715. width: 32rpx;
  716. height: 32rpx;
  717. }
  718. }
  719. }
  720. .confirm-payment {
  721. margin-top: 32rpx;
  722. background: #1f1f1f;
  723. color: #acf934;
  724. border-radius: 44rpx;
  725. font-size: 32rpx;
  726. font-weight: bold;
  727. height: 88rpx;
  728. line-height: 88rpx;
  729. text-align: center;
  730. }
  731. }
  732. .btn-delete {
  733. background: #f6faf6;
  734. color: #888;
  735. border: 1px solid #e5e5e5;
  736. }
  737. }
  738. </style>