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

1 year ago
12 months ago
12 months ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
12 months ago
12 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" :class="{yellow: (item.orderType==1||item.feeType==1)}"> {{orderTypeTxt[item.orderType||item.feeType]}}</view>
  7. <view class="schoolName oneRowText">{{ $u.utils.truncateText(item.schoolName, 12) }}</view>
  8. </view>
  9. <view class="status">
  10. <!-- 退款 -->
  11. <view class="text" v-if="item.feeType">{{auditStatusTxt[item.auditStatus]}}</view>
  12. <!-- 订单 -->
  13. <view class="text" v-else>{{orderStatusTxt[item.orderStatus]}}</view>
  14. <view class="icon">
  15. <u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="target">
  20. <view class="row">
  21. <view class="leftLab">
  22. <view class="icon">
  23. <image src="@/static/images/car/ic_chexing.png" mode=""></image>
  24. </view>
  25. <view class="lab">学驾车型</view>
  26. </view>
  27. <view class="name">{{item.trainType}}</view>
  28. </view>
  29. <view class="row">
  30. <view class="leftLab">
  31. <view class="icon">
  32. <image src="@/static/images/car/ic_banxing.png" mode=""></image>
  33. </view>
  34. <view class="lab">所选班型</view>
  35. </view>
  36. <view class="name">{{item.className}}</view>
  37. </view>
  38. </view>
  39. <view class="border_bottom">
  40. <!-- <view class="dateBox">
  41. <view class="date">完成时间2022-01-04</view>
  42. </view> -->
  43. <!-- <view class="btnBg">去评价</view> -->
  44. <view class="rows">
  45. <view class="label">培训费总价</view>
  46. <view class="value">{{ $u.utils.priceTo(item.totalAmount) }}</view>
  47. </view>
  48. <view class="rows">
  49. <view class="label hui">实际支付</view>
  50. <view class="value blue">暂无字段</view>
  51. </view>
  52. </view>
  53. </view>
  54. </template>
  55. <script>
  56. export default {
  57. props: ['item'],
  58. data() {
  59. return {
  60. orderTypeTxt: ['', '学费', '理科费', '考场模拟', '额外学时购买'],//1:驾校培训费用,2:理科培训费用,3:考场适应性费用,4:额外学时购买
  61. orderStatusTxt: ['待支付', '已支付', '已取消', '支付失败'], //0:待支付,1:已支付,-1:已取消,2:支付失败
  62. auditStatusTxt: ['待审核', '审核通过', '审核不通过',],//审核状态,0、待审核,1、审核通过,-1、取消,2、审核不通过,示例值(2)
  63. }
  64. }
  65. }
  66. </script>
  67. <style lang="scss" scoped>
  68. @import './comp.scss';
  69. </style>