From a605dd0aac8d3f7e87c2e8858cce944e2a2f43fe Mon Sep 17 00:00:00 2001 From: Liuyi <candymxq888@outlook.com> Date: 星期六, 21 九月 2024 17:33:49 +0800 Subject: [PATCH] 完成主页布局样式,添加余额记录页面,封装navbar组件 --- pages.json | 39 +++++++++++++++++++++++++++++++++------ 1 files changed, 33 insertions(+), 6 deletions(-) diff --git a/pages.json b/pages.json index 869105d..abf6a93 100644 --- a/pages.json +++ b/pages.json @@ -3,15 +3,42 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "uni-app" + "navigationStyle":"custom" + } + }, + { + "path": "pages/login/index", + "style": { + "navigationStyle":"custom" + } + }, + { + "path" : "pages/addCard/index", + "style": { + "navigationStyle":"custom" + } + }, + { + "path" : "pages/balanceRecord/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" + // "autoscan": true }, - "uniIdRouter": {} + // "uniIdRouter": {}, + "easycom": { + "autoscan": true, + "custom": { + // uni-ui 规则如下配置 + "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" + } + } } -- Gitblit v1.9.3