学员端小程序
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.

158 lines
3.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="consultItem">
  3. <view class="top_row">
  4. <view class="flex">
  5. <view class="tag">投诉教练</view>
  6. <view class="tag">服务态度</view>
  7. </view>
  8. <view class="status">待处理</view>
  9. </view>
  10. <view class="target">
  11. <view class="row">
  12. <view class="leftLab">
  13. <view class="icon">
  14. <image src="@/static/images/car/ic_jiaxiao.png" mode=""></image>
  15. </view>
  16. <view class="lab">驾校名称</view>
  17. </view>
  18. <view class="name">翔力驾校</view>
  19. </view>
  20. <view class="row">
  21. <view class="leftLab">
  22. <view class="icon">
  23. <image src="@/static/images/index/edit.png" mode=""></image>
  24. </view>
  25. <view class="lab">教练名称</view>
  26. </view>
  27. <view class="name">翔力驾校</view>
  28. </view>
  29. </view>
  30. <view class="content">
  31. <view class="lab">问题描述</view>
  32. <view class="text">能退学费吗</view>
  33. </view>
  34. <view class="border_bottom">
  35. <view class="dateBox">
  36. <view class="date">创建时间2022-01-04</view>
  37. <!-- <view class="date">处理时间2022-01-04</view> -->
  38. </view>
  39. <view class="close_btn" @click="closeFn">关闭</view>
  40. </view>
  41. </view>
  42. </template>
  43. <script>
  44. export default {
  45. methods: {
  46. closeFn() {
  47. uni.showModal({
  48. content:'确定要关闭吗?',
  49. success: function(res) {
  50. if (res.confirm) {
  51. } else if (res.cancel) {
  52. console.log('用户点击取消');
  53. }
  54. }
  55. })
  56. }
  57. }
  58. }
  59. </script>
  60. <style lang="scss" scoped>
  61. .consultItem {
  62. width: 100%;
  63. .target {
  64. border-bottom: 2rpx dashed #E8E9EC;
  65. }
  66. .row {
  67. display: flex;
  68. justify-content: space-between;
  69. padding: 24rpx 0;
  70. .leftLab {
  71. display: flex;
  72. align-items: center;
  73. .icon {
  74. width: 30rpx;
  75. height: 30rpx;
  76. }
  77. .lab {
  78. margin-left: 10rpx;
  79. font-size: 28rpx;
  80. color: #ADADAD;
  81. }
  82. }
  83. .name {
  84. font-size: 28rpx;
  85. color: #333;
  86. }
  87. }
  88. .top_row {
  89. display: flex;
  90. width: 100%;
  91. height: 116rpx;
  92. border-bottom: 2rpx dashed #E8E9EC;
  93. justify-content: space-between;
  94. align-items: center;
  95. .tag {
  96. width: 176rpx;
  97. height: 60rpx;
  98. background: rgba(38,144,12,0.1);
  99. border-radius: 8rpx;
  100. text-align: center;
  101. line-height: 60rpx;
  102. font-size: 28rpx;
  103. color: #0D9269;
  104. margin-right: 24rpx;
  105. }
  106. .status {
  107. font-size: 28rpx;
  108. color: $themC;
  109. }
  110. }
  111. .content {
  112. padding: 24rpx 0 50rpx 0;
  113. font-size: 28rpx;
  114. .lab {
  115. color: #ADADAD;
  116. margin-bottom: 4rpx;
  117. }
  118. .text {
  119. }
  120. }
  121. .border_bottom {
  122. border-top: 2rpx dashed #E8E9EC;
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. padding: 30rpx 0 16rpx 0;
  127. .dateBox {
  128. .date {
  129. font-size: 28rpx;
  130. color: #ADADAD;
  131. margin-bottom: 16rpx;
  132. }
  133. }
  134. .close_btn {
  135. width: 140rpx;
  136. height: 60rpx;
  137. background: #FFFFFF;
  138. border-radius: 8rpx;
  139. border: 2rpx solid #E8E9EC;
  140. text-align: center;
  141. line-height: 60rpx;
  142. color: #ADADAD;
  143. font-size: 28rpx;
  144. }
  145. }
  146. }
  147. </style>