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); } +