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.

evaluate-salesman-item.vue 2.7KB

1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <!-- 业务员满意度评价列表Item -->
  2. <template>
  3. <view class="item-box" v-for="(item,index) in dataList" :key="index">
  4. <view class="top as-layout-horizontal as-gravity-center-start">
  5. <view class="as-layout-horizontal as-gravity-center-start">
  6. <image :src="`${$imgUrl}user/icon-avatar.png`"></image>
  7. <text>{{item.staffName}}</text>
  8. </view>
  9. <view class="time">{{item.insertTime}}</view>
  10. </view>
  11. <view class="center">
  12. <!-- <view class="type">这里是业务办理</view> -->
  13. <view class="content">{{item.suggestion}}</view>
  14. </view>
  15. <view class="bottom">
  16. <view class="text good" v-if="item.evaluate === '好评'">好评</view>
  17. <view class="text middle" v-if="item.evaluate === '中评'">中评</view>
  18. <view class="text bad" v-if="item.evaluate === '差评'">差评</view>
  19. <view class="score">{{item.score}}分</view>
  20. </view>
  21. </view>
  22. <view v-if="dataList.length==0" class="no">暂无评价</view>
  23. </template>
  24. <script setup lang="ts">
  25. defineProps({
  26. //数据列表
  27. dataList: {
  28. type: Array,
  29. default: () => {
  30. return [];
  31. }
  32. }
  33. })
  34. </script>
  35. <style lang="scss" scoped>
  36. .item-box {
  37. background: #ffffff;
  38. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  39. border-radius: 20rpx;
  40. margin-bottom: 30rpx;
  41. .top {
  42. min-height: 88rpx;
  43. padding: 0rpx 30rpx;
  44. border-bottom: 1rpx solid #DCDCDC;
  45. image {
  46. width: 50rpx;
  47. height: 50rpx;
  48. background: #B2EEE1;
  49. border-radius: 50%;
  50. }
  51. text {
  52. margin-left: 20rpx;
  53. font-size: 30rpx;
  54. font-family: Noto Sans S Chinese;
  55. font-weight: 400;
  56. color: #333333;
  57. }
  58. .time {
  59. font-size: 26rpx;
  60. color: #333333;
  61. text-align: right;
  62. }
  63. }
  64. .center {
  65. padding: 28rpx 30rpx;
  66. border-bottom: 1rpx solid #DCDCDC;
  67. .type {
  68. font-size: 26rpx;
  69. font-family: Noto Sans S Chinese;
  70. font-weight: 400;
  71. color: #999999;
  72. }
  73. .content {
  74. ffont-size: 26rpx;
  75. font-family: Noto Sans S Chinese;
  76. font-weight: 400;
  77. color: #333333;
  78. line-height: 46rpx;
  79. margin-top: 30rpx;
  80. }
  81. }
  82. .bottom {
  83. padding: 15rpx 30rpx;
  84. text-align: right;
  85. display: flex;
  86. justify-content: flex-end;
  87. align-items: center;
  88. .text {
  89. width: 97rpx;
  90. height: 36rpx;
  91. line-height: 36rpx;
  92. border-radius: 18rpx;
  93. font-size: 26rpx;
  94. text-align: center;
  95. }
  96. .good {
  97. background: #FBD9D0;
  98. color: #DD523E;
  99. }
  100. .middle {
  101. background: #FBECD0;
  102. color: #FF9600;
  103. }
  104. .bad {
  105. background: #E1E1E1;
  106. color: #999999;
  107. }
  108. .score {
  109. font-size: 26rpx;
  110. font-family: Noto Sans S Chinese;
  111. font-weight: 400;
  112. color: #333333;
  113. margin-left: 17rpx;
  114. }
  115. }
  116. }
  117. .no {
  118. text-align: center;
  119. }
  120. </style>