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

66 lines
2.2 KiB

1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
1 year ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
1 year ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
11 months ago
11 months 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="item.subject==2">科目二考场模拟</view>
  7. <view class="tag" v-if="item.subject==3">科目三考场模拟</view>
  8. </view>
  9. <view class="status">
  10. <!-- <view class="text"> {{item.writtenoffStatus==0?'待处理': '已完成'}}</view> -->
  11. <view class="text" v-if="item.recordStatus==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="leftLab">
  21. <view class="icon">
  22. <image src="@/static/images/car/ic_chexing.png" mode=""></image>
  23. </view>
  24. <view class="lab">所选考场</view>
  25. </view>
  26. <view class="name">{{ item.examSiteName}}</view>
  27. </view>
  28. <view class="row">
  29. <view class="leftLab">
  30. <view class="icon">
  31. <image src="@/static/images/car/ic_shijian.png" mode=""></image>
  32. </view>
  33. <view class="lab">预约时间</view>
  34. </view>
  35. <view class="name">{{item.classTime}}</view>
  36. </view>
  37. </view>
  38. <view class="border_bottom" v-if="item.writtenoffStatus==1||item.recordStatus==9">
  39. <view class="dateBox">
  40. <!-- <view class="date">完成时间2022-01-04</view> -->
  41. <view class="date"v-if="item.recordStatus==9&&item.cancelTime">取消时间{{ $u.timeFormat(item.cancelTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  42. <!-- <view class="date">处理时间2022-01-04</view> -->
  43. </view>
  44. <view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')" v-if="item.writtenoffStatus==1">去评价</view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. props: ['item'],
  51. data() {
  52. return {
  53. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  54. }
  55. }
  56. }
  57. </script>
  58. <style lang="scss" scoped>
  59. @import './comp.scss';
  60. .tag {
  61. background: rgba(144,12,12,0.1)!important;
  62. color: #FF7070 !important;
  63. }
  64. </style>