洛阳学员端
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.

57 lines
2.0 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months 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="lab">学驾车型</view>
  22. <view class="name">{{item.trainType}}</view>
  23. </view>
  24. <view class="row">
  25. <view class="lab">所选班型</view>
  26. <view class="name">{{item.className}}</view>
  27. </view>
  28. </view>
  29. <view class="border_bottom">
  30. <!-- <view class="dateBox">
  31. <view class="date">完成时间2022-01-04</view>
  32. </view> -->
  33. <!-- <view class="btnBg">去评价</view> -->
  34. <view class="rows">
  35. <view class="label hui">实际支付</view>
  36. <view class="value blue">{{ $u.utils.priceTo(item.totalAmount)}}</view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. props: ['item'],
  44. data() {
  45. return {
  46. orderTypeTxt: ['', '学费', '理科费', '考场模拟', '额外学时购买'],//1:驾校培训费用,2:理科培训费用,3:考场适应性费用,4:额外学时购买
  47. orderStatusTxt: ['待支付', '已支付', '已取消', '支付失败'], //0:待支付,1:已支付,-1:已取消,2:支付失败
  48. auditStatusTxt: ['待审核', '审核通过', '审核不通过',],//审核状态,0、待审核,1、审核通过,-1、取消,2、审核不通过,示例值(2)
  49. }
  50. }
  51. }
  52. </script>
  53. <style lang="scss" scoped>
  54. @import './comp.scss';
  55. </style>