recruitsNumber.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <view class="common_page adffc" :style="{'height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title="招募人数" bgColor="#FFFFFF"></cus-header>
  4. <div class="box num">
  5. <div class="num-pre">招募人数<text>{{50}}人</text></div>
  6. <div class="num-pre line">已报名<text>{{35}}人</text></div>
  7. <div class="num-pre">最少报名人数<text>{{40}}人</text></div>
  8. </div>
  9. <div class="box list" v-if="list.length">
  10. <div class="list-pre adfacjb" v-for="(item,index) in list" :key="index">
  11. <div class="list-pre-left adfac">
  12. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/10/10/a56db26d-4149-4f6a-8272-2c3d4af0a6a8.png"></image>
  13. <text>{{'张**'}}</text>
  14. </div>
  15. <div class="list-pre-right">{{'2025-07-17 09:35:01'}}</div>
  16. </div>
  17. </div>
  18. <div class="empty adffcacjc" v-else>
  19. 暂无善行少年报名<br>期待您的参与
  20. </div>
  21. </view>
  22. </template>
  23. <script setup name="">
  24. import CusHeader from '@/components/CusHeader/index.vue'
  25. import { ref } from 'vue'
  26. const list = ref([1,1,1])
  27. </script>
  28. <style scoped lang="scss">
  29. .common_page{
  30. .box{
  31. margin-top: 20rpx;
  32. background: #FFFFFF;
  33. border-radius: 24rpx;
  34. }
  35. .num{
  36. padding: 6rpx 24rpx 30rpx;
  37. display: flex;
  38. flex-wrap: wrap;
  39. &-pre{
  40. width: 50%;
  41. margin-top: 24rpx;
  42. font-family: PingFangSC, PingFang SC;
  43. font-weight: 400;
  44. font-size: 30rpx;
  45. color: #676775;
  46. line-height: 42rpx;
  47. &.line{
  48. border-left: 1rpx solid #E5E0E0;
  49. padding-left: 40rpx;
  50. box-sizing: border-box;
  51. }
  52. text{
  53. font-weight: bold;
  54. color: #176892;
  55. margin-left: 24rpx;
  56. }
  57. }
  58. }
  59. .list{
  60. padding: 0 24rpx;
  61. flex: 1;
  62. overflow: auto;
  63. &-pre{
  64. padding: 32rpx 0;
  65. box-shadow: inset 0rpx -1rpx 0rpx 0rpx #F2F2F2;
  66. &-left{
  67. image{
  68. width: 64rpx;
  69. height: 64rpx;
  70. }
  71. text{
  72. font-family: PingFang-SC, PingFang-SC;
  73. font-weight: bold;
  74. font-size: 30rpx;
  75. color: #252525;
  76. line-height: 42rpx;
  77. margin-left: 30rpx;
  78. }
  79. }
  80. &-right{
  81. font-family: PingFangSC, PingFang SC;
  82. font-weight: 400;
  83. font-size: 28rpx;
  84. color: #676775;
  85. line-height: 40rpx;
  86. text-align: right;
  87. }
  88. }
  89. }
  90. .empty{
  91. flex: 1;
  92. font-family: PingFangSC, PingFang SC;
  93. font-weight: 400;
  94. font-size: 30rpx;
  95. color: #252525;
  96. line-height: 42rpx;
  97. text-align: center;
  98. }
  99. }
  100. </style>