From 1498a7a697ef4f5e5f0690f47f65e0267d861aab Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 13 Sep 2022 17:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=88=B0=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../huizhili/AppHome/components/AppMyGrid.vue | 4 +- src/project/huizhili/AppHome/signResult.vue | 83 +++++++++++++++++++ 2 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 src/project/huizhili/AppHome/signResult.vue diff --git a/src/project/huizhili/AppHome/components/AppMyGrid.vue b/src/project/huizhili/AppHome/components/AppMyGrid.vue index 94b56b1e..fb9153b8 100644 --- a/src/project/huizhili/AppHome/components/AppMyGrid.vue +++ b/src/project/huizhili/AppHome/components/AppMyGrid.vue @@ -57,7 +57,7 @@ export default { if(!url) { this.$u.toast('功能开发中...') }else { - uni.navigateTo({url}) + uni.navigateTo({ url }) } } }, @@ -88,7 +88,7 @@ export default { .then(({data: {result: {address}}}) => this.$http.post("/app/appwxsigninfo/sign", {lat, lng, address})) .then(res => { if (res?.code == 0) { - this.linkTo("/apps/AppMyGrid/signResult?id=" + res?.data.id) + this.linkTo("./signResult?id=" + res?.data.id) } }).catch(err => this.$u.toast(err)) } else this.$u.toast("无法获取到定位!") diff --git a/src/project/huizhili/AppHome/signResult.vue b/src/project/huizhili/AppHome/signResult.vue new file mode 100644 index 00000000..94522b73 --- /dev/null +++ b/src/project/huizhili/AppHome/signResult.vue @@ -0,0 +1,83 @@ + + + + +