popup-module.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <template>
  2. <uni-popup background-color="#fff" ref="popup" type="bottom" borderRadius="10px 10px 10px 10px">
  3. <view class="p-24 box-border-box pop-box r-20">
  4. <view v-if="colorType<=4">
  5. <view class="r-40 p-20 box-border-box flex-stretch mb-48 box-shadow"
  6. :class="colorType === 1?'bgc-F92A3B-E70073':colorType === 2?'bgc-AB46FF-8125FE':colorType === 3?'bgc-00B6DC-0F62FA':'bgc-00C651-009B65'">
  7. <view class="mr-20 q-box fc-fff size-48"
  8. :class="colorType === 1?'bgc-F8516C':colorType === 2?'bgc-B768FF':colorType === 3?'bgc-33B2EB':'bgc-34CC79'">
  9. {{colorType === 1?'$':colorType === 2?'🏚':colorType === 3?'🛡':'🎁'}}
  10. </view>
  11. <view class="flex-direction flex-start">
  12. <view class="size-24 fc-fff sys-weight-600 mb-10 zw-box"
  13. :class="colorType === 1?'bgc-F8516C':colorType === 2?'bgc-B365FF':colorType === 3?'bgc-34B4EB':'bgc-34CA79'">
  14. 债务
  15. </view>
  16. <view class="fc-fff size-32 text-overflow-ellipsis-one mb-10">
  17. 优先担保贷款#2024-001
  18. </view>
  19. <view class="fc-fff hy-box size-24">
  20. 活跃的
  21. </view>
  22. </view>
  23. </view>
  24. <view class="p-tb30 bt-EDEEF0">
  25. <view class="p-30 box-border-box bgc-EEFAFF r-40 mb-48 box-shadow b-DBEAFE flex-stretch">
  26. <view class="ok-box r-circle bgc-DBEAFE box-border-box mr-20 center justify-center">
  27. <view class="checkmarkempty-box r-circle center justify-center">
  28. <uni-icons type="checkmarkempty" size="12" color="#155DFB"></uni-icons>
  29. </view>
  30. </view>
  31. <view class="flex-direction flex-start">
  32. <view class="center mb-10">
  33. <view class="size-28 mr-18 fc-1B388E">
  34. 尽职调查状态
  35. </view>
  36. <view class="size-24 yz-box fc-008235 sys-weight-600">
  37. 已验证
  38. </view>
  39. </view>
  40. <view class="size-24 fc-1547E6">
  41. 所有要求的文件均已验证并为最新文件
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="max-h">
  47. <view class="size-32 mb-20">
  48. 实体详情
  49. </view>
  50. <view class="b-F3F4F6-1 box-shadow sys-radius-20">
  51. <view class="p-30 box-border-box b-b-F3F4F6 center row-justify-sb" v-for="(item) in 14">
  52. <view class="size-28">
  53. 实体类型
  54. </view>
  55. <view class="size-28">
  56. 公司
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. <view v-else>
  63. <view class="max-h">
  64. <view class="size-32 mb-20">
  65. 评估结果
  66. </view>
  67. <view class="b-F3F4F6-1 box-shadow sys-radius-20">
  68. <view class="p-30 box-border-box b-b-F3F4F6 center row-justify-sb" >
  69. <view class="size-28">
  70. 评估单价
  71. </view>
  72. <view class="size-28">
  73. ¥{{(propertyRes.unit_price*1).toFixed(2)}}
  74. </view>
  75. </view>
  76. <view class="p-30 box-border-box b-b-F3F4F6 center row-justify-sb" >
  77. <view class="size-28">
  78. 评估总价
  79. </view>
  80. <view class="size-28">
  81. ¥{{propertyRes.total_price}}
  82. </view>
  83. </view>
  84. <view class="p-30 box-border-box b-b-F3F4F6 center row-justify-sb" >
  85. <view class="size-28">
  86. 评估维度
  87. </view>
  88. <view class="size-28">
  89. {{propertyRes.predict_msg}}
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. </uni-popup>
  97. </template>
  98. <script>
  99. import {predictProperty} from "@/api/valuation";
  100. export default {
  101. components: {},
  102. data() {
  103. return {
  104. colorType:3,
  105. propertyRes: {
  106. unit_price: '',
  107. total_price: '',
  108. predict_msg: '',
  109. },
  110. }
  111. },
  112. onLoad(data) {},
  113. mounted() {},
  114. methods: {
  115. openPop(colorType,data) {
  116. if (colorType !==undefined){
  117. this.colorType=colorType
  118. }
  119. if(colorType===5){
  120. this.propertyRes=data
  121. }
  122. this.$refs.popup.open()
  123. },
  124. setProperty(data) {
  125. }
  126. }
  127. }
  128. </script>
  129. <style lang="scss" scoped>
  130. .max-h{
  131. max-height: 40vh;
  132. overflow: auto;
  133. }
  134. .b-b-F3F4F6 {
  135. border-bottom: .1rpx solid #F3F4F6;
  136. }
  137. .pop-box {
  138. border-radius: 20rpx 20rpx 0 0;
  139. }
  140. .box-shadow {
  141. box-shadow: 5rpx 5rpx 5px 0 rgba(0, 0, 0, 0.2);
  142. }
  143. .q-box {
  144. width: 88rpx;
  145. height: 88rpx;
  146. line-height: 88rpx;
  147. text-align: center;
  148. border-radius: 30rpx;
  149. }
  150. .zw-box {
  151. padding: 4rpx 16rpx;
  152. display: inline-block;
  153. border-radius: 20rpx;
  154. }
  155. .hy-box {
  156. padding: 4rpx 16rpx;
  157. border-radius: 20rpx;
  158. background: #00CA52;
  159. }
  160. .bt-EDEEF0 {
  161. border-top: .1rpx solid #EDEEF0;
  162. }
  163. .b-DBEAFE {
  164. border: .1rpx solid #DBEAFE;
  165. }
  166. .yz-box {
  167. background: #DBFCE7;
  168. border-radius: 40rpx;
  169. padding: 4rpx 16rpx;
  170. border: .1rpx solid #B9F8CF;
  171. }
  172. .ok-box {
  173. width: 72rpx;
  174. height: 72rpx;
  175. }
  176. .checkmarkempty-box {
  177. width: 32rpx;
  178. height: 32rpx;
  179. border: 1rpx solid #155DFB;
  180. }
  181. </style>