gcz 2 년 전
부모
커밋
78e45417ed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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>