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-equity-item.vue 3.6KB

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 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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}order/icon-star-green.png`"></image>
  7. <text>{{item.equityName}}</text>
  8. </view>
  9. <view class="time">{{item.insertTime}}</view>
  10. </view>
  11. <view class="center">
  12. <!-- <view class="as-layout-horizontal as-gravity-center-start">
  13. <image :src="`${$imgUrl}user/icon-avatar.png`" class="avatar"></image>
  14. <text>{{item.customerName}}</text>
  15. </view> -->
  16. <view class="content">{{item.suggestion}}</view>
  17. <view class="images">
  18. <image class="img" mode="aspectFill" v-for="(itemChild,index) in item.pictureUrlArr" :src="itemChild"
  19. :key="index" @click="see(index,item.pictureUrlArr)" />
  20. <!-- <image class="img" mode="aspectFill" :src="`${$imgUrl}${item.pictureUrl}`" /> -->
  21. </view>
  22. </view>
  23. <view class="bottom">
  24. <view class="text good" v-if="item.evaluate === '好评'">好评</view>
  25. <view class="text middle" v-if="item.evaluate === '中评'">中评</view>
  26. <view class="text bad" v-if="item.evaluate === '差评'">差评</view>
  27. <view class="score">{{item.score}}分</view>
  28. </view>
  29. </view>
  30. </template>
  31. <script setup lang="ts">
  32. defineProps({
  33. //数据列表
  34. dataList: {
  35. type: Array,
  36. default: () => {
  37. return [];
  38. }
  39. }
  40. })
  41. const see = (index, pictureUrlArr) => {
  42. uni.previewImage({
  43. current: index,
  44. urls: pictureUrlArr,
  45. });
  46. }
  47. </script>
  48. <style lang="scss" scoped>
  49. .item-box {
  50. background: #ffffff;
  51. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  52. border-radius: 20rpx;
  53. margin-bottom: 30rpx;
  54. .top {
  55. min-height: 88rpx;
  56. padding: 0rpx 30rpx;
  57. border-bottom: 1rpx solid #DCDCDC;
  58. display: flex;
  59. justify-content: flex-end;
  60. image {
  61. width: 48rpx;
  62. height: 53rpx;
  63. }
  64. text {
  65. margin-left: 12rpx;
  66. font-size: 30rpx;
  67. font-family: Noto Sans S Chinese;
  68. font-weight: 400;
  69. color: #333333;
  70. }
  71. .time {
  72. font-size: 26rpx;
  73. color: #999999;
  74. text-align: right;
  75. }
  76. }
  77. .center {
  78. padding: 28rpx 30rpx;
  79. border-bottom: 1rpx solid #DCDCDC;
  80. .avatar {
  81. width: 50rpx;
  82. height: 50rpx;
  83. background: #B2EEE1;
  84. border-radius: 50%;
  85. }
  86. text {
  87. font-size: 26rpx;
  88. font-size: 26rpx;
  89. font-family: Noto Sans S Chinese;
  90. font-weight: 400;
  91. color: #333333;
  92. margin-left: 22rpx;
  93. }
  94. .content {
  95. font-size: 26rpx;
  96. font-family: Noto Sans S Chinese;
  97. font-weight: 400;
  98. color: #333333;
  99. line-height: 46rpx;
  100. margin-top: 30rpx;
  101. }
  102. .images {
  103. margin-top: 40rpx;
  104. display: flex;
  105. flex-direction: row;
  106. flex-wrap: wrap;
  107. margin-right: -30rpx;
  108. margin-bottom: -30rpx;
  109. .img {
  110. width: 130rpx;
  111. height: 130rpx;
  112. margin-right: 30rpx;
  113. background: #F3F3F3;
  114. border-radius: 10rpx;
  115. margin-bottom: 30rpx;
  116. }
  117. }
  118. }
  119. .bottom {
  120. padding: 15rpx 30rpx;
  121. text-align: right;
  122. display: flex;
  123. justify-content: flex-end;
  124. align-items: center;
  125. .text {
  126. width: 97rpx;
  127. height: 36rpx;
  128. line-height: 36rpx;
  129. border-radius: 18rpx;
  130. font-size: 26rpx;
  131. text-align: center;
  132. }
  133. .good {
  134. background: #FBD9D0;
  135. color: #DD523E;
  136. }
  137. .middle {
  138. background: #FBECD0;
  139. color: #FF9600;
  140. }
  141. .bad {
  142. background: #E1E1E1;
  143. color: #999999;
  144. }
  145. .score {
  146. font-size: 26rpx;
  147. font-family: Noto Sans S Chinese;
  148. font-weight: 400;
  149. color: #333333;
  150. margin-left: 17rpx;
  151. }
  152. }
  153. }
  154. </style>