moneyDestination.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <template>
  2. <view class="">
  3. <u-popup
  4. :show="show"
  5. @close="$emit('close')"
  6. round="16rpx"
  7. @open="open"
  8. closeable
  9. closeOnClickOverlay
  10. >
  11. <view class="title"> 钱款去向 </view>
  12. <view class="radio-list">
  13. <view class="refund">
  14. <view class="money"> 退款金额 </view>
  15. <view class="commodity-price" style="color: #f83224">
  16. <text style="font-size: 20rpx">¥</text>
  17. <text>{{
  18. refundDetail.goods[0].refund.refund_price.split(".")[0]
  19. }}</text
  20. >.
  21. <text style="font-size: 20rpx">{{
  22. refundDetail.goods[0].refund.refund_price.split(".")[1]
  23. }}</text>
  24. </view>
  25. </view>
  26. <view class="refund">
  27. <view class="money"> 退款账户 </view>
  28. <view class="commodity-price" style="color: #222"> 微信余额 </view>
  29. </view>
  30. <u-steps
  31. direction="column"
  32. dot
  33. activeColor="#D8D8D8"
  34. inactiveColor="#D8D8D8"
  35. >
  36. <u-steps-item
  37. title="退款成功"
  38. desc="退款已原路退回到您的余额,到账时间以平台处理时间为准"
  39. >
  40. </u-steps-item>
  41. <u-steps-item
  42. title="申请受理中"
  43. desc="您的退款申请团长已受理,请耐心等待"
  44. >
  45. </u-steps-item>
  46. <u-steps-item
  47. title="买家发起退款"
  48. desc="系统将会在1-2天提交处理,请耐心等待"
  49. ></u-steps-item>
  50. </u-steps>
  51. </view>
  52. <button class="btn">我知道了</button>
  53. </u-popup>
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. props: {
  59. show: {
  60. typeof: Boolean,
  61. default: false,
  62. },
  63. refundDetail: {
  64. typeof: Object,
  65. default: () => {
  66. return {};
  67. },
  68. },
  69. },
  70. data() {
  71. return {
  72. value: "",
  73. };
  74. },
  75. methods: {
  76. open() {},
  77. handleChange(name) {
  78. console.log(this.value);
  79. this.$emit("close", name);
  80. },
  81. },
  82. };
  83. </script>
  84. <style lang="scss" scoped>
  85. .title {
  86. text-align: center;
  87. font-size: 36rpx;
  88. color: #222;
  89. font-weight: 500;
  90. margin-top: 20rpx;
  91. }
  92. .radio-list {
  93. padding: 0 28rpx;
  94. margin-top: 40rpx;
  95. .refund {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. margin-bottom: 38rpx;
  100. .money {
  101. color: #555;
  102. font-size: 30rpx;
  103. }
  104. }
  105. }
  106. .radio {
  107. margin-bottom: 48rpx;
  108. }
  109. .btn {
  110. width: 94%;
  111. background-color: #fff;
  112. border: 2rpx solid #979797;
  113. border-radius: 44rpx;
  114. }
  115. ::v-deep .u-steps-item__content {
  116. margin-bottom: 70rpx;
  117. }
  118. </style>