diff --git a/pages.json b/pages.json index 8888d4b..27fe86f 100644 --- a/pages.json +++ b/pages.json @@ -1,14 +1,20 @@ { "easycom": { - "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" - }, + "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" + }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { + "path": "pages/login/login", + "style": { + "navigationStyle": "custom" + } + }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "uni-app" } } + ], "globalStyle": { "navigationBarTextStyle": "black", @@ -17,4 +23,4 @@ "backgroundColor": "#F8F8F8" }, "uniIdRouter": {} -} +} \ No newline at end of file diff --git a/pages/login/login.vue b/pages/login/login.vue new file mode 100644 index 0000000..e62f940 --- /dev/null +++ b/pages/login/login.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/static/img/login-top.png b/static/img/login-top.png new file mode 100644 index 0000000..ddb9a22 Binary files /dev/null and b/static/img/login-top.png differ