江西小程序管理端
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.

148 lines
2.9 KiB

1 year ago
  1. <template>
  2. <view class="pageBgImg pad">
  3. <view class="searchBox">
  4. <searchRow placeholder="搜索学员姓名、学员手机号"></searchRow>
  5. </view>
  6. <view class="card">
  7. <view class="addStudent">
  8. <view class="h2">我的学员</view>
  9. <view class="btnBg" @click="$goPage('/pages/recordEntry/student/addStudent/addStudent')">手动添加</view>
  10. </view>
  11. </view>
  12. <view class="card">
  13. <view class="statistics">
  14. <view class="statisticsItem">
  15. <view class="val">260</view>
  16. <view class="lab">累计学员数量</view>
  17. </view>
  18. <view class="statisticsItem">
  19. <view class="val">260</view>
  20. <view class="lab">今日新增学员</view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="screen_row">
  25. <view class="selectItem">
  26. <view class="text oneRowText">{{screen.timer}}</view>
  27. <view class="downIcon">
  28. <u-icon name="arrow-down"></u-icon>
  29. </view>
  30. </view>
  31. <view class="selectItem">
  32. <view class="text oneRowText">{{screen.car}}</view>
  33. <view class="downIcon">
  34. <u-icon name="arrow-down"></u-icon>
  35. </view>
  36. </view>
  37. <view class="selectItem">
  38. <view class="text oneRowText">{{screen.className}}</view>
  39. <view class="downIcon">
  40. <u-icon name="arrow-down"></u-icon>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="list">
  45. <view class="card" @click="$goPage('/pages/recordEntry/student/studentDetail/studentDetail')">
  46. <appointItem-student/>
  47. </view>
  48. </view>
  49. </view>
  50. </template>
  51. <script>
  52. export default {
  53. data() {
  54. return {
  55. screen: {
  56. timer: '报名时间',
  57. car: '全部车型',
  58. className: '全部班型'
  59. }
  60. }
  61. }
  62. }
  63. </script>
  64. <style lang="scss" scoped>
  65. .card {
  66. padding: 0 28rpx;
  67. margin-bottom: 24rpx;
  68. }
  69. .searchBox {
  70. padding: 140rpx 0 24rpx 0;
  71. }
  72. .addStudent {
  73. height: 108rpx;
  74. background: #FFFFFF;
  75. border-radius: 16rpx;
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. .h2 {
  80. font-size: 32rpx;
  81. font-weight: 500;
  82. }
  83. .btnBg {
  84. width: 192rpx;
  85. }
  86. }
  87. .statistics {
  88. display: flex;
  89. height: 200rpx;
  90. .statisticsItem {
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. flex-direction: column;
  95. flex: 1;
  96. .val {
  97. font-weight: 600;
  98. font-size: 56rpx;
  99. color: $themC;
  100. position: relative;
  101. &::before {
  102. content: '天';
  103. position: absolute;
  104. right: -30rpx;
  105. bottom: 10rpx;
  106. font-size: 24rpx;
  107. font-weight: 400;
  108. }
  109. }
  110. .lab {
  111. font-size: 28rpx;
  112. // margin-top: 20rpx;
  113. }
  114. }
  115. }
  116. .screen_row {
  117. display: flex;
  118. margin-bottom: 24rpx;
  119. width: 100%;
  120. justify-content: space-between;
  121. .selectItem {
  122. display: flex;
  123. padding: 0 18rpx;
  124. border: 2rpx solid rgba(25,137,250,0.3);
  125. height: 60rpx;
  126. border-radius: 16rpx;
  127. background-color: #FFFFFF;
  128. line-height: 60rpx;
  129. align-items: center;
  130. width: 28.6%;
  131. .text {
  132. color: $themC;
  133. flex: 1;
  134. }
  135. .downIcon {
  136. width: 24rpx;
  137. }
  138. }
  139. }
  140. </style>