applicantsList.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <template>
  2. <view>
  3. <u-navbar title="申请人列表" title-color="#101010">
  4. </u-navbar>
  5. <view class="search-box">
  6. <u-search placeholder="搜索授权用户" bg-color="#f2f4f6" height="80" :show-action="true" v-model="keyword">
  7. </u-search>
  8. </view>
  9. <!-- 列表 -->
  10. <view class="member-list">
  11. <view class="item" v-for="item in 5" >
  12. <view class="photo">
  13. <img src="@/assets/img/PEokWS2@3x.png" alt="" />
  14. </view>
  15. <view class="infos">
  16. <view class="name">
  17. 杨静云
  18. </view>
  19. <view class="tel-time">
  20. <span class="tel" >19729922849</span>
  21. <span class="time">06-17 12:00:00 申请</span>
  22. </view>
  23. </view>
  24. <!-- 通过 -->
  25. <view class="pass" @click="pass=true" v-if="pass==false" >
  26. 通过
  27. </view>
  28. <!-- 已通过 -->
  29. <view class="passed" v-if="pass" >
  30. 已通过
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data() {
  39. return {
  40. keyword:"",
  41. pass:false,
  42. }
  43. },
  44. methods: {
  45. }
  46. }
  47. </script>
  48. <style>
  49. page{
  50. padding-bottom: 100px;
  51. }
  52. </style>
  53. <style lang="scss" scoped>
  54. .search-box {
  55. padding: 16rpx 32rpx;
  56. position: sticky;
  57. top: 88rpx;
  58. z-index: 999;
  59. background-color: rgba(255,255,255,1);
  60. /deep/.u-content {
  61. border-radius: 8px !important;
  62. }
  63. ;
  64. /deep/.u-search {
  65. position: relative
  66. }
  67. ;
  68. /deep/.u-action {
  69. width: 96rpx;
  70. line-height: 56rpx;
  71. border-radius: 4px;
  72. background-color: rgba(22, 119, 255, 1);
  73. color: rgba(255, 255, 255, 1);
  74. text-align: center;
  75. z-index: 9999;
  76. position: absolute;
  77. right: 12rpx;
  78. }
  79. }
  80. // 列表
  81. .member-list{
  82. background: #fff;
  83. .item{
  84. padding: 32rpx 0;
  85. margin: 0 32rpx;
  86. display: flex;
  87. align-items: center;
  88. border-bottom: 1px solid rgba(244,244,244,1);;
  89. }
  90. .photo{
  91. img{
  92. width: 80rpx;
  93. height: 80rpx;
  94. border-radius: 50px;
  95. }
  96. }
  97. .infos{
  98. margin-left: 16rpx;
  99. .name{
  100. color: rgba(51,51,51,1);
  101. font-size: 32rpx;
  102. }
  103. .tel-time{
  104. font-size: 24rpx;
  105. margin-top: 4rpx;
  106. .tel{
  107. color: rgba(119,119,119,1);
  108. }
  109. .time{
  110. color: #999999;
  111. margin-left: 16rpx;
  112. }
  113. }
  114. }
  115. .pass{
  116. width: 120rpx;
  117. height: 56rpx;
  118. line-height: 56rpx;
  119. border-radius: 50px;
  120. background-color: rgba(0,185,98,1);
  121. color: rgba(255,255,255,1);
  122. text-align: center;
  123. margin-left: auto;
  124. }
  125. .passed{
  126. margin-left: auto;
  127. color: rgba(153,153,153,1);
  128. }
  129. }
  130. </style>