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

124 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="https://picsum.photos/200"></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. width: 100%;
  73. height: 62rpx;
  74. background: #F7F7F7;
  75. border-radius: 32rpx;
  76. color: #999999;
  77. }
  78. .botton{
  79. width: 140rpx;
  80. height: 62rpx;
  81. background: #F7F7F7;
  82. border-radius: 32rpx;
  83. text-align: center;
  84. line-height: 62rpx;
  85. color: #222222;
  86. }
  87. }
  88. .up-the-wall{
  89. width: 750rpx;
  90. height: max-content;
  91. padding: 21rpx 32rpx 0;
  92. .scroll-bar{
  93. width: 100%;
  94. height: 164rpx;
  95. padding: 30rpx 0;
  96. .user-item{
  97. width: 136rpx;
  98. margin-right: 40rpx;
  99. display: flex;
  100. justify-content: center;
  101. flex-wrap: wrap;
  102. &:last-child{
  103. margin-right: 0rpx;
  104. }
  105. }
  106. .add-icon{
  107. width: 110rpx;
  108. height: 110rpx;
  109. border-radius: 50%;
  110. }
  111. .avatar{
  112. width: 110rpx;
  113. height: 110rpx;
  114. border: 5rpx solid #E21196;
  115. border-radius: 50%;
  116. box-sizing: border-box;
  117. }
  118. }
  119. }
  120. </style>