index.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <view>
  3. <view class="header-box"></view>
  4. <view class="header-title">
  5. <text style="margin-top: 4%;">已提现(元)</text>
  6. <text style="margin-top: 2%;font-size: 36rpx;">165.25</text>
  7. <view class="apply-cash-box" @click.stop="goApplyCash">
  8. <text>申请提现</text>
  9. <image src="/static/arrow-go2.png" mode=""></image>
  10. </view>
  11. </view>
  12. <view class="count-deatil-box">
  13. <view class="count-detail-title">
  14. 提现明细
  15. </view>
  16. <view class="leader-info" v-for="item in teamList" :key='item.id'>
  17. <view class="leader-column">
  18. <view>
  19. <text style="font-size: 30rpx;">{{item.time}}</text>
  20. </view>
  21. </view>
  22. <view class="display-column">
  23. <view class="count-sum">
  24. {{item.money}}
  25. </view>
  26. <view class="count-sum" style="color: #ccc;">
  27. {{item.status}}
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. title: 'selfCenter',
  39. teamList: [
  40. {
  41. name: '晚霞',
  42. money: '28.35',
  43. time: '2019-02-14 00:00',
  44. status:'进行中',
  45. id: 1
  46. },
  47. {
  48. name: '午霞',
  49. money: '66.12',
  50. time: '2019-02-15 00:00',
  51. status:'已到账',
  52. id: 2
  53. },
  54. {
  55. name: '午霞A',
  56. money: '32.15',
  57. time: '2019-02-15 01:00',
  58. status:'进行中',
  59. id:3
  60. },
  61. {
  62. name: '午霞2',
  63. money: '12.00',
  64. time: '2019-02-16 00:00',
  65. status:'已到账',
  66. id: 4
  67. }
  68. ]
  69. };
  70. },
  71. onLoad() {
  72. },
  73. methods: {
  74. goApplyCash(){
  75. uni.navigateTo({
  76. url: '/pages/selfCenter/cashoutPage/applyPage/index',
  77. success: res => {},
  78. fail: () => {},
  79. complete: () => {}
  80. });
  81. }
  82. }
  83. };
  84. </script>
  85. <style>
  86. .header-box {
  87. width: 100%;
  88. height: 180rpx;
  89. background: #1a9ed3;
  90. }
  91. .header-title {
  92. width: 93%;
  93. height: 150rpx;
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. background: #fff;
  98. z-index: 99;
  99. border-radius: 10rpx;
  100. font-size: 30rpx;
  101. margin: -13% auto;
  102. margin-bottom: 3%;
  103. position: relative;
  104. }
  105. .count-sum {
  106. color: red;
  107. font-size: 28rpx;
  108. }
  109. .count-deatil-box {
  110. width: 93%;
  111. border-radius: 10rpx;
  112. display: flex;
  113. flex-direction: column;
  114. align-items: center;
  115. background: #fff;
  116. margin: 0 auto;
  117. }
  118. .count-detail-title {
  119. width: 89%;
  120. border-bottom: 1px solid #dbdbdb;
  121. padding: 10px;
  122. font-size: 32rpx;
  123. }
  124. .leader-info {
  125. width: 90%;
  126. display: flex;
  127. align-items: center;
  128. background: #fff;
  129. padding: 20rpx;
  130. border-bottom: 1px solid #ccc;
  131. }
  132. .leader-column {
  133. display: flex;
  134. flex-direction: column;
  135. justify-content: space-between;
  136. height: 90rpx;
  137. font-size: 28rpx;
  138. margin-right: 20%;
  139. width: 400rpx;
  140. line-height: 90rpx;
  141. }
  142. .display-column {
  143. display: flex;
  144. flex-direction: column;
  145. align-items: center;
  146. justify-content: space-around;
  147. }
  148. .apply-cash-box {
  149. position: absolute;
  150. right: 5px;
  151. top: 14px;
  152. display: flex;
  153. align-items: center
  154. }
  155. .apply-cash-box image {
  156. width: 48rpx;
  157. height: 48rpx;
  158. }
  159. </style>