diff --git a/page_user/good_list.vue b/page_user/good_list.vue index dddb1d6..ba56120 100644 --- a/page_user/good_list.vue +++ b/page_user/good_list.vue @@ -123,9 +123,16 @@ }); }, topage(item){ - uni.navigateTo({ - url:'/page_user/xcjs?id='+item.orderNo - }) + if(item.status!=3&&item.paid==0){ + uni.redirectTo({ + url:'/pages/index/index' + }) + }else{ + uni.navigateTo({ + url:'/page_user/xcjs?id='+item.orderNo + }) + } + }, getlist() { diff --git a/page_user/xcjs.vue b/page_user/xcjs.vue index 5271a2b..6c4b115 100644 --- a/page_user/xcjs.vue +++ b/page_user/xcjs.vue @@ -1,6 +1,6 @@