information.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <view class="total-page page-box">
  3. <Nav :title="title" :genre="1" :fixedHeight="105"></Nav>
  4. <view class="task-tabs" :style="{top:`${$tools.topHeight()}px`}">
  5. <view class="m-t20">
  6. <view class="creation_item row-justify-sb center sys-background-fff m-lr30 m-b20 p-30 r-20"
  7. v-for="(item,index) in informationList" :key="index" @click="onCeationTask(item)">
  8. <view class="row-c">
  9. <image class="wh-80 m-r20 r-100" :src="item.icon" mode="aspectFill"></image>
  10. <view>
  11. <text class="size-28 text-color-12 sys-weight-600">{{item.name}}</text>
  12. <view class="size-24 text-color-999 m-t10">{{item.explain}}</view>
  13. </view>
  14. </view>
  15. <view class="">
  16. <button class="button-background info_button sys-weight-500 text-color-fff size-26 r-100"
  17. type="default" hover-class="is-hover" v-if="!item.is_finish"
  18. @click="onAuthentication(item)">待上传</button>
  19. <button class="info_button sys-bg-CBCBCB sys-weight-500 text-color-fff size-26 r-100"
  20. v-else>已认证</button>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. <EnButton is_both :leftText="'预览'" :rightText="'提交资料'" @onLeftSubmit="onLeftSubmit" @onSubmit="onSubmit">
  26. </EnButton>
  27. </view>
  28. </template>
  29. <script>
  30. import TaskImgTab from "@/common/task/task_ima_tab.vue"
  31. export default {
  32. components: {
  33. TaskImgTab,
  34. },
  35. data() {
  36. return {
  37. title: '',
  38. informationList: [{
  39. name: '身份信息',
  40. explain: '身份证、婚姻、职业、社保信息',
  41. icon: '/static/img/task/task-identity.png',
  42. path: '/page_task/identity/identity',
  43. type: 1,
  44. is_finish: false
  45. }, {
  46. name: '资产信息',
  47. explain: '房产、车辆等资产',
  48. icon: '/static/img/task/task-property.png',
  49. path: '/page_task/property/property',
  50. type: 2,
  51. is_finish: false
  52. }, {
  53. name: '申请信息',
  54. explain: '贷款额度信息',
  55. icon: '/static/img/task/task-apply.png',
  56. path: '/page_task/apply/apply',
  57. type: 3,
  58. is_finish: false
  59. }, {
  60. name: '联系人信息',
  61. explain: '其他联系人',
  62. icon: '/static/img/task/task-contacts.png',
  63. type: 4,
  64. is_finish: false
  65. }, {
  66. name: '征信信息',
  67. explain: '银行征信信息',
  68. icon: '/static/img/task/task-credit.png',
  69. type: 5,
  70. is_finish: false
  71. }, ]
  72. }
  73. },
  74. onLoad(options) {
  75. this.title = options.title
  76. },
  77. methods: {
  78. onAuthentication(item) {
  79. uni.navigateTo({
  80. url: `${item.path}?title=${item.name}`
  81. })
  82. },
  83. onCeationTask() {},
  84. onLeftSubmit() {
  85. console.log('预览');
  86. },
  87. onSubmit() {
  88. console.log('提交资料');
  89. },
  90. }
  91. }
  92. </script>
  93. <style lang="scss" scoped>
  94. .info_button {
  95. width: 130rpx;
  96. height: 60rpx;
  97. border: none;
  98. line-height: 60rpx;
  99. }
  100. button::after {
  101. border: none;
  102. }
  103. </style>