gcz 2 ani în urmă
părinte
comite
78e45417ed
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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>