详情小程序
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.

141 lines
4.7 KiB

  1. <template>
  2. <view>
  3. <view class="up-the-wall">
  4. <view class="lf-row-between">
  5. <view class="lf-font-32 lf-color-black">上传照片</view>
  6. </view>
  7. <scroll-view class="scroll-bar" :scroll-x="true">
  8. <view class="lf-flex lf-row-between lf-h-100 border-register">
  9. <view class="user-item" @click="$url('/pages/upTheWall/upTheWall')">
  10. <lf-image class="add-icon" src="../../static/images/add_icon.png"></lf-image>
  11. </view>
  12. <!-- <view class="user-item" v-for="item in 6" :key="item">
  13. <image class="avatar" src="https://picsum.photos/200"></image>
  14. <view class="lf-m-t-12 lf-color-555 lf-font-24 lf-line-1">编号 73949</view>
  15. </view> -->
  16. <view class="lf-color-777">
  17. 上传近期美照可更引人关注哦~
  18. </view>
  19. </view>
  20. </scroll-view>
  21. <view class="lf-row-between">
  22. <view class="lf-font-28 lf-color-333"><text class="lf-color-primary">*</text>微信号</view>
  23. <view class="lf-font-28 lf-color-333">_abcaca</view>
  24. </view>
  25. <view class="lf-p-t-30 lf-p-b-30 lf-font-24 lf-flex-column lf-color-777 border-register">
  26. <view>1.提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示</view>
  27. <view class="lf-m-t-10">2.提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示提示</view>
  28. </view>
  29. <view class="lf-row-between lf-p-t-30 lf-p-b-30 border-register">
  30. <view class="lf-font-28 lf-color-333"><text class="lf-color-primary">*</text>性别</view>
  31. <view class="lf-font-28 lf-color-333">
  32. <picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
  33. <text>{{ marriage[marriage_index] || '请选择' }}</text>
  34. </picker>
  35. </view>
  36. </view>
  37. <view class="lf-row-between lf-p-t-30 lf-p-b-30 border-register">
  38. <view class="lf-font-28 lf-color-333"><text class="lf-color-primary">*</text>婚宴状况</view>
  39. <view class="lf-font-28 lf-color-333">
  40. <picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
  41. <text>{{ marriage[marriage_index] || '请选择' }}</text>
  42. </picker>
  43. </view>
  44. </view>
  45. <view class="lf-row-between lf-p-t-30 lf-p-b-30 border-register">
  46. <view class="lf-font-28 lf-color-333"><text class="lf-color-primary">*</text>学历</view>
  47. <view class="lf-font-28 lf-color-333">
  48. <picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
  49. <text>{{ marriage[marriage_index] || '请选择' }}</text>
  50. </picker>
  51. </view>
  52. </view>
  53. <view class="lf-row-between lf-p-t-30 lf-p-b-30 border-register">
  54. <view class="lf-font-28 lf-color-333"><text class="lf-color-primary">*</text>年薪</view>
  55. <view class="lf-font-28 lf-color-333">
  56. <picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
  57. <text>{{ marriage[marriage_index] || '请选择' }}</text>
  58. </picker>
  59. </view>
  60. </view>
  61. <view class="lf-row-between lf-p-t-30 lf-p-b-30 border-register">
  62. <view class="lf-font-28 lf-color-333"><text class="lf-color-primary">*</text>生日</view>
  63. <view class="lf-font-28 lf-color-333">
  64. <picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
  65. <text>{{ marriage[marriage_index] || '请选择' }}</text>
  66. </picker>
  67. </view>
  68. </view>
  69. <button class="btn" hover-class="lf-opacity">下一步</button>
  70. </view>
  71. </view>
  72. </template>
  73. <script>
  74. export default {
  75. data(){
  76. return {
  77. marriage: ['已婚', '未婚'],
  78. marriage_index: null,
  79. birth_date: ''
  80. }
  81. },
  82. onLoad(){
  83. },
  84. methods: {
  85. getValue(current, event){
  86. this[current +'_index'] = event.detail.value;
  87. }
  88. }
  89. }
  90. </script>
  91. <style lang="scss" scoped>
  92. .border-register {
  93. border-bottom: 1px solid #f5f5f5;
  94. }
  95. .up-the-wall{
  96. width: 750rpx;
  97. height: max-content;
  98. padding: 21rpx 32rpx 0;
  99. .scroll-bar{
  100. width: 100%;
  101. height: 164rpx;
  102. padding: 30rpx 0;
  103. .user-item{
  104. width: 136rpx;
  105. margin-right: 40rpx;
  106. display: flex;
  107. justify-content: center;
  108. flex-wrap: wrap;
  109. &:last-child{
  110. margin-right: 0rpx;
  111. }
  112. }
  113. .add-icon{
  114. width: 110rpx;
  115. height: 110rpx;
  116. border-radius: 50%;
  117. }
  118. .avatar{
  119. width: 110rpx;
  120. height: 110rpx;
  121. border: 5rpx solid #E21196;
  122. border-radius: 50%;
  123. box-sizing: border-box;
  124. }
  125. }
  126. }
  127. .btn{
  128. width: 100%;
  129. height: 90rpx;
  130. line-height: 90rpx;
  131. margin-top: 60rpx;
  132. padding-bottom: 10rpx;
  133. background: #E21196;
  134. border-radius: 46rpx;
  135. color: #FFFFFF;
  136. }
  137. </style>