Application.vue 4.9 KB

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