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 @@ + + + + 今日已完成签到 + 积分{{ result.changeIntegral }} + + {{ result.createTime }} + {{ result.address }} + + + + + +