Jacob
2026-10-12 a7e7b324f32b7d0769adf596a622bcc0d81ed6d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<template>
   <view class="evaluateWtapper" v-if="reply.length > 0">
       <view class="evaluateItem" v-for="(item, indexw) in reply" :key="indexw">
           <view class="pic-text acea-row">
               <view class="pictrue">
                   <image :src="item.avatar"></image>
               </view>
               <view class="content">
                   <view>
                       <view class="acea-row row-between">
                           <view class="acea-row">
                               <view class="name line1">{{ item.nickname }}</view>
                               <view class="start" :class="'star' + item.score"></view>
                           </view>
                           <view class="time">{{ item.createTime }}</view>
                       </view>
                       <view class="sku">规格:{{ item.sku?item.sku:'无' }}</view>
                   </view>
                   
                   <view class="evaluate-infor">{{ item.comment }}</view>
                   <view class="imgList acea-row" v-if="item.pics && item.pics.length && item.pics[0]">
                       <view class="pictrue" v-for="(itemn, indexn) in item.pics" :key="indexn">
                           <image :src="itemn" class="image" @click='getpreviewImage(indexw, indexn)'></image>
                       </view>
                   </view>
                   <view class="reply" v-if="item.merchantReplyContent">
                       <text class="font-color">店小二</text>:{{ item.merchantReplyContent }}
                   </view>
               </view>
               
           </view>
           
       </view>
   </view>
</template>
<script>
   export default {
       props: {
           reply: {
               type: Array,
               default: []
           }
       },
       data: function() {
           return {};
       },
       methods: {
           getpreviewImage: function(indexw, indexn) {
               uni.previewImage({
                   urls: this.reply[indexw].pics,
                   current: this.reply[indexw].pics[indexn]
               });
           }
       }
   }
</script>
<style scoped lang='scss'>
   .evaluateWtapper .evaluateItem {
       background-color: #fff;
       padding: 24rpx;
       border-bottom-left-radius: 14rpx;
       border-bottom-right-radius: 14rpx;
   }
   
   .evaluateWtapper .evaluateItem~.evaluateItem {
       border-top: 1rpx solid #f5f5f5;
   }
   
   .evaluateWtapper .evaluateItem .pic-text {
       font-size: 26rpx;
       color: #282828;
       .content{
           width: 84%;
           margin-left: 20rpx;
       }
   }
   
   .evaluateWtapper .evaluateItem .pic-text .pictrue {
       width: 62rpx;
       height: 62rpx;
   }
   
   .evaluateWtapper .evaluateItem .pic-text .pictrue image {
       width: 100%;
       height: 100%;
       border-radius: 50%;
   }
   
   .evaluateWtapper .evaluateItem .pic-text .name {
       max-width: 450rpx;
   }
   
   .evaluateWtapper .evaluateItem .time {
       font-size: 24rpx;
       color: #999999;
       
   }
   .sku{
       font-size: 24rpx;
       color: #999999;
       margin: 10rpx 0;
   }
   .evaluateWtapper .evaluateItem .evaluate-infor {
       font-size: 28rpx;
       color: #333;
       margin-bottom: 14rpx;
   }
   
   .evaluateWtapper .evaluateItem .imgList {/* 
       padding: 0 24rpx;
       margin-top: 16rpx; */
   }
   
   .evaluateWtapper .evaluateItem .imgList .pictrue {
       width: 102rpx;
       height: 102rpx;
       margin-right: 14rpx;
       border-radius: 14rpx;
       margin-bottom: 16rpx;
       /* margin: 0 0 15rpx 15rpx; */
   }
   
   .evaluateWtapper .evaluateItem .imgList .pictrue image {
       width: 100%;
       height: 100%;
       background-color: #f7f7f7;
       border-radius: 14rpx;
   }
   
   .evaluateWtapper .evaluateItem .reply {
       font-size: 26rpx;
       color: #454545;
       background-color: #f7f7f7;
       border-radius: 14rpx;
       margin: 20rpx 30rpx 0 0rpx;
       padding: 20rpx;
       position: relative;
   }
   
   .evaluateWtapper .evaluateItem .reply::before {
       content: "";
       width: 0;
       height: 0;
       border-left: 20rpx solid transparent;
       border-right: 20rpx solid transparent;
       border-bottom: 30rpx solid #f7f7f7;
       position: absolute;
       top: -14rpx;
       left: 40rpx;
   }
</style>