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

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