yuxingxing 2 年之前
父节点
当前提交
d522cc5c36
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pages/goods/order_list/index.vue

+ 3 - 3
pages/goods/order_list/index.vue

@@ -96,9 +96,9 @@
 							@click="goOrderDetails(item.order_id)">
 							再次购买
 						</view> -->
-						<view class="bnt cancelBnt" v-if="item.payFlag == 5" @click="delOrder(item.order_id, index)">
-							{{ $t(`删除订单`) }}</view>
-						<!-- <view class="bnt bg-color" @click="goOrderDetails(item.order_id)">{{$t(`查看详情`)}}</view> -->
+						<!-- <view class="bnt cancelBnt" v-if="item.payFlag == 5" @click="delOrder(item.order_id, index)">
+							{{ $t(`删除订单`) }}</view> -->
+						<view class="bnt cancelBnt" v-if="item.payFlag == 5 || item.payFlag == 6" @click="goOrderDetails(item.id,item)">{{$t(`查看详情`)}}</view>
 					</view>
 				</view>
 			</view>