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

293 lines
6.9 KiB

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>
  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. position: relative;
  133. z-index: 9;
  134. /* background-color: red; */
  135. }
  136. .head-top-wrap {
  137. width: 100%;
  138. height: 656rpx;
  139. /* z-index: -1; */
  140. overflow: hidden;
  141. position: relative;
  142. }
  143. .head-top::after {
  144. content: '';
  145. width: 100%;
  146. height: 525rpx;
  147. position: absolute;
  148. left: 0;
  149. top: 0;
  150. z-index: -1;
  151. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  152. background: linear-gradient(180deg, #FE3EA5 0%, #FE7749 100%);
  153. }
  154. .tips-wrap {
  155. overflow: hidden;
  156. height: 656rpx;
  157. border-radius: 0 586px 586px/0 0 200rpx 200rpx;
  158. position: absolute;
  159. top: -494rpx;
  160. }
  161. .tips {
  162. width: 686rpx;
  163. height: 121rpx;
  164. background-color: #314177;
  165. border-radius: 20rpx;
  166. position: relative;
  167. bottom: -536rpx;
  168. left: 0;
  169. margin: 0 auto;
  170. }
  171. .span-btn {
  172. border-radius: 25rpx;
  173. width: 149rpx;
  174. height: 50rpx;
  175. display: flex;
  176. align-items: center;
  177. justify-content: center;
  178. font-size: 24rpx;
  179. color: #314177;
  180. }
  181. .head-pic {
  182. width: 160rpx;
  183. height: 160rpx;
  184. border: 5rpx solid #FFFFFF;
  185. border-radius: 50%;
  186. }
  187. .adv-pic {
  188. width: 135rpx;
  189. height: 135rpx;
  190. border-radius: 50%;
  191. margin-right: 15rpx;
  192. }
  193. .head-text {
  194. font-size: 28rpx;
  195. color: #FFFFFF;
  196. font-weight: 400;
  197. line-height: 40rpx;
  198. }
  199. .pic-top {
  200. padding: 48rpx 32rpx 40rpx 48rpx;
  201. }
  202. .span-btn1 {
  203. border-radius: 25rpx;
  204. width: 149rpx;
  205. height: 50rpx;
  206. display: flex;
  207. align-items: center;
  208. justify-content: center;
  209. font-size: 24rpx;
  210. color: #E21196;
  211. font-weight: 400;
  212. line-height: 33rpx;
  213. }
  214. .head-name {
  215. font-weight: 500;
  216. color: #FFFFFF;
  217. line-height: 45rpx;
  218. letter-spacing: 1rpx;
  219. font-size: 32rpx;
  220. }
  221. .head-left {
  222. padding: 20rpx;
  223. height: 160rpx;
  224. display: flex;
  225. flex-direction: column;
  226. justify-content: space-evenly;
  227. }
  228. .adv {
  229. width: 686rpx;
  230. height: 195rpx;
  231. background-color: white;
  232. border-radius: 20rpx;
  233. margin: 0 auto;
  234. display: flex;
  235. padding: 0 0 0 30rpx;
  236. /* justify-content: space-around; */
  237. align-items: center;
  238. }
  239. .adv-content {
  240. display: flex;
  241. flex-direction: column;
  242. justify-content: space-around;
  243. }
  244. .classify {
  245. width: 686rpx;
  246. display: flex;
  247. background-color: white;
  248. border-radius: 20rpx;
  249. margin: 0 auto;
  250. flex-wrap: wrap;
  251. padding: 38rpx 30rpx;
  252. }
  253. .card {
  254. width: 116rpx;
  255. height: 116rpx;
  256. text-align: center;
  257. position: relative;
  258. overflow: hidden;
  259. margin-right: 54rpx;
  260. // margin-bottom: 68rpx;
  261. &:nth-child(4n) {
  262. margin-right: 0;
  263. }
  264. &:nth-child(n + 5) {
  265. margin-top: 68rpx;
  266. }
  267. }
  268. .classify-icon {
  269. height: 45rpx;
  270. width: 45rpx;
  271. font-size: 45rpx;
  272. margin-bottom: 27rpx;
  273. }
  274. </style>