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

291 lines
6.9 KiB

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