billInfo.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="pay-success" v-if="!loading">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <view class="pay-section" :class="'bg-1'">
  6. <image class="bg" src="/static/image/wallet/money-bg.png"></image>
  7. <view class="tips-wrapper">
  8. <text class="icon iconfont icon-xwtubiaoku-13"></text>
  9. <view class="content">
  10. <text class="title" v-if="orderDetail.auditingStatus=='2'">提现审核中!</text>
  11. <text class="title" v-if="orderDetail.auditingStatus=='3'">提现成功!</text>
  12. <!-- <view class="tip" v-if="orderDetail.auditingStatus=='2'">请耐心等待</view>
  13. <view class="tip" v-if="orderDetail.auditingStatus=='3'">感谢您的使用</view> -->
  14. </view>
  15. </view>
  16. </view>
  17. <view class="pay-card">
  18. <view class="pay-card-money">¥{{ orderDetail.amount.toFixed(2) }}</view>
  19. <view class="item"><text class="tit">订单编号:</text>{{ orderDetail.id }}</view>
  20. <view class="item"><text class="tit">申请时间:</text>{{ orderDetail.createTime}}</view>
  21. <view class="item" v-if="orderDetail.auditingStatus=='3'"><text
  22. class="tit">到账时间:</text>{{ orderDetail.paytime }}</view>
  23. <view class="item"><text class="tit">提现账户:</text>{{ orderDetail.bankNumber }}</view>
  24. <view class="item"><text class="tit">提现银行:</text>{{ orderDetail.bankAccount }}</view>
  25. <view class="item" v-if="orderDetail.applytype=='A'"><text class="tit">提现类型:</text>账户余额提现</view>
  26. <view class="item" v-if="orderDetail.applytype=='B'"><text class="tit">提现类型:</text>推广佣金提现</view>
  27. </view>
  28. <view class="btn-group">
  29. <button class="confirm-btn main-bg-color" :class="'bg-1'" @tap="toHome">返回首页</button>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {
  37. loading: false,
  38. orderId: '',
  39. orderDetail: {}
  40. };
  41. },
  42. onLoad() {
  43. const eventChannel = this.getOpenerEventChannel()
  44. // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
  45. eventChannel.on('acceptData', (data) => {
  46. console.log(data);
  47. if (!!data) {
  48. this.orderDetail = data.item; //车辆信息
  49. }
  50. })
  51. },
  52. methods: {
  53. // 返回主页
  54. toHome() {
  55. this.navigate({
  56. url: '/pages/index/index'
  57. }, 'reLaunch', true)
  58. }
  59. }
  60. };
  61. </script>
  62. <style lang="scss" scoped>
  63. @import '@/style/mixin.scss';
  64. page {
  65. background-color: #f5f5f5;
  66. }
  67. .bg-1 {
  68. background-color: $themeColor;
  69. color: #FFFFFF;
  70. }
  71. .pay-success {
  72. .pay-section {
  73. height: 400upx;
  74. overflow: hidden;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. .bg {
  79. position: absolute;
  80. left: 0;
  81. top: 0;
  82. width: 100vw;
  83. height: 60vw;
  84. }
  85. .tips-wrapper {
  86. display: flex;
  87. align-items: center;
  88. justify-content: center;
  89. color: #fff;
  90. .iconfont {
  91. font-size: 110upx;
  92. margin-right: 20upx;
  93. }
  94. .content {
  95. .title {
  96. font-size: 36upx;
  97. }
  98. .tip {
  99. font-size: 26upx;
  100. }
  101. }
  102. }
  103. }
  104. .pay-card {
  105. width: 90%;
  106. height: 620upx;
  107. background-color: #fff;
  108. border-radius: 12upx;
  109. margin: -80upx 5% 0;
  110. box-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.05);
  111. .pay-card-money {
  112. text-align: center;
  113. font-size: 44upx;
  114. padding: 20upx 0;
  115. color: #000;
  116. font-weight: 500;
  117. border-bottom: 1upx solid rgba(0, 0, 0, 0.05);
  118. }
  119. .item {
  120. height: 80upx;
  121. line-height: 80upx;
  122. margin-left: 30upx;
  123. color: #303133;
  124. .tit {
  125. color: #909399;
  126. }
  127. }
  128. }
  129. .btn-group {
  130. padding: 60upx 30upx 0;
  131. .confirm-btn {
  132. margin-top: 30upx;
  133. }
  134. }
  135. }
  136. </style>