billInfo.vue 3.4 KB

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