From ea65ef8cffb84db1d6d92df8d7a1cb93527e46ef Mon Sep 17 00:00:00 2001 From: Liuyi <candymxq888@outlook.com> Date: 星期五, 20 九月 2024 18:56:23 +0800 Subject: [PATCH] 添加登录页弹窗,设置小程序头部整体布局,添加主页 --- pages.json | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/pages.json b/pages.json index 869105d..2a2be56 100644 --- a/pages.json +++ b/pages.json @@ -3,15 +3,29 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "uni-app" + "navigationStyle":"custom" + } + }, + { + "path": "pages/login/index", + "style": { + "navigationStyle":"custom" } } ], "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" + // "navigationBarTextStyle": "black", + // "navigationBarTitleText": "uni-app", + // "navigationBarBackgroundColor": "#F8F8F8", + // "backgroundColor": "#F8F8F8", + "navigationStyle": "custom" }, - "uniIdRouter": {} + // "uniIdRouter": {}, + "easycom": { + "autoscan": true, + "custom": { + // uni-ui 规则如下配置 + "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" + } + } } -- Gitblit v1.9.3