detail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. <template>
  2. <view v-if="!isLoading" class="container">
  3. <view class="header">
  4. <!-- 订单状态 -->
  5. <view class="order-status">
  6. <view class="status-icon">
  7. <!-- 进行中的订单 -->
  8. <block v-if="order.order_status == OrderStatusEnum.NORMAL.value">
  9. <!-- 待支付 -->
  10. <block v-if="order.pay_status == PayStatusEnum.PENDING.value">
  11. <image class="image" src="/static/order/status/wait_pay.png" mode="aspectFit"></image>
  12. </block>
  13. <!-- 待发货 -->
  14. <block v-else-if="order.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value">
  15. <image class="image" src="/static/order/status/wait_deliver.png" mode="aspectFit"></image>
  16. </block>
  17. <!-- 待收货 -->
  18. <block v-else-if="order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value">
  19. <image class="image" src="/static/order/status/wait_receipt.png" mode="aspectFit"></image>
  20. </block>
  21. </block>
  22. <!-- 已完成 -->
  23. <block v-if="order.order_status == OrderStatusEnum.COMPLETED.value">
  24. <image class="image" src="/static/order/status/received.png" mode="aspectFit"></image>
  25. </block>
  26. <!-- 已取消/待取消 -->
  27. <block v-if="order.order_status == OrderStatusEnum.CANCELLED.value || order.order_status == OrderStatusEnum.APPLY_CANCEL.value">
  28. <image class="image" src="/static/order/status/close.png" mode="aspectFit"></image>
  29. </block>
  30. </view>
  31. <view class="status-text">
  32. <text>{{ order.state_text }}</text>
  33. </view>
  34. </view>
  35. <!-- 下一步操作 -->
  36. <view class="next-action" v-if="order.order_status == OrderStatusEnum.NORMAL.value">
  37. <view v-if="order.pay_status == PayStatusEnum.PENDING.value" class="action-btn" @click="onPay()">去支付</view>
  38. <view v-if="order.delivery_status == DeliveryStatusEnum.DELIVERED.value && order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value"
  39. class="action-btn" @click="onReceipt()">确认收货</view>
  40. </view>
  41. </view>
  42. <!-- 快递配送:配送地址 -->
  43. <view class="delivery-address i-card">
  44. <view class="link-man">
  45. <text class="name">{{ order.address.name }}</text>
  46. <text class="phone">{{ order.address.phone }}</text>
  47. </view>
  48. <view class="address">
  49. <text class="region" v-for="(region, idx) in order.address.region" :key="idx">{{ region }}</text>
  50. <text class="detail">{{ order.address.detail }}</text>
  51. </view>
  52. </view>
  53. <!-- 物流信息 -->
  54. <view v-if="order.delivery_type == DeliveryTypeEnum.EXPRESS.value && order.delivery_status == DeliveryStatusEnum.DELIVERED.value"
  55. class="express i-card" @click="handleTargetExpress()">
  56. <view class="main">
  57. <view class="info-item">
  58. <view class="item-lable">物流公司</view>
  59. <view class="item-content">
  60. <text>{{ order.express.express_name }}</text>
  61. </view>
  62. </view>
  63. <view class="info-item">
  64. <view class="item-lable">物流单号</view>
  65. <view class="item-content">
  66. <text>{{ order.express_no }}</text>
  67. <view class="act-copy" @click.stop="handleCopy(order.express_no)">
  68. <text>复制</text>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="right-arrow">
  74. <text class="iconfont icon-arrow-right"></text>
  75. </view>
  76. </view>
  77. <!-- 商品列表 -->
  78. <view class="goods-list i-card">
  79. <view class="goods-item" v-for="(goods, idx) in order.goods" :key="idx">
  80. <view class="goods-main" @click="handleTargetGoods(goods.goods_id)">
  81. <!-- 商品图片 -->
  82. <view class="goods-image">
  83. <image class="image" :src="goods.goods_image" mode="widthFix"></image>
  84. </view>
  85. <!-- 商品信息 -->
  86. <view class="goods-content">
  87. <view class="goods-title twolist-hidden"><text>{{ goods.goods_name }}</text></view>
  88. <view class="goods-props clearfix">
  89. <view class="goods-props-item" v-for="(props, idx) in goods.goods_props" :key="idx">
  90. <text>{{ props.value.name }}</text>
  91. </view>
  92. </view>
  93. </view>
  94. <!-- 交易信息 -->
  95. <view class="goods-trade">
  96. <view class="goods-price">
  97. <text class="unit">¥</text>
  98. <text class="value">{{ goods.goods_price }}</text>
  99. </view>
  100. <view class="goods-num">
  101. <text>×{{ goods.total_num }}</text>
  102. </view>
  103. </view>
  104. </view>
  105. <!-- 商品售后 -->
  106. <view class="goods-refund">
  107. <text v-if="goods.refund" class="stata-text">已申请售后</text>
  108. <view v-else-if="order.isAllowRefund" class="action-btn" @click.stop="handleApplyRefund(goods.order_goods_id)">申请售后</view>
  109. </view>
  110. </view>
  111. </view>
  112. <!-- 订单信息 -->
  113. <view class="order-info i-card">
  114. <view class="info-item">
  115. <view class="item-lable">订单编号</view>
  116. <view class="item-content">
  117. <text>{{ order.order_no }}</text>
  118. <view class="act-copy" @click="handleCopy(order.order_no)">
  119. <text>复制</text>
  120. </view>
  121. </view>
  122. </view>
  123. <view class="info-item">
  124. <view class="item-lable">下单时间</view>
  125. <view class="item-content">
  126. <text>{{ order.create_time }}</text>
  127. </view>
  128. </view>
  129. <view class="info-item">
  130. <view class="item-lable">买家留言</view>
  131. <view class="item-content">
  132. <text>{{ order.buyer_remark ? order.buyer_remark : '--' }}</text>
  133. </view>
  134. </view>
  135. </view>
  136. <!-- 结算信息 -->
  137. <view class="trade-info i-card">
  138. <view class="info-item">
  139. <view class="item-lable">订单金额</view>
  140. <view class="item-content">
  141. <text>¥{{ order.total_price }}</text>
  142. </view>
  143. </view>
  144. <view v-if="order.coupon_money > 0" class="info-item">
  145. <view class="item-lable">优惠券抵扣</view>
  146. <view class="item-content">
  147. <text>-¥{{ order.coupon_money }}</text>
  148. </view>
  149. </view>
  150. <view v-if="order.points_money > 0" class="info-item">
  151. <view class="item-lable">{{ setting.points_name }}抵扣</view>
  152. <view class="item-content">
  153. <text>-¥{{ order.points_money }}</text>
  154. </view>
  155. </view>
  156. <view class="info-item">
  157. <view class="item-lable">运费</view>
  158. <view class="item-content">
  159. <text>+¥{{ order.express_price }}</text>
  160. </view>
  161. </view>
  162. <view v-if="order.update_price.value != '0.00'" class="info-item">
  163. <view class="item-lable">后台改价</view>
  164. <view class="item-content">
  165. <text>{{ order.update_price.symbol }}</text>
  166. <text>¥{{ order.update_price.value }}</text>
  167. </view>
  168. </view>
  169. <view class="divider"></view>
  170. <view class="trade-total">
  171. <text class="lable">实付款</text>
  172. <view class="goods-price">
  173. <text class="unit">¥</text>
  174. <text class="value">{{ order.pay_price }}</text>
  175. </view>
  176. </view>
  177. </view>
  178. <!-- 底部操作按钮 -->
  179. <view v-if="order.order_status == OrderStatusEnum.NORMAL.value" class="footer-fixed">
  180. <view class="btn-wrapper">
  181. <block v-if="order.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value">
  182. <view class="btn-item" @click="onCancel()">取消订单</view>
  183. </block>
  184. <block v-if="order.pay_status == PayStatusEnum.PENDING.value">
  185. <view class="btn-item active" @click="onPay()">去支付</view>
  186. </block>
  187. <block v-if="order.delivery_status == DeliveryStatusEnum.DELIVERED.value && order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value">
  188. <view class="btn-item active" @click="onReceipt()">确认收货</view>
  189. </block>
  190. </view>
  191. </view>
  192. <!-- 支付方式弹窗 -->
  193. <u-popup v-model="showPayPopup" mode="bottom" border-radius="26" :closeable="true">
  194. <view class="pay-popup">
  195. <view class="title">请选择支付方式</view>
  196. <view class="pop-content">
  197. <!-- 微信支付 -->
  198. <!-- #ifdef MP-WEIXIN -->
  199. <view class="pay-item dis-flex flex-x-between" @click="onSelectPayType(PayTypeEnum.WECHAT.value)">
  200. <view class="item-left dis-flex flex-y-center">
  201. <view class="item-left_icon wechat">
  202. <text class="iconfont icon-wxpay"></text>
  203. </view>
  204. <view class="item-left_text">
  205. <text>{{ PayTypeEnum.WECHAT.name }}</text>
  206. </view>
  207. </view>
  208. </view>
  209. <!-- #endif -->
  210. <!-- 余额支付 -->
  211. <view class="pay-item dis-flex flex-x-between" @click="onSelectPayType(PayTypeEnum.BALANCE.value)">
  212. <view class="item-left dis-flex flex-y-center">
  213. <view class="item-left_icon balance">
  214. <text class="iconfont icon-qiandai"></text>
  215. </view>
  216. <view class="item-left_text">
  217. <text>{{ PayTypeEnum.BALANCE.name }}</text>
  218. </view>
  219. </view>
  220. </view>
  221. </view>
  222. </view>
  223. </u-popup>
  224. </view>
  225. </template>
  226. <script>
  227. import {
  228. DeliveryStatusEnum,
  229. DeliveryTypeEnum,
  230. OrderStatusEnum,
  231. PayStatusEnum,
  232. PayTypeEnum,
  233. ReceiptStatusEnum
  234. } from '@/common/enum/order'
  235. import * as OrderApi from '@/api/order'
  236. import { wxPayment } from '@/utils/app'
  237. export default {
  238. data() {
  239. return {
  240. // 枚举类
  241. DeliveryStatusEnum,
  242. DeliveryTypeEnum,
  243. OrderStatusEnum,
  244. PayStatusEnum,
  245. PayTypeEnum,
  246. ReceiptStatusEnum,
  247. // 当前订单ID
  248. orderId: null,
  249. // 加载中
  250. isLoading: true,
  251. // 当前订单详情
  252. order: {},
  253. // 当前设置
  254. setting: {},
  255. // 支付方式弹窗
  256. showPayPopup: false
  257. }
  258. },
  259. /**
  260. * 生命周期函数--监听页面加载
  261. */
  262. onLoad({ orderId }) {
  263. // 当前订单ID
  264. this.orderId = orderId
  265. },
  266. /**
  267. * 生命周期函数--监听页面显示
  268. */
  269. onShow() {
  270. // 获取当前订单信息
  271. this.getOrderDetail()
  272. },
  273. methods: {
  274. // 获取当前订单信息
  275. getOrderDetail() {
  276. const app = this
  277. app.isLoading = true
  278. OrderApi.detail(app.orderId)
  279. .then(result => {
  280. app.order = result.data.order
  281. app.setting = result.data.setting
  282. app.isLoading = false
  283. })
  284. },
  285. // 复制指定内容
  286. handleCopy(value) {
  287. const app = this
  288. uni.setClipboardData({
  289. data: value,
  290. success() {
  291. app.$toast('复制成功')
  292. }
  293. })
  294. },
  295. // 跳转到物流跟踪页面
  296. handleTargetExpress() {
  297. this.$navTo('pages/order/express/index', { orderId: this.orderId })
  298. },
  299. // 跳转到商品详情页面
  300. handleTargetGoods(goodsId) {
  301. this.$navTo('pages/goods/detail', { goodsId })
  302. },
  303. // 跳转到申请售后页面
  304. handleApplyRefund(orderGoodsId) {
  305. this.$navTo('pages/refund/apply', { orderGoodsId })
  306. },
  307. // 取消订单
  308. onCancel() {
  309. const app = this
  310. uni.showModal({
  311. title: '友情提示',
  312. content: '确认要取消该订单吗?',
  313. success(o) {
  314. if (o.confirm) {
  315. OrderApi.cancel(app.orderId)
  316. .then(result => {
  317. // 显示成功信息
  318. app.$success(result.message)
  319. // 刷新当前订单数据
  320. app.getOrderDetail()
  321. })
  322. }
  323. }
  324. });
  325. },
  326. // 确认收货
  327. onReceipt() {
  328. const app = this
  329. uni.showModal({
  330. title: '友情提示',
  331. content: '确认收到商品了吗?',
  332. success(o) {
  333. if (o.confirm) {
  334. OrderApi.receipt(app.orderId)
  335. .then(result => {
  336. // 显示成功信息
  337. app.$success(result.message)
  338. // 刷新当前订单数据
  339. app.getOrderDetail()
  340. })
  341. }
  342. }
  343. });
  344. },
  345. // 点击去支付
  346. onPay() {
  347. // 显示支付方式弹窗
  348. this.showPayPopup = true
  349. },
  350. // 选择支付方式
  351. onSelectPayType(payType) {
  352. const app = this
  353. // 隐藏支付方式弹窗
  354. this.showPayPopup = false
  355. // 发起支付请求
  356. OrderApi.pay(app.orderId, payType)
  357. .then(result => app.onSubmitCallback(result))
  358. .catch(err => err)
  359. },
  360. // 订单提交成功后回调
  361. onSubmitCallback(result) {
  362. const app = this
  363. // 发起微信支付
  364. if (result.data.pay_type == PayTypeEnum.WECHAT.value) {
  365. wxPayment(result.data.payment)
  366. .then(() => {
  367. app.$success('支付成功')
  368. setTimeout(() => {
  369. app.getOrderDetail()
  370. }, 1500)
  371. })
  372. .catch(err => {
  373. app.$error('订单未支付')
  374. })
  375. .finally(() => {
  376. app.disabled = false
  377. })
  378. }
  379. // 余额支付
  380. if (result.data.pay_type == PayTypeEnum.BALANCE.value) {
  381. app.$success('支付成功')
  382. app.disabled = false
  383. setTimeout(() => {
  384. // 刷新当前订单数据
  385. app.getOrderDetail()
  386. }, 1500)
  387. }
  388. },
  389. },
  390. }
  391. </script>
  392. <style>
  393. page {
  394. background: #f4f4f4;
  395. }
  396. </style>
  397. <style lang="scss" scoped>
  398. .container {
  399. padding-bottom: 140rpx;
  400. }
  401. // 页面顶部
  402. .header {
  403. display: flex;
  404. justify-content: space-between;
  405. background-color: #e8c269;
  406. height: 280rpx;
  407. padding: 56rpx 30rpx 0 30rpx;
  408. .order-status {
  409. display: flex;
  410. align-items: center;
  411. height: 128rpx;
  412. .status-icon {
  413. width: 128rpx;
  414. height: 128rpx;
  415. .image {
  416. display: block;
  417. width: 100%;
  418. height: 100%;
  419. }
  420. }
  421. .status-text {
  422. padding-left: 20rpx;
  423. color: #fff;
  424. font-size: 38rpx;
  425. font-weight: bold;
  426. }
  427. }
  428. .next-action {
  429. display: flex;
  430. align-items: center;
  431. height: 128rpx;
  432. .action-btn {
  433. min-width: 152rpx;
  434. height: 56rpx;
  435. padding: 0 30rpx;
  436. line-height: 56rpx;
  437. background-color: #fff;
  438. text-align: center;
  439. border-radius: 28rpx;
  440. border-color: rgb(102, 102, 102);
  441. cursor: pointer;
  442. user-select: none;
  443. color: #c7a157;
  444. }
  445. }
  446. }
  447. // 通栏卡片
  448. .i-card {
  449. background: #fff;
  450. padding: 24rpx 24rpx;
  451. width: 94%;
  452. box-shadow: 0 1rpx 5rpx 0px rgba(0, 0, 0, 0.05);
  453. margin: 0 auto 20rpx auto;
  454. border-radius: 20rpx;
  455. }
  456. // 收货地址
  457. .delivery-address {
  458. margin-top: -50rpx;
  459. .link-man {
  460. line-height: 46rpx;
  461. color: #333;
  462. .name {
  463. margin-right: 10rpx;
  464. }
  465. }
  466. .address {
  467. margin-top: 12rpx;
  468. color: #999;
  469. font-size: 24rpx;
  470. .detail {
  471. margin-left: 6rpx;
  472. }
  473. }
  474. }
  475. // 物流公司
  476. .express {
  477. display: flex;
  478. align-items: center;
  479. .main {
  480. flex: 1;
  481. }
  482. .info-item {
  483. display: flex;
  484. margin-bottom: 24rpx;
  485. &:last-child {
  486. margin-bottom: 0;
  487. }
  488. .item-lable {
  489. display: flex;
  490. align-items: center;
  491. font-size: 24rpx;
  492. color: #999;
  493. margin-right: 30rpx;
  494. }
  495. .item-content {
  496. flex: 1;
  497. display: flex;
  498. align-items: center;
  499. font-size: 26rpx;
  500. color: #333;
  501. .act-copy {
  502. margin-left: 20rpx;
  503. padding: 2rpx 20rpx;
  504. font-size: 22rpx;
  505. color: #666;
  506. border: 1rpx solid #c1c1c1;
  507. border-radius: 16rpx;
  508. }
  509. }
  510. }
  511. // 右侧箭头
  512. .right-arrow {
  513. margin-left: 16rpx;
  514. // color: #777;
  515. font-size: 26rpx;
  516. }
  517. }
  518. // 商品列表
  519. .goods-list {
  520. // 商品项
  521. .goods-item {
  522. margin-bottom: 40rpx;
  523. &:last-child {
  524. margin-bottom: 0;
  525. }
  526. // 商品信息
  527. .goods-main {
  528. display: flex;
  529. }
  530. // 商品图片
  531. .goods-image {
  532. width: 180rpx;
  533. height: 180rpx;
  534. .image {
  535. display: block;
  536. width: 100%;
  537. height: 100%;
  538. border-radius: 8rpx;
  539. }
  540. }
  541. // 商品内容
  542. .goods-content {
  543. flex: 1;
  544. padding-left: 16rpx;
  545. padding-top: 16rpx;
  546. .goods-title {
  547. font-size: 26rpx;
  548. max-height: 76rpx;
  549. }
  550. .goods-props {
  551. margin-top: 14rpx;
  552. height: 40rpx;
  553. color: #ababab;
  554. font-size: 24rpx;
  555. overflow: hidden;
  556. .goods-props-item {
  557. display: inline-block;
  558. margin-right: 14rpx;
  559. padding: 4rpx 16rpx;
  560. border-radius: 12rpx;
  561. background-color: #F5F5F5;
  562. width: auto;
  563. }
  564. }
  565. }
  566. // 交易信息
  567. .goods-trade {
  568. padding-top: 16rpx;
  569. width: 150rpx;
  570. text-align: right;
  571. color: $uni-text-color-grey;
  572. font-size: 26rpx;
  573. .goods-price {
  574. vertical-align: bottom;
  575. margin-bottom: 16rpx;
  576. .unit {
  577. margin-right: -2rpx;
  578. font-size: 24rpx;
  579. }
  580. }
  581. }
  582. // 商品售后
  583. .goods-refund {
  584. display: flex;
  585. justify-content: flex-end;
  586. .stata-text {
  587. font-size: 24rpx;
  588. color: #999;
  589. }
  590. .action-btn {
  591. border-radius: 28rpx;
  592. padding: 8rpx 26rpx;
  593. font-size: 24rpx;
  594. color: #383838;
  595. border: 1rpx solid #a8a8a8;
  596. }
  597. }
  598. }
  599. }
  600. // 订单信息
  601. .order-info {
  602. .info-item {
  603. display: flex;
  604. margin-bottom: 24rpx;
  605. &:last-child {
  606. margin-bottom: 0;
  607. }
  608. .item-lable {
  609. display: flex;
  610. align-items: center;
  611. font-size: 24rpx;
  612. color: #999;
  613. margin-right: 30rpx;
  614. }
  615. .item-content {
  616. flex: 1;
  617. display: flex;
  618. align-items: center;
  619. font-size: 26rpx;
  620. color: #333;
  621. .act-copy {
  622. margin-left: 20rpx;
  623. padding: 2rpx 20rpx;
  624. font-size: 22rpx;
  625. color: #666;
  626. border: 1rpx solid #c1c1c1;
  627. border-radius: 16rpx;
  628. }
  629. }
  630. }
  631. }
  632. // 交易信息
  633. .trade-info {
  634. .info-item {
  635. display: flex;
  636. margin-bottom: 24rpx;
  637. .item-lable {
  638. font-size: 24rpx;
  639. color: #999;
  640. margin-right: 24rpx;
  641. }
  642. .item-content {
  643. flex: 1;
  644. font-size: 26rpx;
  645. color: #333;
  646. text-align: right;
  647. }
  648. }
  649. .divider {
  650. height: 1rpx;
  651. background: #f1f1f1;
  652. margin-bottom: 24rpx;
  653. }
  654. .trade-total {
  655. display: flex;
  656. justify-content: flex-end;
  657. .goods-price {
  658. margin-left: 12rpx;
  659. vertical-align: bottom;
  660. color: $uni-text-color-active;
  661. .unit {
  662. margin-right: -2rpx;
  663. font-size: 24rpx;
  664. }
  665. }
  666. }
  667. }
  668. /* 底部操作栏 */
  669. .footer-fixed {
  670. position: fixed;
  671. bottom: var(--window-bottom);
  672. left: 0;
  673. right: 0;
  674. height: 96rpx;
  675. z-index: 11;
  676. box-shadow: 0 -4rpx 40rpx 0 rgba(97, 97, 97, 0.1);
  677. background: #fff;
  678. .btn-wrapper {
  679. height: 100%;
  680. display: flex;
  681. align-items: center;
  682. justify-content: flex-end;
  683. padding: 0 30rpx;
  684. }
  685. .btn-item {
  686. min-width: 164rpx;
  687. border-radius: 28rpx;
  688. padding: 10rpx 24rpx;
  689. font-size: 28rpx;
  690. color: #383838;
  691. text-align: center;
  692. border: 1rpx solid #a8a8a8;
  693. margin-left: 24rpx;
  694. &.active {
  695. color: #fff;
  696. border: none;
  697. background: linear-gradient(to right, #f9211c, #ff6335);
  698. }
  699. }
  700. }
  701. // 弹出层-支付方式
  702. .pay-popup {
  703. padding: 24rpx;
  704. .title {
  705. font-size: 30rpx;
  706. margin-bottom: 50rpx;
  707. font-weight: bold;
  708. text-align: center;
  709. }
  710. .pop-content {
  711. min-height: 260rpx;
  712. padding: 0 10rpx;
  713. .pay-item {
  714. padding: 20rpx 35rpx;
  715. font-size: 28rpx;
  716. border-bottom: 1rpx solid #f1f1f1;
  717. &:last-child {
  718. border-bottom: none;
  719. }
  720. .item-left_icon {
  721. margin-right: 20rpx;
  722. font-size: 32rpx;
  723. &.wechat {
  724. color: #00c800;
  725. }
  726. &.balance {
  727. color: #ff9700;
  728. }
  729. }
  730. }
  731. }
  732. }
  733. //
  734. </style>