From 0ea25fcea29100d680ad52fe024400580a66c6db Mon Sep 17 00:00:00 2001 From: qiqi Date: Wed, 25 Nov 2026 08:22:25 +0800 Subject: [PATCH] =?UTF-8?q?chore(album):=20=E7=A7=BB=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E6=95=88=E7=9A=84=E9=9D=A2=E6=9D=BF=E5=AE=9E=E9=AA=8C=EF=BC=88?= =?UTF-8?q?=E5=AE=BF=E4=B8=BB=E9=9D=A2=E6=9D=BF=E6=A7=BD=E4=B8=BA=E7=99=BD?= =?UTF-8?q?=E5=90=8D=E5=8D=95=EF=BC=8C=E6=8F=92=E4=BB=B6=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- album/src/index.js | 2 ++ album/styles.css | 1 + 2 files changed, 3 insertions(+) diff --git a/album/src/index.js b/album/src/index.js index 5b8b405..9f94749 100644 --- a/album/src/index.js +++ b/album/src/index.js @@ -526,6 +526,8 @@ loadThumb(ctx, st, items[index], fileRefOf(items[index].src)).then(() => { st.sig = ''; try { sync(ctx, st, st.node, st.props) } catch (e) { /* ignore */ } }) } + + // ── 注册 ──────────────────────────────────────────────── global.IWBPluginHost.register({ id: 'album', diff --git a/album/styles.css b/album/styles.css index 763419b..f9a3e10 100644 --- a/album/styles.css +++ b/album/styles.css @@ -46,3 +46,4 @@ .iwb-album-hint b { color: var(--iwb-node-text); } .iwb-album-empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--iwb-space-6); color: var(--iwb-node-text2); font-size: 11px; text-align: center; padding: 0 var(--iwb-space-12); } .iwb-album-empty .box { width: 66px; height: 50px; border: 1.5px dashed var(--iwb-line); border-radius: var(--iwb-radius-chip); display: flex; align-items: center; justify-content: center; font-size: var(--iwb-font-xl); color: var(--iwb-node-text2); } +