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

107 lines
2.0 KiB

1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="consultItem">
  3. <view class="top_row">
  4. <view class="tag">咨询</view>
  5. <view class="status">待处理</view>
  6. </view>
  7. <view class="content">
  8. <view class="lab">问题描述</view>
  9. <view class="text">能退学费吗</view>
  10. </view>
  11. <view class="border_bottom">
  12. <view class="dateBox">
  13. <view class="date">创建时间2022-01-04</view>
  14. <!-- <view class="date">处理时间2022-01-04</view> -->
  15. </view>
  16. <view class="close_btn">关闭</view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. methods: {
  23. closeFn() {
  24. uni.showModal({
  25. content:'确定要关闭吗?',
  26. success: function(res) {
  27. if (res.confirm) {
  28. } else if (res.cancel) {
  29. console.log('用户点击取消');
  30. }
  31. }
  32. })
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .consultItem {
  39. width: 100%;
  40. .top_row {
  41. display: flex;
  42. width: 100%;
  43. height: 116rpx;
  44. border-bottom: 2rpx dashed #E8E9EC;
  45. justify-content: space-between;
  46. align-items: center;
  47. .tag {
  48. width: 120rpx;
  49. height: 60rpx;
  50. background: rgba(250,149,25,0.1);
  51. border-radius: 8rpx;
  52. text-align: center;
  53. line-height: 60rpx;
  54. font-size: 28rpx;
  55. color: #FA7919;
  56. }
  57. .status {
  58. font-size: 28rpx;
  59. color: $themC;
  60. }
  61. }
  62. .content {
  63. padding: 24rpx 0 50rpx 0;
  64. font-size: 28rpx;
  65. .lab {
  66. color: #ADADAD;
  67. margin-bottom: 4rpx;
  68. }
  69. .text {
  70. }
  71. }
  72. .border_bottom {
  73. border-top: 2rpx dashed #E8E9EC;
  74. display: flex;
  75. align-items: center;
  76. justify-content: space-between;
  77. padding: 30rpx 0 10rpx 0;
  78. .dateBox {
  79. .date {
  80. font-size: 28rpx;
  81. color: #ADADAD;
  82. margin-bottom: 16rpx;
  83. }
  84. }
  85. .close_btn {
  86. width: 140rpx;
  87. height: 60rpx;
  88. background: #FFFFFF;
  89. border-radius: 8rpx;
  90. border: 2rpx solid #E8E9EC;
  91. text-align: center;
  92. line-height: 60rpx;
  93. color: #ADADAD;
  94. font-size: 28rpx;
  95. }
  96. }
  97. }
  98. </style>