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

123 lines
3.1 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
  1. <template>
  2. <view>
  3. <!-- 头部搜索框 -->
  4. <view class="head-bar">
  5. <view class="lf-flex search" @click="$url('/pages/userList/userList?name=搜索')">
  6. <text class="lf-iconfont icon-linedesign-12 lf-font-30 lf-m-l-20"></text>
  7. <view class="lf-m-l-10 lf-font-24">搜索</view>
  8. </view>
  9. <view class="botton" @click="$url('/pages/signIn/signIn')">签到</view>
  10. </view>
  11. <!-- 上墙部分 -->
  12. <view class="up-the-wall">
  13. <view class="lf-row-between">
  14. <view class="lf-font-32 lf-color-black">最新上墙</view>
  15. <view class="lf-color-999" @click="$url('/pages/wallMember/wallMember')">
  16. <text class="lf-font-28">查看全部</text>
  17. <text class="lf-iconfont icon-xiangyou"></text>
  18. </view>
  19. </view>
  20. <scroll-view class="scroll-bar" :scroll-x="true">
  21. <view class="lf-flex">
  22. <view class="user-item" @click="$url('/pages/upTheWall/upTheWall')">
  23. <lf-image class="add-icon" src="../../static/images/add_icon.png"></lf-image>
  24. <view class="lf-m-t-12 lf-color-555 lf-font-24 lf-line-1">我要上墙</view>
  25. </view>
  26. <view class="user-item" v-for="item in 6" :key="item">
  27. <image class="avatar" src="@/static/logo.png"></image>
  28. <view class="lf-m-t-12 lf-color-555 lf-font-24 lf-line-1">编号 73949</view>
  29. </view>
  30. </view>
  31. </scroll-view>
  32. </view>
  33. <self-line />
  34. <!-- 推荐单身 -->
  35. <view>
  36. <view class="lf-row-between lf-p-30 lf-p-32 lf-p-b-20">
  37. <view class="lf-font-32 lf-color-black">推荐单身</view>
  38. <view class="lf-color-999" @click="$url('/pages/userList/userList?name=最新')">
  39. <text class="lf-font-28">最新</text>
  40. <text class="lf-iconfont icon-xiangyou"></text>
  41. </view>
  42. </view>
  43. <lf-user-list></lf-user-list>
  44. </view>
  45. <!-- 加载 -->
  46. <view class="loading-more">
  47. <text class="loading-more-text">正在加载中</text>
  48. </view>
  49. <!-- 回到顶部 -->
  50. <u-back-top :scrollTop="pageScrollTop"></u-back-top>
  51. </view>
  52. </template>
  53. <script>
  54. import lfUserList from '@/components/lf-userList/lf-userList.vue';
  55. export default {
  56. components: { lfUserList },
  57. data() {
  58. return {
  59. }
  60. }
  61. }
  62. </script>
  63. <style lang="scss" scoped>
  64. .head-bar{
  65. width: 750rpx;
  66. height: max-content;
  67. padding: 21rpx 32rpx;
  68. display: flex;
  69. justify-content: space-between;
  70. .search{
  71. width: 530rpx;
  72. height: 62rpx;
  73. background: #F7F7F7;
  74. border-radius: 32rpx;
  75. color: #999999;
  76. }
  77. .botton{
  78. width: 140rpx;
  79. height: 62rpx;
  80. background: #F7F7F7;
  81. border-radius: 32rpx;
  82. text-align: center;
  83. line-height: 62rpx;
  84. color: #222222;
  85. }
  86. }
  87. .up-the-wall{
  88. width: 750rpx;
  89. height: max-content;
  90. padding: 21rpx 32rpx 0;
  91. .scroll-bar{
  92. width: 100%;
  93. height: 164rpx;
  94. padding: 30rpx 0;
  95. .user-item{
  96. width: 136rpx;
  97. margin-right: 40rpx;
  98. display: flex;
  99. justify-content: center;
  100. flex-wrap: wrap;
  101. &:last-child{
  102. margin-right: 0rpx;
  103. }
  104. }
  105. .add-icon{
  106. width: 110rpx;
  107. height: 110rpx;
  108. border-radius: 50%;
  109. }
  110. .avatar{
  111. width: 110rpx;
  112. height: 110rpx;
  113. border: 5rpx solid #E21196;
  114. border-radius: 50%;
  115. box-sizing: border-box;
  116. }
  117. }
  118. }
  119. </style>