diff --git a/config/app.js b/config/app.js index 4aa7bcc..313fd1e 100644 --- a/config/app.js +++ b/config/app.js @@ -3,9 +3,9 @@ let WSS_URL import store from "@/store/user.js" // 环境 // let env = "dev" -// let env = "prod" +let env = "prod" // let env = "release"; -let env = "local"; +// let env = "local"; switch (env) { case 'dev': diff --git a/pagesOrder/delivery/component/goods.vue b/pagesOrder/delivery/component/goods.vue index 29d7c4c..7f19811 100644 --- a/pagesOrder/delivery/component/goods.vue +++ b/pagesOrder/delivery/component/goods.vue @@ -87,18 +87,9 @@ }) const navTo = () => { - if (props.datas.status == -1) { uni.navigateTo({ - url: "/pages/afterSales/afterSalesOrderDetail", - success(res) { - res.eventChannel.emit('afterSalesDetail', props.datas) - } + url: `/pagesOrder/detail/detail?is_mer=1&id=${props.datas.id}` }) - } else { - uni.navigateTo({ - url: `/pagesOrder/detail/detail?type=${props.datas.paid}&id=${props.datas.id}` - }) - } } const emit = defineEmits(['cancleOrder', 'rePay', 'takeOrder', 'purchaseAgain']); diff --git a/pagesOrder/delivery/index.vue b/pagesOrder/delivery/index.vue index fcfad0e..6c845e8 100644 --- a/pagesOrder/delivery/index.vue +++ b/pagesOrder/delivery/index.vue @@ -41,8 +41,6 @@ - -