guhongwei 2 vuotta sitten
vanhempi
commit
e374489a54
1 muutettua tiedostoa jossa 3 lisäystä ja 11 poistoa
  1. 3 11
      pagesHome/order/appraise.vue

+ 3 - 11
pagesHome/order/appraise.vue

@@ -16,9 +16,7 @@
 				<scroll-view scroll-y="true" class="scroll-view">
 					<view class="list-scroll-view">
 						<view class="list" v-for="(item, index) in list" :key="index">
-							<image v-if="item.customer.icon&&item.customer.icon.length>0" class="image"
-								:src="item.customer.icon&&item.customer.icon.length>0?item.customer.icon[0].url:''"
-								mode="">
+							<image v-if="item.customer.icon&&item.customer.icon.length>0" class="image" :src="item.customer.icon&&item.customer.icon.length>0?item.customer.icon[0].url:''" mode="">
 							</image>
 							<text v-else class="iconfont icon-top"></text>
 							<view class="list_1">
@@ -45,9 +43,7 @@
 										</view>
 										<view v-if="item.customer._id==user._id" @tap="toReply(item,indexx)">回复</view>
 									</view>
-									<uni-easyinput
-										v-if="reply.reply&&reply.customer._id==user._id&&reply._id==item._id&&reply.index==indexx"
-										class="input" maxlength=-1 type="textarea" @change="confirm" placeholder="评论" />
+									<uni-easyinput v-if="reply.reply&&reply.customer._id==user._id&&reply._id==item._id&&reply.index==indexx" class="input" maxlength=-1 type="textarea" @change="confirm" placeholder="评论" />
 								</view>
 							</view>
 						</view>
@@ -120,11 +116,7 @@
 						that.$set(that, `user`, user);
 						that.search()
 					},
-					fail: function(err) {
-						uni.navigateTo({
-							url: `/pages/login/index`
-						})
-					}
+					fail: function(err) {}
 				})
 			},
 			// 查询列表