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.

188 lines
3.6 KiB

8 months ago
8 months 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="verified_today">
  8. <view class="leftVerified">
  9. <view class="num_row">
  10. <view class="num">7</view>
  11. <view class="unit"></view>
  12. </view>
  13. <view class="txtLab">今日待核销</view>
  14. </view>
  15. <view class="rightBtn">
  16. <view class="objBtn">科目二3</view>
  17. <view class="objBtn">科目二7</view>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="card_flex">
  22. <view class="card" v-for="(item,index) in 4" :key="index">
  23. <view class="flex-b" style="padding: 32rpx 0;">
  24. <view class="leftText">
  25. <view class="lab">指标总量</view>
  26. <view class="num_row">
  27. <view class="num">7</view>
  28. <view class="unit"></view>
  29. </view>
  30. </view>
  31. <view class="rightTxt">
  32. <view class="text_row">
  33. <view class="dian yellow"></view>
  34. <view class="text">科目二100</view>
  35. </view>
  36. <view class="text_row">
  37. <view class="dian"></view>
  38. <view class="text">科目二100</view>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="flex-b">
  45. <view class="h1">预约记录</view>
  46. <moreRight text="更多" @click.native="$goPage('/pages/recordEntry/examine/examineRecord/examineRecord')"></moreRight>
  47. </view>
  48. <view class="card">
  49. <appointItem />
  50. </view>
  51. <UserTab name ='考场模拟'></UserTab>
  52. </view>
  53. </template>
  54. <script>
  55. export default {
  56. data() {
  57. return {}
  58. },
  59. onLoad() {},
  60. onShow() {
  61. uni.hideTabBar();
  62. },
  63. methods: {
  64. goPage() {}
  65. }
  66. }
  67. </script>
  68. <style lang="scss" scoped>
  69. .searchBox {
  70. padding: 140rpx 0 24rpx 0;
  71. }
  72. .h1 {
  73. line-height: 92rpx;
  74. }
  75. .card {
  76. padding: 0 28rpx;
  77. margin-bottom: 20rpx;
  78. .verified_today {
  79. display: flex;
  80. align-items: center;
  81. padding: 20rpx 0;
  82. .leftVerified {
  83. flex: 1;
  84. text-align: center;
  85. .num_row {
  86. display: flex;
  87. justify-content: center;
  88. color: $themC;
  89. .num {
  90. font-size: 56rpx;
  91. }
  92. .unit {
  93. font-size: 24rpx;
  94. margin-top: 20rpx;
  95. }
  96. }
  97. .txtLab {
  98. font-size: 28rpx;
  99. color: #686B73;
  100. margin-top: 10rpx;
  101. }
  102. }
  103. .rightBtn {
  104. width: 224rpx;
  105. .objBtn {
  106. width: 100%;
  107. height: 76rpx;
  108. background: rgba(25,137,250,0.1);
  109. border-radius: 8rpx;
  110. line-height: 76rpx;
  111. text-align: center;
  112. font-size: 32rpx;
  113. color: $themC;
  114. &:first-child {
  115. margin-bottom: 8rpx;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. .card_flex {
  122. display: flex;
  123. justify-content: space-between;
  124. flex-wrap: wrap;
  125. .card {
  126. width: 48.8%;
  127. .leftText {
  128. display: flex;
  129. flex-direction: column;
  130. align-items: center;
  131. color: $themC;
  132. .lab {
  133. font-size: 24rpx;
  134. white-space: nowrap;
  135. }
  136. .num_row {
  137. display: flex;
  138. margin-top: 10rpx;
  139. .num {
  140. font-size: 40rpx;
  141. font-weight: 500;
  142. }
  143. .unit {
  144. font-size: 24rpx;
  145. margin-top: 8rpx;
  146. }
  147. }
  148. }
  149. .rightTxt {
  150. display: flex;
  151. flex-direction: column;
  152. align-items: center;
  153. .text_row {
  154. display: flex;
  155. align-items: center;
  156. &:first-child {
  157. margin-bottom: 20rpx;
  158. }
  159. .dian {
  160. width: 8rpx;
  161. height: 8rpx;
  162. background: #0D9269;
  163. border-radius: 4rpx;
  164. margin-right: 10rpx;
  165. &.yellow {
  166. background: #FA7919;
  167. }
  168. }
  169. .text {
  170. font-size: 24rpx;
  171. color: #333;
  172. }
  173. }
  174. }
  175. }
  176. }
  177. </style>