From c12628f051444f50760009d4c49ceca906ae94fb Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 8 Oct 2026 18:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E8=A7=82=E5=81=8F=E5=A5=BD=E5=BC=82?= =?UTF-8?q?=E6=AD=A5=E8=A1=A5=E9=BD=90C=EF=BC=9A=E9=A1=B6=E6=A0=8F?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=91=E6=B5=B7=20logo=20=E5=BE=BD?= =?UTF-8?q?=E6=A0=87=20+=20=E6=8E=A5=E5=B9=B3=E5=8F=B0=E9=94=AE=20yh-logo-?= =?UTF-8?q?url=20+=20sync=20=E4=BB=B6=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - header-container 首位插入 .logo-badge(结构与 Notice 对齐,皮肤由通道 base.layout.css 提供);拷贝平台 yunhai-logo.svg 资产兜底 - localStorage["yh-logo-url"] 优先,@error 回落兜底;mounted 读一次 + 监听 yh-appearance-updated 即时切换 - sync 件:UserAvatar.vue 监听 yh-appearance-updated 重读键(YschTheme d9db725 分发) --- src/assets/image/yunhai-logo.svg | 7 +++++++ src/components/UserAvatar.vue | 13 +++++++++++-- src/components/layout.vue | 26 +++++++++++++++++++++++++- 3 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 src/assets/image/yunhai-logo.svg diff --git a/src/assets/image/yunhai-logo.svg b/src/assets/image/yunhai-logo.svg new file mode 100644 index 0000000..7d1d358 --- /dev/null +++ b/src/assets/image/yunhai-logo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/components/UserAvatar.vue b/src/components/UserAvatar.vue index aefb0b1..bd6c318 100644 --- a/src/components/UserAvatar.vue +++ b/src/components/UserAvatar.vue @@ -4,7 +4,7 @@ 取值链/取字契约见《设置页修复与默认头像落地方案》§10.1/§10.2;样式全在本文件