zs 2 年之前
父节点
当前提交
5ee7ef5d23
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      pagesHome/order/appraise.vue

+ 7 - 1
pagesHome/order/appraise.vue

@@ -38,7 +38,7 @@
 								<view class="other1"><text>{{item.reply[0].content||'暂无'}}</text></view>
 								<view class="other2">规格:{{item.goodsSpec.name}}</view>
 								<view class="other2" v-for="(itm, indexx) in item.reply" :key="indexx">
-									<view class="reply">
+									<view :class="[item.customer._id!=user._id?'reply_2':'reply']">
 										<text>用户评论:{{itm.content||'暂无'}}</text>
 										<text v-if="itm.reply">商家回复:{{itm.reply||'暂无'}}</text>
 									</view>
@@ -359,6 +359,12 @@
 							word-wrap: break-word;
 							word-break: break-all;
 						}
+						.reply_2{
+							display: flex;
+							flex-direction: column;
+							word-wrap: break-word;
+							word-break: break-all;
+						}
 					}
 				}
 			}