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.

134 lines
3.2 KiB

8 months ago
8 months ago
4 months ago
8 months ago
4 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="consultItem">
  3. <view class="top_row">
  4. <view class="flex">
  5. <view class="schoolName">{{item.studentName}} {{item.studentPhone}}</view>
  6. </view>
  7. <view class="status">
  8. <text class="text red" v-if="item.schoolAuditStatus==-1"> </text>
  9. <view class="text" v-else :class="{red: item.schoolAuditStatus==2}">{{stateTxt[item.schoolAuditStatus]}}</view>
  10. <!-- <view class="icon">
  11. <u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
  12. </view> -->
  13. </view>
  14. </view>
  15. <view class="target">
  16. <view class="row">
  17. <view class="iconImg">
  18. <image src="@/static/images/index/timerIcon.png" mode="widthFix"></image>
  19. </view>
  20. <view class="name">报名时间{{$u.timeFormat(item.createTime, 'yyyy/mm/dd')}}</view>
  21. </view>
  22. <view class="row">
  23. <view class="iconImg">
  24. <image src="@/static/images/index/carIcon.png" mode="widthFix"></image>
  25. </view>
  26. <view class="name">学驾车型{{item.tranType}}</view>
  27. </view>
  28. <view class="row">
  29. <view class="iconImg">
  30. <image src="@/static/images/index/carNum.png" mode="widthFix"></image>
  31. </view>
  32. <view class="name">报名班型{{item.className}}</view>
  33. </view>
  34. </view>
  35. <view class="border_bottom" v-if="item.schoolAuditStatus==2">
  36. <view class="row">
  37. <view class="lab">不通过原因</view>
  38. <view class="val hui">{{ item.schoolFailReason }}</view>
  39. </view>
  40. </view>
  41. <view class="border_bottom">
  42. <view class="row">
  43. <view class="lab">申请退款金额</view>
  44. <view class="val">{{ $u.utils.priceTo(item.refundAmount)}}</view>
  45. </view>
  46. <slot ></slot>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. props: ['item'],
  53. data() {
  54. return {
  55. stateTxt: ['待审核','审核通过', '审核不通过'],//0、待审核,1、审核通过,-1、取消,2、审核不通过,示例值(2)
  56. }
  57. }
  58. }
  59. </script>
  60. <!-- -->
  61. <style lang="scss" scoped>
  62. .consultItem {
  63. width: 100%;
  64. .top_row {
  65. display: flex;
  66. width: 100%;
  67. height: 116rpx;
  68. border-bottom: 2rpx dashed #E8E9EC;
  69. justify-content: space-between;
  70. align-items: center;
  71. .tag {
  72. // width: 176rpx;
  73. height: 60rpx;
  74. background: rgba(250, 149, 25, 0.1);
  75. border-radius: 8rpx;
  76. text-align: center;
  77. font-size: 28rpx;
  78. color: #FA7919;
  79. margin-right: 24rpx;
  80. padding: 10rpx 18rpx;
  81. }
  82. .schoolName {
  83. font-size: 28rpx;
  84. font-weight: 550;
  85. color: #333;
  86. margin-left: 20rpx;
  87. }
  88. .status {
  89. display: flex;
  90. align-items: center;
  91. .text {
  92. font-size: 28rpx;
  93. color: $themC;
  94. &.red {
  95. color: red;
  96. }
  97. }
  98. }
  99. }
  100. .target {
  101. padding: 20rpx 0;
  102. }
  103. .row {
  104. padding: 16rpx 0;
  105. display: flex;
  106. align-items: center;
  107. .iconImg {
  108. width: 28rpx;
  109. }
  110. .name {
  111. font-size: 28rpx;
  112. color: #333;
  113. padding-left: 20rpx;
  114. }
  115. }
  116. }
  117. .border_bottom {
  118. border-top: 2rpx dashed #E8E9EC;
  119. .row {
  120. padding: 28rpx 0;
  121. display: flex;
  122. align-items: center;
  123. justify-content: space-between;
  124. .val {
  125. color: $themC;
  126. &.hui {
  127. color: #999;
  128. }
  129. }
  130. }
  131. }
  132. </style>