学员端小程序
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.

55 lines
1.6 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. <template>
  2. <!-- 模拟器 -->
  3. <view class="consultItem">
  4. <view class="top_row">
  5. <view class="flex">
  6. <view class="tag" v-if="info.subject==2">科目二考场模拟</view>
  7. <view class="tag" v-if="info.subject==3">科目三考场模拟</view>
  8. <view class="schoolName">{{info.examSiteName}}</view>
  9. </view>
  10. <view class="status">
  11. <view class="text" v-if="info.recordStatus==9">已取消</view>
  12. <view class="text" v-else>{{statusTxt[info.recordStatus]}}</view>
  13. </view>
  14. </view>
  15. <view class="target">
  16. <view class="row">
  17. <view class="leftLab">
  18. <view class="icon">
  19. <image src="@/static/images/car/ic_chexing.png" mode=""></image>
  20. </view>
  21. <view class="lab">所选车型</view>
  22. </view>
  23. <view class="name">{{info.trainType}}</view>
  24. </view>
  25. <view class="row">
  26. <view class="leftLab">
  27. <view class="icon">
  28. <image src="@/static/images/car/ic_shijian.png" mode=""></image>
  29. </view>
  30. <view class="lab">预约时间</view>
  31. </view>
  32. <view class="name">{{ info.classTime }}</view>
  33. </view>
  34. </view>
  35. <view class="border_bottom">
  36. <view class="dateBox">
  37. <view class="date">提交预约时间{{ $u.timeFormat(info.createTime, 'yyyy-mm-dd')}}</view>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. props: ['info'],
  45. data() {
  46. return {
  47. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  48. }
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. @import '../comp/comp.scss';
  54. </style>