gcz %!s(int64=2) %!d(string=hai) anos
pai
achega
78e45417ed
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      shopping/order.vue

+ 2 - 2
shopping/order.vue

@@ -45,12 +45,12 @@
 										<view class="quantity red">x {{goods.quantity}}</view>
 									</view>
 								</view>
-								<view class="comment-btn" v-if="goods.isComment==0">
+								<view class="comment-btn" v-if="item.status==3&&goods.isComment==0">
 									<text class="btn green" @click.stop="comment(item.id,goods.id,goods.goodsId)">
 										评价
 									</text>
 								</view>
-								<view class="comment-btn" v-if="goods.isComment==1">
+								<view class="comment-btn" v-if="(item.status==3||item.status==6)&&goods.isComment==1">
 									<text class="btn" @click.stop="viewComment(goods.id,goods.goodsId,goods)">
 										查看评价
 									</text>