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

155 lines
4.3 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <template>
  2. <view class="lf-w-100 lf-h-100">
  3. <view class="edit-head">
  4. <!-- @click="$url('/pages/my/photoImage')" -->
  5. <view>
  6. <lf-image :src="member.avatar_url" mode="aspectFill" style="width: 150rpx;height: 150rpx;border-radius: 10rpx;"></lf-image>
  7. </view>
  8. <!-- <view class="lf-font-32 lf-color-222">
  9. 点击上传形象照
  10. </view>
  11. <view class="lf-font-28 lf-color-777 lf-p-l-32 lf-p-r-32">
  12. 确保个人形象照片为本人清晰正脸照一张良好的形象照更能吸引到别人哦
  13. </view> -->
  14. </view>
  15. <!-- <view class="edit-tag">
  16. <view class="lf-row-between lf-w-100 lf-m-b-30">
  17. <view class="lf-color-222 lf-font-32 authen-title lf-p-l-20">内心独白</view>
  18. <view class="lf-font-28 lf-color-777" @click="$url('/pages/my/innerMonologue')">去编辑<u-icon name="arrow-right lf-m-l-15 lf-font-22"></u-icon></view>
  19. </view>
  20. <view class="lf-color-777 lf-font-28">
  21. 了解Ta的购车住房情况和家庭成员资料成员资料成员资料成员资料成员资料成员资料成员资料
  22. </view>
  23. </view> -->
  24. <view class="edit-tag edit-tag1" v-if="member.base && member.base.length">
  25. <view class="lf-row-between lf-w-100 lf-m-b-30">
  26. <view class="lf-color-222 lf-font-32 authen-title lf-p-l-20">基本资料</view>
  27. <!-- <view class="lf-font-28 lf-color-777" @click="$url('/pages/my/basicInformation')">去完善<u-icon name="arrow-right lf-m-l-15 lf-font-22"></u-icon></view> -->
  28. </view>
  29. <view class="lf-color-777 lf-font-28 tag-content">
  30. <view class="personal-tag" v-for="(item, index) in member.base" :key="index">{{ item }}</view>
  31. </view>
  32. </view>
  33. <view class="edit-tag edit-tag1" v-if="member.work && member.work.length">
  34. <view class="lf-row-between lf-w-100 lf-m-b-30">
  35. <view class="lf-color-222 lf-font-32 authen-title lf-p-l-20">工作经济家庭</view>
  36. <!-- <view class="lf-font-28 lf-color-777" @click="$url('/pages/my/workEconomy')">去完善<u-icon name="arrow-right lf-m-l-15 lf-font-22"></u-icon></view> -->
  37. </view>
  38. <view class="lf-color-777 lf-font-28 tag-content">
  39. <view class="personal-tag" v-for="(item, index) in member.work" :key="index">{{ item }}</view>
  40. </view>
  41. </view>
  42. <view class="edit-tag edit-tag1" v-if="member.require && member.require.length">
  43. <view class="lf-row-between lf-w-100 lf-m-b-30">
  44. <view class="lf-color-222 lf-font-32 authen-title lf-p-l-20">择偶要求</view>
  45. <!-- <view class="lf-font-28 lf-color-777" @click="$url('/pages/my/matePerfance')">去完善<u-icon name="arrow-right lf-m-l-15 lf-font-22"></u-icon></view> -->
  46. </view>
  47. <view class="lf-color-777 lf-font-28 tag-content">
  48. <view class="personal-tag" v-for="(item, index) in member.require" :key="index">{{ item }}</view>
  49. </view>
  50. </view>
  51. <!-- #ifdef H5 -->
  52. <view style="height: 10rpx;"></view>
  53. <!-- #endif -->
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. data() {
  59. return {
  60. member: {}
  61. }
  62. },
  63. onLoad(){
  64. this.getMemberDetail();
  65. },
  66. methods: {
  67. getMemberDetail(){
  68. this.$http(this.API.API_USER_DETAIL).then(res => {
  69. let member = res.data.member;
  70. this.member = member;
  71. })
  72. }
  73. }
  74. }
  75. </script>
  76. <style>
  77. page {
  78. background-color: #F5F5F5;
  79. }
  80. </style>
  81. <style lang="scss" scoped="scoped">
  82. .tag-content {
  83. width: 686rpx;
  84. flex-wrap: wrap;
  85. display: flex;
  86. }
  87. .edit-tag1 {
  88. height: 100%!important;
  89. }
  90. .personal-tag {
  91. width: max-content;
  92. padding: 8rpx 25rpx;
  93. height: 55rpx;
  94. border-radius: 28rpx;
  95. border: 1rpx solid #E21196;
  96. color: #E21196;
  97. font-size: 28rpx;
  98. margin-right: 15rpx;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. &:nth-child(4n) {
  103. margin-right: 0;
  104. }
  105. &:nth-child(n + 5) {
  106. margin-top: 20rpx;
  107. }
  108. }
  109. .edit-head {
  110. background-color: white;
  111. // height: 400rpx;
  112. height: 200rpx;
  113. width: 100%;
  114. display: flex;
  115. flex-direction: column;
  116. justify-content: space-around;
  117. align-items: center;
  118. }
  119. .edit-tag {
  120. width: 686rpx;
  121. height: 215rpx;
  122. background: #FFFFFF;
  123. border-radius: 10rpx;
  124. margin: 30rpx auto;
  125. display: flex;
  126. flex-direction: column;
  127. /* justify-content: space-around; */
  128. padding: 30rpx;
  129. }
  130. .edit-tag1 {
  131. height: 190rpx!important;
  132. }
  133. .authen-title {
  134. position: relative;
  135. }
  136. .authen-title::after {
  137. content: '';
  138. position: absolute;
  139. left: 0;
  140. top: 8rpx;
  141. width: 8rpx;
  142. height: 30rpx;
  143. background: #E21196;
  144. border-radius: 4rpx;
  145. }
  146. </style>