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

121 lines
2.9 KiB

  1. <template>
  2. <view>
  3. <view class="head">
  4. <button class="sign-in-btn" @click="$url('/pages/signIn/signIn')">签到</button>
  5. <view class="filter-item" @click="show_filter = true">
  6. <text>女生</text>
  7. <text class="lf-iconfont icon-iconfront-"></text>
  8. </view>
  9. <view class="filter-item" @click="show_filter = true">
  10. <text>年龄</text>
  11. <text class="lf-iconfont icon-iconfront-"></text>
  12. </view>
  13. <view class="filter-item" @click="show_filter = true">
  14. <text>学历</text>
  15. <text class="lf-iconfont icon-iconfront-"></text>
  16. </view>
  17. <view class="filter-item" @click="show_filter = true">
  18. <text>搜索</text>
  19. <text class="lf-iconfont icon-iconfront-"></text>
  20. </view>
  21. <view class="filter-modal" v-if="show_filter" @click="show_filter = false">
  22. <view class="filter-content">
  23. <view @click="show_filter = false">不限</view>
  24. <view @click="show_filter = false">20~25</view>
  25. <view @click="show_filter = false">25~30</view>
  26. <view @click="show_filter = false">30~35</view>
  27. <view @click="show_filter = false">35~40</view>
  28. <view @click="show_filter = false">40~45</view>
  29. <view @click="show_filter = false">45岁以上</view>
  30. </view>
  31. </view>
  32. </view>
  33. <view style="height: 104rpx;"></view>
  34. <lf-user-list></lf-user-list>
  35. <!-- 加载 -->
  36. <view class="loading-more">
  37. <text>没有更多数据啦~</text>
  38. </view>
  39. <!-- 回到顶部 -->
  40. <u-back-top :scrollTop="pageScrollTop"></u-back-top>
  41. </view>
  42. </template>
  43. <script>
  44. import lfUserList from '@/components/lf-userList/lf-userList.vue'
  45. export default {
  46. components: { lfUserList },
  47. data(){
  48. return {
  49. show_filter: false
  50. }
  51. },
  52. onLoad(){
  53. },
  54. methods: {
  55. }
  56. }
  57. </script>
  58. <style lang="scss" scoped="scoped">
  59. .head{
  60. width: 750rpx;
  61. height: 102rpx;
  62. border-bottom: 1rpx solid #e5e5e5;
  63. position: fixed;
  64. background-color: #FFFFFF;
  65. z-index: 9;
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. padding: 0 32rpx;
  70. box-sizing: border-box;
  71. .sign-in-btn{
  72. margin: 0;
  73. width: 140rpx;
  74. height: 62rpx;
  75. background-color: #FCF7FA;
  76. border: 1rpx solid #E21196;
  77. border-radius: 10rpx;
  78. font-size: 28rpx;
  79. color: #E21196;
  80. line-height: 60rpx;
  81. }
  82. .filter-item{
  83. width: 100rpx;
  84. height: 62rpx;
  85. line-height: 62rpx;
  86. text-align: right;
  87. font-size: 28rpx;
  88. color: #222222;
  89. }
  90. .filter-modal{
  91. position: absolute;
  92. z-index: 7;
  93. background-color: rgba(0,0,0,0.5);
  94. top: 103rpx;
  95. right: 0;
  96. bottom: 0;
  97. left: 0;
  98. width: 100vw;
  99. height: calc(100vh - 103rpx);
  100. .filter-content{
  101. position: absolute;
  102. width: 100%;
  103. height: 300rpx;
  104. background-color: #FFFFFF;
  105. left: 0;
  106. z-index: 14;
  107. overflow-y: scroll;
  108. padding-left: 32rpx;
  109. view{
  110. height: 60rpx;
  111. border-bottom: 1rpx solid #e5e5e5;
  112. line-height: 60rpx;
  113. }
  114. }
  115. }
  116. }
  117. </style>