From 8c7965638ea3f19eca2a1fab75f95c73b57aa735 Mon Sep 17 00:00:00 2001 From: ChuShiZ Date: Sat, 28 Sep 2024 00:43:23 +0800 Subject: [PATCH] 1 --- pages-home/home/active.vue | 1 + pages.json | 12 ++++++------ pages/index/index.vue | 21 ++++++++------------- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/pages-home/home/active.vue b/pages-home/home/active.vue index a4c6474..ba9b566 100644 --- a/pages-home/home/active.vue +++ b/pages-home/home/active.vue @@ -246,6 +246,7 @@ export default { console.log(res); //拿到充值有礼订单 TODO 对接支付 this.orderInfo = res.data + this.goPay(this.orderInfo) }) } } diff --git a/pages.json b/pages.json index c7f9f62..f3614ce 100644 --- a/pages.json +++ b/pages.json @@ -3,12 +3,12 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - // // { - // // "path": "pages/index/index", - // // "style": { - // // "navigationBarTitleText": "uni-app" - // // } - // // }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "uni-app" + } + }, { "path": "pages/login/login", "style": { diff --git a/pages/index/index.vue b/pages/index/index.vue index 9454b04..e07137e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -5,25 +5,20 @@