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

114 lines
2.8 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <!-- 考场 -->
  3. <view class="consultItem">
  4. <view class="top_row">
  5. <view class="flex">
  6. <!-- <view class="tag">模拟器</view> -->
  7. <view class="tag">科目{{item.subject==2?'二':'三'}} </view>
  8. <view class="schoolName">{{item.studentName}} <text style="margin-left: 6rpx;">{{item.studentPhone}}</text></view>
  9. </view>
  10. <view class="status">
  11. <view class="text" v-if="item.status==9">已取消</view>
  12. <view class="text" v-else>{{ statusTxt[item.recordStatus]}}</view>
  13. <view class="icon">
  14. <u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="target">
  19. <view class="row">
  20. <view class="iconImg">
  21. <image src="@/static/images/index/siteIcon.png" mode=""></image>
  22. </view>
  23. <view class="name">{{item.examSiteName}}</view>
  24. </view>
  25. <view class="row">
  26. <view class="iconImg">
  27. <image src="@/static/images/index/carIcon.png" mode=""></image>
  28. </view>
  29. <view class="name">{{item.trainType}}</view>
  30. </view>
  31. <view class="row">
  32. <view class="iconImg">
  33. <image src="@/static/images/index/carNum.png" mode=""></image>
  34. </view>
  35. <view class="name">{{item.examCarLicnum}}</view>
  36. </view>
  37. <view class="row">
  38. <view class="iconImg">
  39. <image src="@/static/images/index/timerIcon.png" mode=""></image>
  40. </view>
  41. <view class="name">{{item.classDate}} {{$u.timeFormat(item.startTime, 'hh:MM')}} <text>-</text> {{$u.timeFormat(item.endTime, 'hh:MM')}}</view>
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. props: ['item'],
  49. data() {
  50. return {
  51. statusTxt: ['未签到', '已签到', '已签退', '旷课'],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消,示例值(1)
  52. }
  53. }
  54. }
  55. </script>
  56. <style lang="scss" scoped>
  57. .consultItem {
  58. width: 100%;
  59. margin-bottom: 24rpx;
  60. .top_row {
  61. display: flex;
  62. width: 100%;
  63. height: 116rpx;
  64. border-bottom: 2rpx dashed #E8E9EC;
  65. justify-content: space-between;
  66. align-items: center;
  67. .tag {
  68. // width: 176rpx;
  69. height: 60rpx;
  70. background: rgba(250, 149, 25, 0.1);
  71. border-radius: 8rpx;
  72. text-align: center;
  73. font-size: 28rpx;
  74. color: #FA7919;
  75. margin-right: 24rpx;
  76. padding: 10rpx 18rpx;
  77. }
  78. .schoolName {
  79. font-size: 28rpx;
  80. font-weight: 550;
  81. color: #333;
  82. margin-left: 20rpx;
  83. }
  84. .status {
  85. display: flex;
  86. align-items: center;
  87. .text {
  88. font-size: 28rpx;
  89. color: $themC;
  90. }
  91. }
  92. }
  93. .target {
  94. padding: 20rpx 0;
  95. }
  96. .row {
  97. padding: 16rpx 0;
  98. display: flex;
  99. align-items: center;
  100. .iconImg {
  101. width: 32rpx;
  102. height: 28rpx;
  103. }
  104. .name {
  105. font-size: 28rpx;
  106. color: #333;
  107. padding-left: 20rpx;
  108. }
  109. }
  110. }
  111. </style>