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

71 lines
2.2 KiB

1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
1 year ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
1 year ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 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">{{item.subject==2?'科目二实操':item.subject==3?'科目三实操':'不限科目'}}</view>
  7. <view class="schoolName oneRowText">{{item.siteName}}</view>
  8. </view>
  9. <view class="status">
  10. <view class="text" v-if="item.loginStatus==9">已取消</view>
  11. <view class="text" v-else>{{statusTxt[item.loginStatus]}}</view>
  12. <view class="icon">
  13. <u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="target">
  18. <view class="row">
  19. <view class="leftLab">
  20. <view class="icon">
  21. <image src="@/static/images/car/ic_chexing.png" mode=""></image>
  22. </view>
  23. <view class="lab">预约教练</view>
  24. </view>
  25. <view class="name">{{item.coachName}}</view>
  26. </view>
  27. <view class="row">
  28. <view class="leftLab">
  29. <view class="icon">
  30. <image src="@/static/images/car/ic_chexing.png" mode=""></image>
  31. </view>
  32. <view class="lab">预约车辆</view>
  33. </view>
  34. <view class="name">{{item.carNumber}}</view>
  35. </view>
  36. <view class="row">
  37. <view class="leftLab">
  38. <view class="icon">
  39. <image src="@/static/images/car/ic_shijian.png" mode=""></image>
  40. </view>
  41. <view class="lab">预约日期</view>
  42. </view>
  43. <view class="name">{{item.classDate}}</view>
  44. </view>
  45. </view>
  46. <view class="border_bottom" v-if="item.status==2">
  47. <view class="dateBox" v-if="item.signOutTime">
  48. <view class="date">完成时间{{$u.timeFormat(item.signOutTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  49. </view>
  50. <view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')">去评价</view>
  51. </view>
  52. </view>
  53. </template>
  54. <script>
  55. export default {
  56. props: ['item'],
  57. data() {
  58. return {
  59. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  60. }
  61. }
  62. }
  63. </script>
  64. <style lang="scss" scoped>
  65. @import './comp.scss';
  66. .tag {
  67. background: rgba(144,12,64,0.1) !important;
  68. color: #F158B9 !important;
  69. }
  70. </style>