diff --git a/pages.json b/pages.json index 3762146..014d706 100644 --- a/pages.json +++ b/pages.json @@ -1,10 +1,16 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://doc.dcloud.net.cn/uni-app-x/collocation/pagesjson.html { - "path": "pages/index/index", + "path": "pages/index", "style": { "navigationBarTitleText": "uni-app x" } + }, + { + "path": "pages/auth/login", + "style": { + "navigationBarTitleText": "登录" + } } ], "globalStyle": { @@ -14,4 +20,4 @@ "backgroundColor": "#F8F8F8" }, "uniIdRouter": {} -} +} \ No newline at end of file diff --git a/pages/auth/login.uvue b/pages/auth/login.uvue new file mode 100644 index 0000000..7480385 --- /dev/null +++ b/pages/auth/login.uvue @@ -0,0 +1,161 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.uvue b/pages/index.uvue similarity index 62% rename from pages/index/index.uvue rename to pages/index.uvue index e8db1cb..472dfb1 100644 --- a/pages/index/index.uvue +++ b/pages/index.uvue @@ -2,11 +2,22 @@ {{title}} + + 需要一个导航栏