江西小程序管理端
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.

111 lines
2.7 KiB

1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
11 months ago
1 year ago
  1. <template>
  2. <!-- 实操 -->
  3. <view class="consultItem">
  4. <view class="top_row">
  5. <view class="flex">
  6. <view class="schoolName">{{item.studentName}} <text style="margin-left: 6px;">{{ item.studentPhone}}</text></view>
  7. </view>
  8. <view class="status">
  9. <view class="text">{{loginStatusTxt[item.loginStatus]}}</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/listIcon.png" mode=""></image>
  19. </view>
  20. <view class="name">训练科目{{ subjectTxt[item.subject] }}</view>
  21. </view>
  22. <view class="row">
  23. <view class="iconImg">
  24. <image src="@/static/images/index/site.png" mode=""></image>
  25. </view>
  26. <view class="name">预约场地{{item.siteName}}</view>
  27. </view>
  28. <view class="row">
  29. <view class="iconImg">
  30. <image src="@/static/images/index/carIcon.png" mode=""></image>
  31. </view>
  32. <view class="name">预约车辆{{item.carNumber}}</view>
  33. </view>
  34. <view class="row">
  35. <view class="iconImg">
  36. <image src="@/static/images/index/timerIcon.png" mode=""></image>
  37. </view>
  38. <view class="name">预约时间{{$u.timeFormat(item.startTime, 'yyyy/mm/dd MM:ss')}}</view>
  39. </view>
  40. </view>
  41. </view>
  42. </template>
  43. <script>
  44. export default {
  45. props: ['item'],
  46. data() {
  47. return {
  48. subjectTxt: ['不限', '科目二', '科目三'],//:0:不限;2:科目二;3:科目三
  49. loginStatusTxt: ['未签到', '已签到', '已签退', '已过期', '已取消'],//0:未签到,1:已签到,2:已签退,3:已过期,9:已取消
  50. }
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. .consultItem {
  56. width: 100%;
  57. .top_row {
  58. display: flex;
  59. width: 100%;
  60. height: 116rpx;
  61. border-bottom: 2rpx dashed #E8E9EC;
  62. justify-content: space-between;
  63. align-items: center;
  64. .tag {
  65. // width: 176rpx;
  66. height: 60rpx;
  67. background: rgba(250, 149, 25, 0.1);
  68. border-radius: 8rpx;
  69. text-align: center;
  70. font-size: 28rpx;
  71. color: #FA7919;
  72. margin-right: 24rpx;
  73. padding: 10rpx 18rpx;
  74. }
  75. .schoolName {
  76. font-size: 28rpx;
  77. color: #333;
  78. margin-left: 20rpx;
  79. font-weight: 550;
  80. }
  81. .status {
  82. display: flex;
  83. align-items: center;
  84. .text {
  85. font-size: 28rpx;
  86. color: $themC;
  87. }
  88. }
  89. }
  90. .target {
  91. padding: 20rpx 0;
  92. }
  93. .row {
  94. padding: 16rpx 0;
  95. display: flex;
  96. align-items: center;
  97. .iconImg {
  98. width: 32rpx;
  99. height: 28rpx;
  100. }
  101. .name {
  102. font-size: 28rpx;
  103. color: #333;
  104. padding-left: 20rpx;
  105. }
  106. }
  107. }
  108. </style>