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

315 lines
8.0 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
5 years ago
  1. <template>
  2. <view class="lf-w-100 lf-h-100">
  3. <view class="head-top">
  4. <view class="lf-row-between pic-top">
  5. <view class="lf-row-round">
  6. <view>
  7. <!-- <lf-image style="width: 160rpx;height: 160rpx;" src="../../static/logo.png"></lf-image> -->
  8. <image src="../../static/logo.png" mode="widthFix" class="head-pic"></image>
  9. </view>
  10. <view class="head-left">
  11. <view class="head-name" @click="$url('/pages/my/editInfo')">编号73894 <u-icon name="arrow-right lf-m-l-20"></u-icon></view>
  12. <view class="head-text">资料审核中</view>
  13. </view>
  14. </view>
  15. <view class="lf-bg-white span-btn1" @click="$url('/pages/my/exclusiveMatch')">
  16. 绑定手机号
  17. </view>
  18. </view>
  19. <view class="lf-row-between" style="height: 98rpx;padding: 0 32rpx;">
  20. <view class="lf-row-round lf-flex-column" @click="showRedthread()">
  21. <view class="lf-font-32 lf-color-white">0</view>
  22. <view class="lf-font-24 lf-color-white lf-p-t-20">红线</view>
  23. </view>
  24. <!-- <view class="lf-row-round lf-flex-column" @click="showPeachblossom()">
  25. <view class="lf-font-32 lf-color-white">5</view>
  26. <view class="lf-font-24 lf-color-white lf-p-t-20">桃花</view>
  27. </view> -->
  28. <view class="lf-row-round lf-flex-column" @click="$url('/pages/my/seeMe')">
  29. <view class="lf-font-32 lf-color-white">0</view>
  30. <view class="lf-font-24 lf-color-white lf-p-t-20">谁看过我</view>
  31. </view>
  32. <view class="lf-row-round lf-flex-column" @click="$url('/pages/my/likeMe')">
  33. <view class="lf-font-32 lf-color-white">0</view>
  34. <view class="lf-font-24 lf-color-white lf-p-t-20">喜欢我的</view>
  35. </view>
  36. <view class="lf-row-round lf-flex-column">
  37. <view class="lf-font-32 lf-color-white">70%</view>
  38. <view class="lf-font-24 lf-color-white lf-p-t-20">资料完整</view>
  39. </view>
  40. </view>
  41. <!-- <view class="head-top-wrap lf-w-100 lf-h-100">
  42. <view class="lf-w-100 tips-wrap">
  43. <view class="tips">
  44. <view class="lf-row-round lf-w-100 lf-h-100 lf-p-b-12">
  45. <view class="lf-color-white lf-font-28">VIP会员拥有专属权益</view>
  46. <view class="lf-bg-white span-btn" @click="$url('/pages/my/memberVip')">
  47. 了解详情
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view> -->
  53. </view>
  54. <view class="adv">
  55. <view>
  56. <!-- <image src="../../static/logo.png" mode="widthFix" class="adv-pic"></image> -->
  57. <view class="logo-my">
  58. <text class="lf-iconfont icon-dingzhi" style="font-size: 60rpx;color: white;"></text>
  59. </view>
  60. </view>
  61. <view class="adv-content">
  62. <view class="lf-color-222 lf-font-32 lf-m-b-15">
  63. 专属服务定制
  64. </view>
  65. <view class="lf-color-777">促成您和心仪对象线下见面 <u-icon class="lf-m-l-20" name="arrow-right"></u-icon></view>
  66. </view>
  67. </view>
  68. <view class="classify lf-m-t-30">
  69. <view class="card" v-for="(item,index) in list" :key="index" @click="$url(item.path)">
  70. <view class="lf-row-center" style="align-content: center;">
  71. <!-- <u-icon class="classify-icon" :name="item.icon"></u-icon> -->
  72. <image class="classify-icon" :src="item.pic" mode="aspectFill"></image>
  73. </view>
  74. <view>
  75. {{item.name}}
  76. </view>
  77. </view>
  78. </view>
  79. <view style="height: 30rpx;"></view>
  80. </view>
  81. </template>
  82. <script scoped="scoped">
  83. export default {
  84. data() {
  85. return {
  86. list: [
  87. {name: '我的红娘',icon:'github-circle-fill',path: '/pages/my/exclusiveMatch',pic: '../../static/my/red.png'},
  88. {name: '实名认证',icon:'email',path: '/pages/my/authentication',pic: '../../static/my/authen.png'},
  89. {name: '我喜欢的',icon:'qzone',path: '/pages/my/collect',pic: '../../static/my/collect.png'},
  90. {name: '我的动态',icon:'moments',path:'/pages/my/qzone',pic: '../../static/my/qzone.png'},
  91. // {name: '福利中心',icon:'red-packet',path:'/pages/my/welfare',pic: '../../static/my/welhare.png'},
  92. {name: '公众号',icon:'google-circle-fill',path:'/pages/my/officialAccount',pic: '../../static/my/public.png'},
  93. {name: '联系客服',icon:'kefu-ermai',path: '/pages/my/service',pic: '../../static/my/service.png'},
  94. // {name: '设置',icon:'setting',path: '/pages/my/setting',pic: '../../static/my/setting.png'}
  95. ]
  96. }
  97. },
  98. methods: {
  99. showRedthread() {
  100. uni.showModal({
  101. title: '红线说明',
  102. content: '红线可以用来联系其他会员,对方不接受则24小时后退还红线',
  103. showCancel: false,
  104. cancelText: '我知道了',
  105. confirmColor: '#E21196',
  106. success: function (res) {
  107. if (res.confirm) {
  108. console.log('用户点击确定');
  109. }
  110. }
  111. });
  112. },
  113. showPeachblossom() {
  114. uni.showModal({
  115. title: '桃花说明',
  116. content: '桃花可以用来发布动态、评论等,签到可以获得桃花',
  117. showCancel: false,
  118. cancelText: '我知道了',
  119. confirmColor: '#E21196',
  120. success: function (res) {
  121. if (res.confirm) {
  122. console.log('用户点击确定');
  123. }
  124. }
  125. });
  126. }
  127. }
  128. }
  129. </script>
  130. <style>
  131. page {
  132. background-color: #F5F5F5;
  133. }
  134. </style>
  135. <style lang="scss">
  136. .logo-my {
  137. width: 135rpx;
  138. height: 135rpx;
  139. background: linear-gradient(180deg, #FE3EA5 0%, #FE7251 100%);
  140. border-radius: 50%;
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. margin-right: 15rpx;
  145. }
  146. .head-top {
  147. width: 100%;
  148. //隐藏部分
  149. // height: 562rpx;
  150. height: 480rpx;
  151. position: relative;
  152. z-index: 9;
  153. /* background-color: red; */
  154. }
  155. .head-top-wrap {
  156. width: 100%;
  157. height: 180rpx;
  158. /* z-index: -1; */
  159. overflow: hidden;
  160. position: relative;
  161. }
  162. .head-top::after {
  163. content: '';
  164. width: 100%;
  165. //隐藏部分
  166. // height: 529rpx;
  167. height: 442rpx;
  168. position: absolute;
  169. left: 0;
  170. top: 0;
  171. z-index: -1;
  172. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  173. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  174. }
  175. .tips-wrap {
  176. overflow: hidden;
  177. height: 660rpx;
  178. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  179. position: absolute;
  180. top: -494rpx;
  181. }
  182. .tips {
  183. width: 686rpx;
  184. height: 125rpx;
  185. background-color: #314177;
  186. border-radius: 20rpx;
  187. position: relative;
  188. bottom: -536rpx;
  189. left: 0;
  190. margin: 0 auto;
  191. }
  192. .span-btn {
  193. border-radius: 25rpx;
  194. width: 149rpx;
  195. height: 50rpx;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. font-size: 24rpx;
  200. color: #314177;
  201. }
  202. .head-pic {
  203. width: 160rpx;
  204. height: 160rpx;
  205. border: 5rpx solid #FFFFFF;
  206. border-radius: 50%;
  207. }
  208. .adv-pic {
  209. width: 135rpx;
  210. height: 135rpx;
  211. border-radius: 50%;
  212. margin-right: 15rpx;
  213. }
  214. .head-text {
  215. font-size: 28rpx;
  216. color: #FFFFFF;
  217. font-weight: 400;
  218. line-height: 40rpx;
  219. }
  220. .pic-top {
  221. padding: 48rpx 32rpx 40rpx 48rpx;
  222. }
  223. .span-btn1 {
  224. border-radius: 25rpx;
  225. width: 149rpx;
  226. height: 50rpx;
  227. display: flex;
  228. align-items: center;
  229. justify-content: center;
  230. font-size: 24rpx;
  231. color: #E21196;
  232. font-weight: 400;
  233. line-height: 33rpx;
  234. }
  235. .head-name {
  236. font-weight: 500;
  237. color: #FFFFFF;
  238. line-height: 45rpx;
  239. letter-spacing: 1rpx;
  240. font-size: 32rpx;
  241. }
  242. .head-left {
  243. padding: 20rpx;
  244. height: 160rpx;
  245. display: flex;
  246. flex-direction: column;
  247. justify-content: space-evenly;
  248. }
  249. .adv {
  250. width: 686rpx;
  251. height: 195rpx;
  252. background-color: white;
  253. border-radius: 20rpx;
  254. margin: 0 auto;
  255. display: flex;
  256. padding: 0 0 0 30rpx;
  257. /* justify-content: space-around; */
  258. align-items: center;
  259. }
  260. .adv-content {
  261. display: flex;
  262. flex-direction: column;
  263. justify-content: space-around;
  264. }
  265. .classify {
  266. width: 686rpx;
  267. display: flex;
  268. background-color: white;
  269. border-radius: 20rpx;
  270. margin: 0 auto;
  271. flex-wrap: wrap;
  272. padding: 38rpx 30rpx;
  273. }
  274. .card {
  275. width: 116rpx;
  276. height: 116rpx;
  277. text-align: center;
  278. position: relative;
  279. overflow: hidden;
  280. margin-right: 54rpx;
  281. // margin-bottom: 68rpx;
  282. &:nth-child(4n) {
  283. margin-right: 0;
  284. }
  285. &:nth-child(n + 5) {
  286. margin-top: 68rpx;
  287. }
  288. }
  289. .classify-icon {
  290. height: 48rpx;
  291. width: 45rpx;
  292. font-size: 48rpx;
  293. margin-bottom: 22rpx;
  294. }
  295. </style>