From aebd264d91d924762ee4ff0107dcc2ae7ffa5b10 Mon Sep 17 00:00:00 2001 From: xiaozhi <1822691309@qq.com> Date: Sun, 7 Jun 2026 11:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=AE=80=E5=8D=95=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=EF=BC=8C=E7=84=B6=E5=90=8E=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 10 ++- pages/auth/login.uvue | 161 +++++++++++++++++++++++++++++++++++ pages/{index => }/index.uvue | 13 ++- 3 files changed, 181 insertions(+), 3 deletions(-) create mode 100644 pages/auth/login.uvue rename pages/{index => }/index.uvue (62%) 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}} + + 需要一个导航栏