cash_info.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <template>
  2. <!-- 提现详情 -->
  3. <view class="application">
  4. <view class="application_e">
  5. <text class="num">{{ data.money || 0 }}</text>
  6. <text class="examine">
  7. {{ data.status === 1 ? '打款成功' : data.status === -1 ? '审核驳回' : data.status === 0 ? '处理中' : '' }}
  8. </text>
  9. </view>
  10. <view class="application_t">
  11. <view class="application_type">
  12. <text class="application_txt">提现类型</text>
  13. <view style="float: right;">
  14. <!-- <text class="ibonfont ibonweixinzhifu application_img" v-if="data.type === 1"></text>
  15. <text class="ibonfont application_img ibonumidd17" v-if="data.type === 2"></text>
  16. <text class="ibonfont application_img ibonhuodaofukuan" v-if="data.type === 3"></text> -->
  17. <text class="application_name">{{ data.bank_type || ""}}</text>
  18. </view>
  19. </view>
  20. <view style="margin:30upx 0 0 60upx;">
  21. <u-time-line>
  22. <u-time-line-item node-top="2">
  23. <template v-slot:node>
  24. <view class="u-node" style="background:#19be6b">
  25. <u-icon name="checkbox-mark" color="#fff" :size="24"></u-icon>
  26. </view>
  27. </template>
  28. <template v-slot:content>
  29. <view class="u-line-box" style="color:#333">
  30. <view class="u-order-desc">申请时间</view>
  31. <view class="u-order-time">{{ $_utils.formatDate(data.time) }}</view>
  32. </view>
  33. </template>
  34. </u-time-line-item>
  35. <u-time-line-item node-top="2">
  36. <template v-slot:node>
  37. <view class="u-node" :style="{ background: [1, -1].includes(data.status) ? '#19be6b' : '#d0d0d0' }">
  38. <u-icon name="checkbox-mark" color="#fff" :size="24"></u-icon>
  39. </view>
  40. </template>
  41. <template v-slot:content>
  42. <view class="u-line-box" :style="{ color: [1, -1].includes(data.status) ? '#333' : '#999999' }">
  43. <view class="u-order-desc">处理时间</view>
  44. <view class="u-order-time" v-if="data.audit_time">{{ $_utils.formatDate(data.audit_time) }}</view>
  45. </view>
  46. </template>
  47. </u-time-line-item>
  48. <u-time-line-item node-top="2">
  49. <template v-slot:node>
  50. <view class="u-node" :style="{ background: [1, -1].includes(data.status) ? '#19be6b' : '#d0d0d0' }">
  51. <u-icon name="checkbox-mark" color="#fff" :size="24"></u-icon>
  52. </view>
  53. </template>
  54. <template v-slot:content>
  55. <view class="u-line-box" :style="{ color: [1, -1].includes(data.status) ? '#333' : '#999999' }">
  56. <view class="u-order-desc" v-if="data.status===1">完成打款</view>
  57. <view class="u-order-desc" v-if="data.status===-1" style="color:red">审核驳回:{{data.audit_mono?data.audit_mono:""}}</view>
  58. <view class="u-order-time" v-if="data.audit_time">{{ $_utils.formatDate(data.audit_time) }}</view>
  59. </view>
  60. </template>
  61. </u-time-line-item>
  62. </u-time-line>
  63. </view>
  64. </view>
  65. </view>
  66. </template>
  67. <script>
  68. export default {
  69. data() {
  70. return {
  71. id: 0,
  72. isLoding: false,
  73. data: {}
  74. };
  75. },
  76. onLoad(options) {
  77. this.id = options.id;
  78. },
  79. onShow() {
  80. this.getPartnerApplyCashInfo();
  81. },
  82. methods: {
  83. getPartnerApplyCashInfo() {
  84. this.$u.api.getPartnerApplyCashInfo({id:this.id}).then(res=>{
  85. this.data = res.data;
  86. })
  87. }
  88. }
  89. };
  90. </script>
  91. <style lang="scss">
  92. body {
  93. background-color: $page-color-base;
  94. }
  95. .application {
  96. .application_e {
  97. text-align: center;
  98. height: 300upx;
  99. background-color: #ffffff;
  100. .num {
  101. font-weight: bold;
  102. font-size: 80upx;
  103. display: block;
  104. padding-top: 80upx;
  105. }
  106. .examine {
  107. color: #fd463e;
  108. font-size: 30upx;
  109. padding-top: 40upx;
  110. display: block;
  111. }
  112. }
  113. .application_t {
  114. margin-top: 20upx;
  115. background-color: #ffffff;
  116. height: 400upx;
  117. .application_type {
  118. height: 80upx;
  119. line-height: 80upx;
  120. border-bottom: 1px solid $page-color-base;
  121. font-size: 28upx;
  122. .application_txt {
  123. font-size: 26upx;
  124. padding-left: 20upx;
  125. float: left;
  126. }
  127. .application_img {
  128. margin-right: 10upx;
  129. font-size: 46;
  130. vertical-align: middle;
  131. }
  132. .ibonweixinzhifu {
  133. color: #04be02;
  134. }
  135. .ibonumidd17 {
  136. color: #108ee9;
  137. }
  138. .ibonhuodaofukuan {
  139. color: #f2b844;
  140. }
  141. .application_name {
  142. margin-right: 20upx;
  143. }
  144. }
  145. .u-node {
  146. width: 44rpx;
  147. height: 44rpx;
  148. border-radius: 100rpx;
  149. display: flex;
  150. justify-content: center;
  151. align-items: center;
  152. background: #d0d0d0;
  153. }
  154. .u-line-box {
  155. color: #999999;
  156. position: relative;
  157. }
  158. .u-order-desc {
  159. font-size: 28rpx;
  160. margin-bottom: 26rpx;
  161. }
  162. .u-order-time {
  163. font-size: 26rpx;
  164. float: right;
  165. margin-right: 20upx;
  166. position: absolute;
  167. top: 10upx;
  168. right: 20upx;
  169. }
  170. }
  171. }
  172. </style>