property.vue 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <template>
  2. <view class="total-page page-env-160 page-box container task-bg">
  3. <Nav :title="title" :genre="4" is_fixed :opacity="scrollTop"></Nav>
  4. <view class="m-t30" :style="{top:`${$tools.topHeight()+10}px`}">
  5. <view class="m-lr30">
  6. <!-- <view class="">
  7. <view class="collapse-title page-box-bg-fff r-30 p-30 m-lr30" @click="show = !show">
  8. <view class="row-justify-sb center">
  9. <view class="row-c">
  10. <image class="wh-60" src="/static/img/information/house.png" mode=""></image>
  11. <text class="size-28 sys-weight-600 m-l20">房产信息</text>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="content sys-list-background-color p-lr30" v-if="show">
  16. <House></House>
  17. </view>
  18. </view> -->
  19. <uni-collapse accordion class="">
  20. <uni-collapse-item titleBorder="none" :border="false"
  21. class="collapse-item-house page-box-bg-fff p-30 r-30">
  22. <template v-slot:title>
  23. <view class="row-justify-sb center">
  24. <view class="row-c">
  25. <image class="wh-60" src="/static/img/information/house.png" mode=""></image>
  26. <text class="size-28 sys-weight-600 m-l20">房产信息</text>
  27. </view>
  28. </view>
  29. </template>
  30. <view class="content">
  31. <House></House>
  32. </view>
  33. </uni-collapse-item>
  34. <uni-collapse-item titleBorder="none" :border="false" class="collapse-item-car p-30 r-30">
  35. <template v-slot:title class="page-box-bg-fff">
  36. <view class="row-justify-sb center">
  37. <view class="row-c">
  38. <image class="wh-60" src="/static/img/information/car.png" mode=""></image>
  39. <text class="size-28 sys-weight-600 m-l20">车辆信息</text>
  40. </view>
  41. </view>
  42. </template>
  43. <view class="content">
  44. <House></House>
  45. </view>
  46. </uni-collapse-item>
  47. <uni-collapse-item titleBorder="none" :border="false"
  48. class="collapse-item-guarantee page-box-bg-fff p-30 r-30">
  49. <template v-slot:title>
  50. <view class="row-justify-sb center">
  51. <view class="row-c">
  52. <image class="wh-60" src="/static/img/information/car.png" mode=""></image>
  53. <text class="size-28 sys-weight-600 m-l20">保单信息</text>
  54. </view>
  55. </view>
  56. </template>
  57. <view class="content">
  58. <House></House>
  59. </view>
  60. </uni-collapse-item>
  61. <uni-collapse-item titleBorder="none" :border="false"
  62. class="collapse-item-company page-box-bg-fff p-30 r-30">
  63. <template v-slot:title>
  64. <view class="row-justify-sb center">
  65. <view class="row-c">
  66. <image class="wh-60" src="/static/img/information/car.png" mode=""></image>
  67. <text class="size-28 sys-weight-600 m-l20">企业信息</text>
  68. </view>
  69. </view>
  70. </template>
  71. <view class="content">
  72. <House></House>
  73. </view>
  74. </uni-collapse-item>
  75. </uni-collapse>
  76. </view>
  77. </view>
  78. <EnButton is_both :leftText="'保存'" :rightText="'提交'" @onLeftSubmit="onLeftSubmit" @onSubmit="onSubmit">
  79. </EnButton>
  80. </view>
  81. </template>
  82. <script>
  83. import Car from "./components/car.vue"
  84. import Company from "./components/company.vue"
  85. import House from "./components/house.vue"
  86. import Guarantee from "./components/guarantee.vue"
  87. export default {
  88. components: {
  89. Car,
  90. House,
  91. Company,
  92. Guarantee
  93. },
  94. data() {
  95. return {
  96. show: false,
  97. showTitlt: false,
  98. title: '',
  99. fixedHeight: 0,
  100. scrollTop: 0,
  101. informationList: [{
  102. name: '身份信息',
  103. explain: '身份证、婚姻、职业、社保信息',
  104. icon: '/static/img/task/task-identity.png',
  105. path: '/page_task/identity/identity',
  106. type: 1,
  107. is_finish: false
  108. }, {
  109. name: '资产信息',
  110. explain: '房产、车辆等资产',
  111. icon: '/static/img/task/task-property.png',
  112. type: 2,
  113. is_finish: false
  114. }, {
  115. name: '申请信息',
  116. explain: '贷款额度信息',
  117. icon: '/static/img/task/task-apply.png',
  118. type: 3,
  119. is_finish: false
  120. }, {
  121. name: '联系人信息',
  122. explain: '其他联系人',
  123. icon: '/static/img/task/task-contacts.png',
  124. type: 4,
  125. is_finish: false
  126. }, {
  127. name: '征信信息',
  128. explain: '银行征信信息',
  129. icon: '/static/img/task/task-credit.png',
  130. type: 5,
  131. is_finish: false
  132. }, ]
  133. }
  134. },
  135. onPageScroll(res) {
  136. this.scrollTop = res.scrollTop / 120
  137. },
  138. onLoad(options) {
  139. this.title = options.title
  140. },
  141. methods: {
  142. onAuthentication(item) {
  143. uni.navigateTo({
  144. url: `${item.path}?title=${item.name}`
  145. })
  146. },
  147. onLeftSubmit() {
  148. console.log('预览');
  149. },
  150. onSubmit() {
  151. console.log('提交资料');
  152. },
  153. }
  154. }
  155. </script>
  156. <style lang="scss" scoped>
  157. .info_button {
  158. width: 130rpx;
  159. height: 60rpx;
  160. border: none;
  161. line-height: 60rpx;
  162. }
  163. .property_content {
  164. width: 100%;
  165. position: absolute;
  166. }
  167. /deep/ .uni-collapse {
  168. // background-color: #EEF1F7 !important;
  169. border-radius: 30rpx;
  170. }
  171. uni-collapse-item {
  172. margin-bottom: 20rpx;
  173. }
  174. button::after {
  175. border: none;
  176. }
  177. .collapse-item-house {
  178. background: linear-gradient(180deg, rgba(255, 92, 0, 0.1) 0%, rgba(255, 255, 255, 1) 60rpx);
  179. }
  180. .collapse-item-car {
  181. background: linear-gradient(180deg, rgba(0, 163, 255, 0.1) 0%, rgba(255, 255, 255, 1) 60rpx);
  182. }
  183. .collapse-item-guarantee {
  184. background: linear-gradient(180deg, rgba(0, 255, 194, 0.1) 0%, rgba(255, 255, 255, 1) 60rpx);
  185. }
  186. .collapse-item-company {
  187. background: linear-gradient(180deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 255, 255, 1) 60rpx);
  188. }
  189. </style>