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

314 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
  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: 184%;
  165. height: 440rpx;
  166. position: absolute;
  167. left: -312rpx;
  168. top: 0;
  169. z-index: -1;
  170. // border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  171. border-radius: 0 0 50% 50%;
  172. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  173. }
  174. .tips-wrap {
  175. overflow: hidden;
  176. height: 660rpx;
  177. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  178. position: absolute;
  179. top: -494rpx;
  180. }
  181. .tips {
  182. width: 686rpx;
  183. height: 125rpx;
  184. background-color: #314177;
  185. border-radius: 20rpx;
  186. position: relative;
  187. bottom: -536rpx;
  188. left: 0;
  189. margin: 0 auto;
  190. }
  191. .span-btn {
  192. border-radius: 25rpx;
  193. width: 149rpx;
  194. height: 50rpx;
  195. display: flex;
  196. align-items: center;
  197. justify-content: center;
  198. font-size: 24rpx;
  199. color: #314177;
  200. }
  201. .head-pic {
  202. width: 160rpx;
  203. height: 160rpx;
  204. border: 5rpx solid #FFFFFF;
  205. border-radius: 50%;
  206. }
  207. .adv-pic {
  208. width: 135rpx;
  209. height: 135rpx;
  210. border-radius: 50%;
  211. margin-right: 15rpx;
  212. }
  213. .head-text {
  214. font-size: 28rpx;
  215. color: #FFFFFF;
  216. font-weight: 400;
  217. line-height: 40rpx;
  218. }
  219. .pic-top {
  220. padding: 48rpx 32rpx 40rpx 48rpx;
  221. }
  222. .span-btn1 {
  223. border-radius: 25rpx;
  224. width: 149rpx;
  225. height: 50rpx;
  226. display: flex;
  227. align-items: center;
  228. justify-content: center;
  229. font-size: 24rpx;
  230. color: #E21196;
  231. font-weight: 400;
  232. line-height: 33rpx;
  233. }
  234. .head-name {
  235. font-weight: 500;
  236. color: #FFFFFF;
  237. line-height: 45rpx;
  238. letter-spacing: 1rpx;
  239. font-size: 32rpx;
  240. }
  241. .head-left {
  242. padding: 20rpx;
  243. height: 160rpx;
  244. display: flex;
  245. flex-direction: column;
  246. justify-content: space-evenly;
  247. }
  248. .adv {
  249. width: 686rpx;
  250. height: 195rpx;
  251. background-color: white;
  252. border-radius: 20rpx;
  253. margin: 0 auto;
  254. display: flex;
  255. padding: 0 0 0 30rpx;
  256. /* justify-content: space-around; */
  257. align-items: center;
  258. }
  259. .adv-content {
  260. display: flex;
  261. flex-direction: column;
  262. justify-content: space-around;
  263. }
  264. .classify {
  265. width: 686rpx;
  266. display: flex;
  267. background-color: white;
  268. border-radius: 20rpx;
  269. margin: 0 auto;
  270. flex-wrap: wrap;
  271. padding: 38rpx 30rpx;
  272. }
  273. .card {
  274. width: 116rpx;
  275. height: 116rpx;
  276. text-align: center;
  277. position: relative;
  278. overflow: hidden;
  279. margin-right: 54rpx;
  280. // margin-bottom: 68rpx;
  281. &:nth-child(4n) {
  282. margin-right: 0;
  283. }
  284. &:nth-child(n + 5) {
  285. margin-top: 68rpx;
  286. }
  287. }
  288. .classify-icon {
  289. height: 48rpx;
  290. width: 45rpx;
  291. font-size: 48rpx;
  292. margin-bottom: 22rpx;
  293. }
  294. </style>