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

58 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 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="schoolName">{{item.name}}</view>
  8. </view>
  9. <view class="status">
  10. <view class="text" v-if="item.recordStatus==9">已取消</view>
  11. <view class="text" v-else>{{statusTxt[item.recordStatus]}}</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_banxing.png" mode=""></image>
  22. </view>
  23. <view class="lab">模拟器编号</view>
  24. </view>
  25. <view class="name">{{item.deviceNum}}</view>
  26. </view>
  27. <view class="row">
  28. <view class="leftLab">
  29. <view class="icon">
  30. <image src="@/static/images/car/ic_shijian.png" mode=""></image>
  31. </view>
  32. <view class="lab">预约时间</view>
  33. </view>
  34. <view class="name">{{item.classTime}}</view>
  35. </view>
  36. </view>
  37. <view class="border_bottom" v-if="item.recordStatus==2">
  38. <view class="dateBox">
  39. <view class="date" >完成时间{{$u.timeFormat(item.signOutTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  40. </view>
  41. <view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')">去评价</view>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. props: ['item'],
  48. data() {
  49. return {
  50. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  51. }
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. @import './comp.scss';
  57. </style>