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.

176 lines
3.7 KiB

8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="pageBg">
  3. <view class="pageBgImg">
  4. <view class="searchBox">
  5. <topNavbar title="待结算记录"></topNavbar>
  6. </view>
  7. <view class="pad">
  8. <view class="searcBox">
  9. <searchRow placeholder="搜索学员姓名、学员手机号"/>
  10. </view>
  11. <view class="tabs">
  12. <view class="tab" v-for="(item,index) in tabData" :key="index" :class="{active: index==1}">{{ item.text }}</view>
  13. </view>
  14. <view class="total">12条记录</view>
  15. <view class="list">
  16. <view class="card">
  17. <view class="top_row">
  18. <view class="name">张三三</view>
  19. <view class="tag">第三阶段</view>
  20. <view class="price"><text>待结算金额</text> 1333.3</view>
  21. </view>
  22. <view class="row">
  23. <view class="lab">学员确认</view>
  24. <view class="icon">
  25. <image src="@/static/images/index/radio_cli.png" mode=""></image>
  26. <!-- <image src="@/static/images/index/radio_nor.png" mode=""></image> -->
  27. </view>
  28. <view class="right">
  29. <view class="btnBg">确认</view>
  30. </view>
  31. </view>
  32. <view class="row">
  33. <view class="lab">教练确认</view>
  34. <view class="icon">
  35. <image src="@/static/images/index/radio_cli.png" mode=""></image>
  36. <!-- <image src="@/static/images/index/radio_nor.png" mode=""></image> -->
  37. </view>
  38. <view class="right">
  39. <view class="btnBg">确认</view>
  40. </view>
  41. </view>
  42. <view class="row">
  43. <view class="lab">驾校确认</view>
  44. <view class="icon">
  45. <image src="@/static/images/index/radio_cli.png" mode=""></image>
  46. <!-- <image src="@/static/images/index/radio_nor.png" mode=""></image> -->
  47. </view>
  48. <view class="right">
  49. 2023/08/08 10:55:21
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. tabData: [
  63. {text: '全部', id: 1},
  64. {text: '阶段二', id: 2},
  65. {text: '阶段三', id: 3},
  66. {text: '阶段五', id: 4}
  67. ]
  68. }
  69. }
  70. }
  71. </script>
  72. <style lang="scss" scoped>
  73. .searcBox {
  74. padding-top: 24rpx;
  75. }
  76. .total {
  77. font-size: 24rpx;
  78. color: #686B73;
  79. line-height: 74rpx;
  80. text-align: right;
  81. height: 74rpx;
  82. }
  83. .tabs {
  84. display: flex;
  85. justify-content: space-between;
  86. height: 110rpx;
  87. align-items: center;
  88. .tab {
  89. font-size: 28rpx;
  90. color: #fff;
  91. line-height: 110rpx;
  92. &.active {
  93. position: relative;
  94. &::before {
  95. content: '';
  96. width: 56rpx;
  97. height: 6rpx;
  98. background: #FFFFFF;
  99. border-radius: 3rpx;
  100. position: absolute;
  101. left: 50%;
  102. transform: translateX(-50%);
  103. bottom: 20rpx;
  104. }
  105. }
  106. }
  107. }
  108. .list {
  109. .card {
  110. padding: 0 32rpx;
  111. .top_row {
  112. display: flex;
  113. border-bottom: 2rpx dashed #E8E9EC;
  114. height: 98rpx;
  115. align-items: center;
  116. width: 100%;
  117. margin-bottom: 12rpx;
  118. .name {
  119. font-size: 32rpx;
  120. color: #333;
  121. }
  122. .tag {
  123. width: 144rpx;
  124. height: 60rpx;
  125. background: rgba(25,137,250,0.1);
  126. border-radius: 8rpx;
  127. font-size: 28rpx;
  128. color: $themC;
  129. text-align: center;
  130. margin-left: 10rpx;
  131. line-height: 60rpx;
  132. }
  133. .price {
  134. color: $themC;
  135. margin-left: auto;
  136. font-size: 32rpx;
  137. font-weight: 500;
  138. text {
  139. font-size: 24rpx;
  140. }
  141. }
  142. }
  143. .row {
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-between;
  147. height: 88rpx;
  148. .lab {
  149. color: #686B73;
  150. }
  151. .icon {
  152. width: 32rpx;
  153. height: 32rpx;
  154. }
  155. .right {
  156. color: #686B73;
  157. width: 300rpx;
  158. display: flex;
  159. justify-content: flex-end;
  160. .btnBg {
  161. width: 130rpx;
  162. }
  163. }
  164. }
  165. }
  166. }
  167. </style>