diff --git a/App.vue b/App.vue index 62e0d20..d14a8c4 100644 --- a/App.vue +++ b/App.vue @@ -20,6 +20,7 @@ // 监听消息 pushListener() // #endif + console.log('App Launch') }) @@ -86,4 +87,4 @@ .li-top-border { border-top: solid 1px #eaeaea; } - \ No newline at end of file + diff --git a/pages.json b/pages.json index ebfacb3..40ad3fa 100644 --- a/pages.json +++ b/pages.json @@ -1,5 +1,6 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { "path": "pages/index/index", "style": { @@ -9,15 +10,6 @@ "navigationBarTitleText": "首页" } }, - { - "path": "pages/login/index", - "style": { - "enablePullDownRefresh": false, - "navigationBarTextStyle": "black", - "navigationStyle": "custom", - "navigationBarTitleText": "登录页" - } - }, { "path": "pages/message/index", "style": { @@ -35,6 +27,15 @@ "navigationStyle": "custom", "navigationBarTitleText": "我的" } + }, + { + "path": "pages/login/index", + "style": { + "enablePullDownRefresh": false, + "navigationBarTextStyle": "black", + "navigationStyle": "custom", + "navigationBarTitleText": "登录页" + } } ], "globalStyle": { @@ -110,15 +111,24 @@ "navigationBarTextStyle": "black", "navigationBarTitleText": "聊天详情" } + }, + { + "path": "verification/index", + "style": { + "enablePullDownRefresh": true, + "navigationBarTextStyle": "black", + "navigationStyle": "custom", + "navigationBarTitleText": "核销详情" + } } ] }], "condition": { "current": 0, // 当前激活的条件,默认为 0 "list": [{ - "name": "登录页", // 条件名称 - "path": "pagesA/chat/index", // 要打开的页面路径 + "name": "", // 条件名称 + "path": "pages/index/index", // 要打开的页面路径 "query": "" // 可选的页面参数 }] } -} \ No newline at end of file +} diff --git a/pages/index/index.vue b/pages/index/index.vue index 60068a6..5e32b7f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -11,8 +11,8 @@