property.vue 5.5 KB

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