Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

base-change-people.vue 4.8KB

2 anos atrás
1 ano atrás
2 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <template>
  2. <view class="content">
  3. <view class="item-tips">
  4. <view class="picture-wrapper">
  5. <view class="bg">
  6. <view class="">
  7. <view class="name">
  8. 人像面
  9. </view>
  10. <view class="value">
  11. 上传身份证的人像面
  12. </view>
  13. <view class="tip">
  14. <view class="tip-value">
  15. 拍摄规范
  16. </view>
  17. </view>
  18. </view>
  19. <image class="icon" :src="`${$imgUrl}applyCard/renxiang.png`"></image>
  20. </view>
  21. </view>
  22. <view class="picture-wrapper">
  23. <view class="bg">
  24. <view class="">
  25. <view class="name">
  26. 国徽面
  27. </view>
  28. <view class="value">
  29. 上传身份证的国徽面
  30. </view>
  31. <view class="tip">
  32. <view class="tip-value">
  33. 拍摄规范
  34. </view>
  35. </view>
  36. </view>
  37. <image class="icon" :src="`${$imgUrl}applyCard/guohui.png`"></image>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="shibie-wrapper">
  42. <view class="title">
  43. 个人信息
  44. </view>
  45. <view class="">
  46. <u-field required labelWidth="200" v-model="state.ocrData.conmpany" input-align='right' label="姓名">
  47. </u-field>
  48. <u-field required labelWidth="200" v-model="state.ocrData.type" input-align='right' label="性别">
  49. </u-field>
  50. <u-field required labelWidth="200" v-model="state.ocrData.card" input-align='right' label="证件号">
  51. </u-field>
  52. <u-field required labelWidth="200" v-model="state.ocrData.phone" input-align='right' label="地址">
  53. </u-field>
  54. <u-field required labelWidth="200" v-model="state.ocrData.phone" input-align='right' label="证件有效期">
  55. </u-field>
  56. <u-field required labelWidth="200" v-model="state.ocrData.phone" input-align='right' label="联系方式">
  57. </u-field>
  58. </view>
  59. </view>
  60. <view class="action">
  61. <button type="default" class="button" @click="savaHandle()">确认修改</button>
  62. </view>
  63. </view>
  64. </template>
  65. <script setup lang="ts">
  66. import {
  67. reactive
  68. } from "vue";
  69. const savaHandle = () => {
  70. console.log('执行点击事件')
  71. // uni.navigateTo({
  72. // url: '/pages/orders/car-release'
  73. // })
  74. };
  75. const tabChange = (val) => {
  76. if (val) {
  77. state.isMyPeopple = true;
  78. } else {
  79. state.isMyPeopple = false;
  80. }
  81. };
  82. const state = reactive({
  83. ocrData: {
  84. 'conmpany': '贵州市空间加快速度公司',
  85. 'type': '企业营业执照',
  86. 'card': 'GZ2364174132894',
  87. 'address': '贵州省贵阳市xxxxxxxxxxx',
  88. 'phone': '18083636113'
  89. },
  90. isMyPeopple: true,
  91. buchongData: {
  92. 'conmpany': '李某一',
  93. 'type': '居民身份证',
  94. 'card': '23728347626342332',
  95. 'phone': ''
  96. },
  97. })
  98. </script>
  99. <style lang="scss" scoped>
  100. .content {
  101. padding: 50rpx 30rpx 50rpx 30rpx;
  102. .action {
  103. margin-top: 60rpx;
  104. padding-left: 20rpx;
  105. padding-right: 20rpx;
  106. padding-bottom: 30rpx;
  107. .button {
  108. height: 80rpx;
  109. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  110. border-radius: 40rpx;
  111. font-size: 32rpx;
  112. font-weight: 400;
  113. color: #FFFFFF;
  114. line-height: 80rpx;
  115. }
  116. }
  117. .item-tips {
  118. .title {
  119. font-size: 30rpx;
  120. font-family: Microsoft YaHei;
  121. font-weight: 400;
  122. color: #000000;
  123. line-height: 24rpx;
  124. }
  125. .tip {
  126. margin-top: 16rpx;
  127. font-size: 24rpx;
  128. font-family: Microsoft YaHei;
  129. font-weight: 400;
  130. color: #999999;
  131. line-height: 24rpx;
  132. }
  133. }
  134. .picture-wrapper {
  135. margin-top: 40rpx;
  136. .bg {
  137. background: #FFFFFF;
  138. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  139. border-radius: 20rpx;
  140. padding: 40rpx;
  141. display: flex;
  142. // align-items: center;
  143. justify-content: space-between;
  144. .name {
  145. font-size: 34rpx;
  146. font-family: Microsoft YaHei;
  147. font-weight: 400;
  148. color: #000000;
  149. line-height: 34rpx
  150. }
  151. .value {
  152. margin-top: 20rpx;
  153. font-size: 24rpx;
  154. font-family: Microsoft YaHei;
  155. font-weight: 400;
  156. color: #999999;
  157. line-height: 24rpx;
  158. }
  159. .tip {
  160. margin-top: 20rpx;
  161. text-align: center;
  162. width: 110rpx;
  163. height: 40rpx;
  164. background: rgba(33, 190, 177, 0.2);
  165. border-radius: 6rpx;
  166. .tip-value {
  167. font-size: 20rpx;
  168. font-family: Microsoft YaHei;
  169. font-weight: 400;
  170. color: #0A8F8A;
  171. line-height: 40rpx;
  172. opacity: 1;
  173. }
  174. }
  175. }
  176. .icon {
  177. width: 294rpx;
  178. height: 188rpx;
  179. }
  180. }
  181. .shibie-wrapper {
  182. margin-top: 60rpx;
  183. .title {
  184. font-size: 30rpx;
  185. font-family: Microsoft YaHei;
  186. font-weight: 400;
  187. color: #000000;
  188. line-height: 30rpx;
  189. }
  190. }
  191. .buchong-wrapper {
  192. margin-top: 60rpx;
  193. .title {
  194. font-size: 30rpx;
  195. font-family: Microsoft YaHei;
  196. font-weight: 400;
  197. color: #000000;
  198. line-height: 30rpx;
  199. }
  200. }
  201. .green-tip {
  202. margin-top: 50rpx;
  203. font-size: 24rpx;
  204. font-family: Microsoft YaHei;
  205. font-weight: 400;
  206. color: #00B38B;
  207. line-height: 24rpx;
  208. margin-bottom: 60rpx;
  209. }
  210. }
  211. </style>