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

309 lines
7.8 KiB

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">
  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">
  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" @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. <!-- #ifdef H5 -->
  80. <view style="height: 10rpx;"></view>
  81. <!-- #endif -->
  82. </view>
  83. </template>
  84. <script>
  85. export default {
  86. data() {
  87. return {
  88. list: [
  89. {name: '我的红娘',icon:'github-circle-fill',path: '/pages/my/exclusiveMatch',pic: '../../static/my/red.png'},
  90. {name: '实名认证',icon:'email',path: '/pages/my/authentication',pic: '../../static/my/authen.png'},
  91. {name: '我的收藏',icon:'qzone',path: '/pages/my/collect',pic: '../../static/my/collect.png'},
  92. {name: '我的动态',icon:'moments',pic: '../../static/my/qzone.png'},
  93. {name: '福利中心',icon:'red-packet',path:'/pages/my/welfare',pic: '../../static/my/welhare.png'},
  94. {name: '公众号',icon:'google-circle-fill',path:'/pages/my/officialAccount',pic: '../../static/my/public.png'},
  95. {name: '联系客服',icon:'kefu-ermai',path: '/pages/my/service',pic: '../../static/my/service.png'},
  96. {name: '设置',icon:'setting',path: '/pages/my/setting',pic: '../../static/my/setting.png'}
  97. ]
  98. }
  99. },
  100. methods: {
  101. showRedthread() {
  102. uni.showModal({
  103. title: '红线说明',
  104. content: '红线可以用来联系其他会员,对方不接受则24小时后退还红线',
  105. showCancel: false,
  106. cancelText: '我知道了',
  107. confirmColor: '#E21196',
  108. success: function (res) {
  109. if (res.confirm) {
  110. console.log('用户点击确定');
  111. }
  112. }
  113. });
  114. },
  115. showPeachblossom() {
  116. uni.showModal({
  117. title: '桃花说明',
  118. content: '桃花可以用来发布动态、评论等,签到可以获得桃花',
  119. showCancel: false,
  120. cancelText: '我知道了',
  121. confirmColor: '#E21196',
  122. success: function (res) {
  123. if (res.confirm) {
  124. console.log('用户点击确定');
  125. }
  126. }
  127. });
  128. }
  129. }
  130. }
  131. </script>
  132. <style lang="scss">
  133. page {
  134. background-color: #F5F5F5;
  135. }
  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. height: 562rpx;
  149. /* background-color: red; */
  150. }
  151. .head-top-wrap {
  152. width: 100%;
  153. height: 656rpx;
  154. /* z-index: -1; */
  155. overflow: hidden;
  156. position: relative;
  157. }
  158. .head-top::after {
  159. content: '';
  160. width: 100%;
  161. height: 525rpx;
  162. position: absolute;
  163. left: 0;
  164. top: 0;
  165. z-index: -1;
  166. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  167. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  168. }
  169. .tips-wrap {
  170. overflow: hidden;
  171. height: 656rpx;
  172. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  173. position: absolute;
  174. top: -494rpx;
  175. }
  176. .tips {
  177. width: 686rpx;
  178. height: 121rpx;
  179. background-color: #314177;
  180. border-radius: 20rpx;
  181. position: relative;
  182. bottom: -536rpx;
  183. left: 0;
  184. margin: 0 auto;
  185. }
  186. .span-btn {
  187. border-radius: 25rpx;
  188. width: 149rpx;
  189. height: 50rpx;
  190. display: flex;
  191. align-items: center;
  192. justify-content: center;
  193. font-size: 24rpx;
  194. color: #314177;
  195. }
  196. .head-pic {
  197. width: 160rpx;
  198. height: 160rpx;
  199. border: 5rpx solid #FFFFFF;
  200. border-radius: 50%;
  201. }
  202. .adv-pic {
  203. width: 135rpx;
  204. height: 135rpx;
  205. border-radius: 50%;
  206. margin-right: 15rpx;
  207. }
  208. .head-text {
  209. font-size: 28rpx;
  210. color: #FFFFFF;
  211. font-weight: 400;
  212. line-height: 40rpx;
  213. }
  214. .pic-top {
  215. padding: 48rpx 32rpx 40rpx 48rpx;
  216. }
  217. .span-btn1 {
  218. border-radius: 25rpx;
  219. width: 149rpx;
  220. height: 50rpx;
  221. display: flex;
  222. align-items: center;
  223. justify-content: center;
  224. font-size: 24rpx;
  225. color: #E21196;
  226. font-weight: 400;
  227. line-height: 33rpx;
  228. }
  229. .head-name {
  230. font-weight: 500;
  231. color: #FFFFFF;
  232. line-height: 45rpx;
  233. letter-spacing: 1rpx;
  234. font-size: 32rpx;
  235. }
  236. .head-left {
  237. padding: 20rpx;
  238. height: 160rpx;
  239. display: flex;
  240. flex-direction: column;
  241. justify-content: space-evenly;
  242. }
  243. .adv {
  244. width: 686rpx;
  245. height: 195rpx;
  246. background-color: white;
  247. border-radius: 20rpx;
  248. margin: 0 auto;
  249. display: flex;
  250. padding: 0 0 0 30rpx;
  251. /* justify-content: space-around; */
  252. align-items: center;
  253. }
  254. .adv-content {
  255. display: flex;
  256. flex-direction: column;
  257. justify-content: space-around;
  258. }
  259. .classify {
  260. width: 686rpx;
  261. display: flex;
  262. background-color: white;
  263. border-radius: 20rpx;
  264. margin: 0 auto;
  265. flex-wrap: wrap;
  266. padding: 38rpx 30rpx;
  267. }
  268. .card {
  269. width: 116rpx;
  270. height: 116rpx;
  271. text-align: center;
  272. position: relative;
  273. overflow: hidden;
  274. margin-right: 54rpx;
  275. // margin-bottom: 68rpx;
  276. &:nth-child(4n) {
  277. margin-right: 0;
  278. }
  279. &:nth-child(n + 5) {
  280. margin-top: 68rpx;
  281. }
  282. }
  283. .classify-icon {
  284. height: 48rpx;
  285. width: 45rpx;
  286. font-size: 48rpx;
  287. margin-bottom: 22rpx;
  288. }
  289. </style>