From 4e1768fa585e65abf60b89a3e393167c2d3b3951 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 29 Jul 2024 17:17:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E9=97=A8=E5=BA=97?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E4=BF=9D=E7=95=99=E4=B8=80=E5=A4=A9?= =?UTF-8?q?=E5=92=8C=E6=A0=B8=E9=94=80=E7=A0=81=E6=98=BE=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BD=8D=E7=BD=AE=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E8=8E=B7=E5=8F=96=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 4 +- pages/afterSales/afterSales.vue | 5 +- pages/index/index.vue | 18 +- pages/login/login.vue | 4 +- pages/login/test.vue | 18 +- pagesOrder/addressEdit/addressEdit.vue | 232 ++++++++++++++++++++++--- pagesOrder/order/order.vue | 2 +- pagesOrder/settle/settle.vue | 28 ++- 8 files changed, 251 insertions(+), 60 deletions(-) diff --git a/config/app.js b/config/app.js index f1f7802..5657b7c 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/pages/afterSales/afterSales.vue b/pages/afterSales/afterSales.vue index 447ded8..48acd24 100644 --- a/pages/afterSales/afterSales.vue +++ b/pages/afterSales/afterSales.vue @@ -225,7 +225,10 @@ if (res.code == 1) { uni.$u.toast(res.msg); uni.$u.sleep(1500).then(res => { - uni.navigateBack(); + // uni.navigateBack(); + uni.redirectTo({ + url: '/pagesOrder/order/order' + }) }) } else { uni.$u.toast(res.msg); diff --git a/pages/index/index.vue b/pages/index/index.vue index c1d8a34..9ac8b1b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -23,12 +23,16 @@