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 @@