index_column.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <template>
  2. <view class="row-c m-t20">
  3. <view class="column_item sys-background-dominant r-30 column-justify-sb" v-if="!is_admin">
  4. <view class="column_build column-c">
  5. <view class="row-c">
  6. <image class="wh-80 m-r30" src="/static/img/index/index-add.png" mode="">
  7. </image>
  8. <text class="text-color-fff sys-weight-600 size-30">新建任务</text>
  9. </view>
  10. </view>
  11. <view class="column_record row-justify-sb center p-lr20">
  12. <view class="column_task">
  13. <view class="row-c m-b16 column-c justify-center line-30">
  14. <text class="size-26 text-color-fff">任务记录</text>
  15. </view>
  16. <text class="column_record_num text-color-fff size-24 text-center r-12 line-30 p-tb6">
  17. 创建中(2)
  18. </text>
  19. </view>
  20. <view class="column_line"></view>
  21. <view class="column_task">
  22. <view class="row-c m-b16 column-c justify-center line-30">
  23. <text class="size-26 text-color-fff">征信审核</text>
  24. </view>
  25. <text class="column_record_num text-color-fff size-24 text-center r-12 line-30 p-tb6">
  26. 待验证(2)
  27. </text>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="column_item column-justify-sb" v-else>
  32. <view class="column column_loan justify-center r-30 p-lr24">
  33. <view class="row-c">
  34. <view class="sys-background-dominant r-10" style="width: 8rpx;height: 24rpx;">
  35. </view>
  36. <text class="text-color-12 sys-weight-600 size-24 m-l10">今日放款</text>
  37. </view>
  38. <view class="row-justify-sb center m-t20 line-40">
  39. <text class="sys-weight-600" style="color: #02154E;">13678.45万</text>
  40. <view class="row-c">
  41. <text style="color: #02154E;padding-right: 6rpx;">34</text>
  42. <text class="size-24 text-color-999">笔</text>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="column column_proceeds justify-center r-30 p-lr24">
  47. <view class="row-c">
  48. <view class="sys-background-dominant r-10" style="width: 8rpx;height: 24rpx;">
  49. </view>
  50. <text class="text-color-12 sys-weight-600 size-24 m-l10">今日回款</text>
  51. </view>
  52. <view class="row-justify-sb center m-t20 line-40">
  53. <text class="sys-weight-600" style="color: #02154E;">78459.80万</text>
  54. <view class="row-c">
  55. <text style="color: #02154E;padding-right: 6rpx;">56</text>
  56. <text class="size-24 text-color-999">笔</text>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="column_item m-l20 column-justify-sb">
  62. <view class="task_item row-justify center r-30" @click="onGetTask">
  63. <view class="m-l40" style="position: relative;">
  64. <image class="wh-90 r-circle m-r20" src="/static/img/index/index-task.png" mode="">
  65. </image>
  66. <view class="task_num text-color-fff size-20" style="">
  67. 12
  68. </view>
  69. </view>
  70. <text class="text-color-12 sys-weight-600">领取任务</text>
  71. </view>
  72. <view class="task_message row-justify center r-30" @click="onMessage">
  73. <view class="m-l40" style="position: relative;">
  74. <image class="wh-90 r-circle m-r20" src="/static/img/index/index-money.png" mode="">
  75. </image>
  76. <view class="task_num text-color-fff size-20" style="">
  77. 12
  78. </view>
  79. </view>
  80. <text class="text-color-12 sys-weight-600">任务消息</text>
  81. </view>
  82. </view>
  83. </view>
  84. </template>
  85. <script>
  86. export default {
  87. name: 'index_column',
  88. props: {
  89. is_admin: {
  90. type: Boolean,
  91. default: false
  92. },
  93. data: {
  94. type: Object,
  95. default: () => {}
  96. },
  97. },
  98. data() {
  99. return {
  100. }
  101. },
  102. methods: {
  103. onGetTask() {
  104. uni.navigateTo({
  105. url: "/page_task/gain_task/gain_task"
  106. })
  107. },
  108. onMessage() {
  109. uni.navigateTo({
  110. url: "/page_subpack/message/message"
  111. })
  112. },
  113. }
  114. }
  115. </script>
  116. <style lang="scss" scoped>
  117. .column_item {
  118. width: 50%;
  119. height: 300rpx;
  120. }
  121. .column_build {
  122. height: 160rpx;
  123. line-height: 160rpx;
  124. }
  125. .column_line {
  126. width: 1rpx;
  127. margin: 0 6rpx;
  128. height: 88rpx;
  129. background: #FFFFFF;
  130. opacity: 0.5;
  131. }
  132. .column_record {
  133. height: 140rpx;
  134. background-color: rgba(255, 255, 255, 0.2);
  135. border-radius: 16rpx 16rpx 30rpx 30rpx;
  136. }
  137. .column_task {
  138. width: 140rpx;
  139. text-align: center;
  140. }
  141. .column_record_num {
  142. background-color: rgba(0, 0, 0, 0.2);
  143. opacity: 0.7;
  144. line-height: 40rpx;
  145. padding: 0 16rpx;
  146. display: block;
  147. height: 46rpx;
  148. line-height: 46rpx;
  149. }
  150. .column_loan {
  151. height: 140rpx;
  152. background: linear-gradient(180deg, #94ECE1 0%, rgba(255, 255, 255, 1) 100%);
  153. }
  154. .column_proceeds {
  155. height: 140rpx;
  156. background: linear-gradient(180deg, #FFF5DA 0%, rgba(255, 255, 255, 1) 100%);
  157. }
  158. .task_item {
  159. height: 140rpx;
  160. background: linear-gradient(180deg, #FFEEDA 0%, rgba(255, 255, 255, 1) 100%);
  161. }
  162. .task_message {
  163. height: 140rpx;
  164. background: linear-gradient(180deg, #DAF4FF 0%, rgba(255, 255, 255, 1) 100%);
  165. }
  166. .task_num {
  167. border-radius: 40rpx;
  168. background: red;
  169. padding: 2rpx 10rpx;
  170. position: absolute;
  171. right: 10rpx;
  172. top: -10rpx;
  173. line-height: 30rpx;
  174. }
  175. </style>