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.

135 lines
3.1 KiB

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. <!-- 考场 -->
  3. <view class="consultItem">
  4. <view class="top_row">
  5. <view class="flex">
  6. <view class="schoolName">{{item.studentName}} {{item.studentPhone}}</view>
  7. </view>
  8. <view class="status">
  9. <text class="text red" v-if="item.refundStatus==-1">取消{{item.refundStatus}}</text>
  10. <view class="text" v-else :class="{red: item.refundStatus==2}">{{stateTxt[item.refundStatus]}}</view>
  11. <view class="icon">
  12. <u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="target">
  17. <view class="row">
  18. <view class="iconImg">
  19. <image src="@/static/images/index/timerIcon.png" mode="widthFix"></image>
  20. </view>
  21. <view class="name">报名时间{{$u.timeFormat(item.createTime, 'yyyy/mm/dd')}}</view>
  22. </view>
  23. <view class="row">
  24. <view class="iconImg">
  25. <image src="@/static/images/index/carIcon.png" mode="widthFix"></image>
  26. </view>
  27. <view class="name">学驾车型{{item.tranType}}</view>
  28. </view>
  29. <view class="row">
  30. <view class="iconImg">
  31. <image src="@/static/images/index/carNum.png" mode="widthFix"></image>
  32. </view>
  33. <view class="name">报名班型{{item.className}}</view>
  34. </view>
  35. </view>
  36. <view class="border_bottom">
  37. <view class="row">
  38. <view class="lab">不通过原因</view>
  39. <view class="val hui">{{ item.auditFailReason }}</view>
  40. </view>
  41. </view>
  42. <view class="border_bottom">
  43. <view class="row">
  44. <view class="lab">申请退款金额</view>
  45. <view class="val">{{ $u.utils.priceTo(item.refundAmount)}}</view>
  46. </view>
  47. <slot ></slot>
  48. </view>
  49. </view>
  50. </template>
  51. <script>
  52. export default {
  53. props: ['item'],
  54. data() {
  55. return {
  56. stateTxt: ['待审核','审核通过', '审核不通过'],//0、待审核,1、审核通过,-1、取消,2、审核不通过,示例值(2)
  57. }
  58. }
  59. }
  60. </script>
  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>