From bb0279bc025ce73a1ef18101c20a42b65e4d7e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=AA?= Date: Tue, 15 Apr 2025 11:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E8=BA=AB=E4=BB=BD?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=BB=98=E7=94=BB=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 16 +-- pages/adminHome/index.vue | 63 +++++++++- pages/adminMy/index.vue | 236 ++++++++++++++++++++++++++++++++++++-- pages/adminNfc/index.vue | 43 ++++++- 4 files changed, 333 insertions(+), 25 deletions(-) diff --git a/pages.json b/pages.json index b2a78cf..8628369 100644 --- a/pages.json +++ b/pages.json @@ -13,19 +13,21 @@ { "path": "pages/adminHome/index", "style": { - "navigationBarTitleText": "首页" + "navigationBarTitleText": "首页", + "navigationStyle": "custom" } }, { "path": "pages/adminNfc/index", "style": { - "navigationBarTitleText": "nfc写入" + "navigationBarTitleText": "nfc卡写入" } }, { "path": "pages/adminMy/index", "style": { - "navigationBarTitleText": "nfc写入" + "navigationBarTitleText": "我的", + "navigationStyle": "custom" } }, { @@ -223,7 +225,6 @@ ] } ], - "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", @@ -273,14 +274,15 @@ } ] }, - // 分包预载配置 "preloadRule": { // 当我们进入了pages/index/index页面以后就会预下载pages/subPack分包 "pages/index/index": { "network": "all", //在指定网络下预下载,可选值为:all(不限网络)、wifi(仅wifi下预下载) - "packages": ["pages/subPack"] //进入页面后预下载分包 + "packages": [ + "pages/subPack" + ] //进入页面后预下载分包 } }, "uniIdRouter": {} -} +} \ No newline at end of file diff --git a/pages/adminHome/index.vue b/pages/adminHome/index.vue index 6eee195..213b232 100644 --- a/pages/adminHome/index.vue +++ b/pages/adminHome/index.vue @@ -1,6 +1,28 @@ @@ -22,9 +44,44 @@ export default { diff --git a/pages/adminMy/index.vue b/pages/adminMy/index.vue index eedf336..24c5b15 100644 --- a/pages/adminMy/index.vue +++ b/pages/adminMy/index.vue @@ -1,30 +1,242 @@ + + diff --git a/pages/adminNfc/index.vue b/pages/adminNfc/index.vue index c75292d..a7af4be 100644 --- a/pages/adminNfc/index.vue +++ b/pages/adminNfc/index.vue @@ -1,6 +1,16 @@ @@ -22,9 +32,36 @@ export default {