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

56 lines
1.7 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. <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 class="date" v-if="info.cancelTime">取消时间{{ $u.timeFormat(info.cancelTime, 'yyyy-mm-dd')}}</view>
  39. </view>
  40. </view>
  41. </view>
  42. </template>
  43. <script>
  44. export default {
  45. props: ['info'],
  46. data() {
  47. return {
  48. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  49. }
  50. }
  51. }
  52. </script>
  53. <style lang="scss" scoped>
  54. @import '../comp/comp.scss';
  55. </style>