金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.0 KiB

  1. <template>
  2. <view>
  3. <lf-nav :spreadOut="true" :showIcon="true" bgColor="#F8F8F8" title="会员资料"></lf-nav>
  4. <view class="lf-font-26 lf-color-primary lf-p-30 lf-row-center">
  5. 尊敬的会员完善资料可以让我们为您提供更贴切的服务
  6. </view>
  7. <view class="lf-p-l-32 lf-p-r-32">
  8. <view class="set-tag lf-border-bottom">
  9. <view class="lf-font-28 lf-color-black">
  10. *姓名
  11. </view>
  12. <view class="lf-flex">
  13. <input type="text" class="edit-input" placeholder="182****5380" />
  14. </view>
  15. </view>
  16. </view>
  17. <view class="lf-p-l-32 lf-p-r-32">
  18. <view class="set-tag lf-border-bottom">
  19. <view class="lf-font-28 lf-color-black">
  20. 国籍
  21. </view>
  22. <view class="lf-flex">
  23. <input type="text" class="edit-input" placeholder="请输入你的国籍" />
  24. </view>
  25. </view>
  26. </view>
  27. <view class="lf-p-l-32 lf-p-r-32">
  28. <view class="set-tag lf-border-bottom">
  29. <view class="lf-font-28 lf-color-black">
  30. 性别
  31. </view>
  32. <view class="lf-flex">
  33. <input type="text" class="edit-input" placeholder="男" />
  34. </view>
  35. </view>
  36. </view>
  37. <view class="lf-p-l-32 lf-p-r-32">
  38. <view class="set-tag lf-border-bottom">
  39. <view class="lf-font-28 lf-color-black">
  40. 出生日期
  41. </view>
  42. <view class="lf-flex">
  43. <input type="text" class="edit-input" placeholder="1999-12-12" />
  44. </view>
  45. </view>
  46. </view>
  47. <view class="lf-p-l-32 lf-p-r-32">
  48. <view class="set-tag lf-border-bottom">
  49. <view class="lf-font-28 lf-color-black">
  50. 身份证号
  51. </view>
  52. <view class="lf-flex">
  53. <input type="text" class="edit-input" placeholder="450111199912122232(不可修改)" />
  54. </view>
  55. </view>
  56. </view>
  57. <view class="lf-p-l-32 lf-p-r-32">
  58. <view class="set-tag lf-border-bottom">
  59. <view class="lf-font-28 lf-color-black">
  60. 通讯地址
  61. </view>
  62. <view class="lf-flex">
  63. <picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
  64. <text class="lf-font-28 lf-color-777">{{ marriage[marriage_index] || '请选择' }}</text>
  65. </picker>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="lf-p-l-32 lf-p-r-32">
  70. <view class="set-tag lf-border-bottom">
  71. <view class="lf-font-28 lf-color-black"></view>
  72. <view class="lf-flex">
  73. <input type="text" class="edit-input" placeholder="请输入您的详细地址" />
  74. </view>
  75. </view>
  76. </view>
  77. <view class="lf-p-l-32 lf-p-r-32">
  78. <view class="set-tag lf-border-bottom">
  79. <view class="lf-font-28 lf-color-black">
  80. 家庭地址
  81. </view>
  82. <view class="lf-flex">
  83. <input type="text" class="edit-input" placeholder="请输入您的家庭地址" />
  84. </view>
  85. </view>
  86. </view>
  87. <view class="lf-p-l-32 lf-p-r-32">
  88. <view class="set-tag lf-border-bottom">
  89. <view class="lf-font-28 lf-color-black">
  90. 学历
  91. </view>
  92. <view class="lf-flex">
  93. <input type="text" class="edit-input" placeholder="请输入您的学历" />
  94. </view>
  95. </view>
  96. </view>
  97. <view class="lf-font-26 lf-color-999 lf-p-30 lf-row-center">
  98. 温馨提示身份证号出生日期不支持线上修改如需修改请前往服务台办理
  99. </view>
  100. <button class="set-btn">退出账号</button>
  101. </view>
  102. </template>
  103. <script>
  104. export default {
  105. data() {
  106. return {
  107. marriage: ['已婚', '未婚'],
  108. }
  109. },
  110. methods: {
  111. getValue(current, event){
  112. this[current +'_index'] = event.detail.value;
  113. }
  114. }
  115. }
  116. </script>
  117. <style scoped lang="scss">
  118. // .input{
  119. // width: 400rpx;
  120. // text-align: right;
  121. // }
  122. .picker-w{
  123. width: 400rpx;
  124. text-align: right;
  125. }
  126. .set-btn {
  127. width: 550rpx;
  128. height: 100rpx;
  129. background: #15716E;
  130. border-radius: 50rpx;
  131. margin: 40rpx auto;
  132. font-size: 32rpx;
  133. color: white;
  134. }
  135. .edit-input {
  136. text-align: right;
  137. font-size: 28rpx;
  138. color: #777;
  139. }
  140. .set-tag {
  141. height: 100rpx;
  142. width: 100%;
  143. display: flex;
  144. align-items: center;
  145. justify-content: space-between;
  146. // border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  147. }
  148. /deep/.input-placeholder {
  149. font-size: 28rpx;
  150. color: #777;
  151. }
  152. </style>