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

+ 1 - 1
pagesHome/order/appraise.vue

@@ -42,7 +42,7 @@
 										<text>用户评论:{{itm.content||'暂无'}}</text>
 										<text v-if="itm.reply">商家回复:{{itm.reply||'暂无'}}</text>
 									</view>
-									<view @tap="toReply(item)">回复</view>
+									<view v-if="item.customer._id==user._id" @tap="toReply(item)">回复</view>
 								</view>
 								<input v-if="reply.reply" @confirm="confirm" class="input" placeholder="回复商家" />
 							</view>

+ 1 - 1
pagesMy/order/appraise.vue

@@ -4,7 +4,7 @@
 			<view class="one">
 				<uni-forms ref="form" :modelValue="form" :rules="rules" label-width="auto">
 					<uni-forms-item label="评论内容" name="content">
-						<uni-easyinput type="textarea" v-model="form.content" placeholder="请输入评论内容" />
+						<uni-easyinput maxlength=-1 type="textarea" v-model="form.content" placeholder="请输入评论内容" />
 					</uni-forms-item>
 					<uni-forms-item label="上传评论图片" name="file">
 						<upload :list="file" name="file" :count="6" @uplSuc="uplSuc" @uplDel="uplDel"></upload>