From ba3d92bf98ad7c7f9ca8cde8236c325b05ec2295 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 25 Nov 2025 10:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=99=86=E9=A1=B5=E9=9D=A2=E5=86=99?= =?UTF-8?q?=E6=B4=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 3 ++ pages/login/login.vue | 72 ++++++++++++++++++++++++++----------------- 2 files changed, 47 insertions(+), 28 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index a61db16..2804908 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -137,6 +137,7 @@ export default { loading: true, // 默认为true,等待API数据加载 // 页面配置数据,完全依赖API pageConfig: { + login: { img: "" }, background: { img: "" }, announcement: { icon: "", text: "" }, topIcons: { @@ -275,6 +276,8 @@ export default { this.navigationItems = parsedConfig.navigationItems || []; this.bottomSection = parsedConfig.bottomSection || this.bottomSection; console.log("配置更新完成"); + console.log("pageConfig.login.img", this.pageConfig.login.img); + uni.setStorageSync("loginImg", this.pageConfig.login.img); }, /** diff --git a/pages/login/login.vue b/pages/login/login.vue index c7b661f..4cfc110 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -1,20 +1,21 @@