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

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