fix(album): 1.2.2 文件夹监控开关选中态 + 说明与路径字号
validate / validate (push) Canceled after 0s

This commit is contained in:
qiqi committed 2026-11-30 10:59:41 +08:00
1 parent aacb75c297
commit d83a3816fe
3 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@iwb-plugin/album",
"private": true,
"version": "1.2.1",
"version": "1.2.2",
"description": "相册:一个节点装多张本地图(只引用不复制),宫格自适应分页,一图一任务 / 批量两种模式批量生图",
"ibwPlugin": {
"id": "album",
+2 -1
View File
@@ -405,6 +405,7 @@
st.btnDir.textContent = folderMode ? '更换文件夹' : '文件夹'
st.folderNote.style.display = folderMode ? '' : 'none'
st.folderLabel.classList.toggle('on', folderMode)
if (st.fTrack) st.fTrack.className = 'iwb-album-track' + (folderMode ? ' on' : '')
st.folderPath.style.display = folderMode ? '' : 'none'
if (!folderMode) setFolderMsg(st, '')
if (folderMode) {
@@ -1061,7 +1062,7 @@
global.IWBPluginHost.register({
id: 'album',
name: '相册',
version: '1.2.1',
version: '1.2.2',
apiVersion: 1,
capabilities: ['nodeTypes', 'images', 'files'],
settings: {
+4 -4
View File
@@ -40,10 +40,10 @@
/* v1.2.0:来源徽标 + 文件夹模式说明/路径 */
.iwb-album-src { position: absolute; left: var(--iwb-space-4); bottom: var(--iwb-space-4); padding: 0 var(--iwb-space-4); border-radius: var(--iwb-radius-chip); font-size: var(--iwb-font-xs); line-height: 1.2; background: color-mix(in srgb, var(--iwb-text) 62%, transparent); color: var(--iwb-bg); pointer-events: none; }
.iwb-album-src.is-missing { background: color-mix(in srgb, var(--iwb-danger, #d33) 78%, transparent); color: var(--iwb-bg); }
.iwb-album-foldernote { font-size: var(--iwb-font-xs); color: var(--iwb-text2); padding: 0 var(--iwb-space-2); }
.iwb-album-foldermsg { font-size: var(--iwb-font-xs); color: var(--iwb-warning, #b45309); padding: 0 var(--iwb-space-2); }
.iwb-album-folderpath { font-size: var(--iwb-font-xs); color: var(--iwb-text2); padding: var(--iwb-space-2); word-break: break-all; opacity: .9; }
.iwb-album-folder-toggle.on .iwb-album-track i { transform: translateX(10px); }
.iwb-album-foldernote { font-size: var(--iwb-font-2xs); color: var(--iwb-text2); padding: 0 var(--iwb-space-2); }
.iwb-album-foldermsg { font-size: var(--iwb-font-2xs); color: var(--iwb-warning, #b45309); padding: 0 var(--iwb-space-2); }
.iwb-album-folderpath { font-size: var(--iwb-font-2xs); color: var(--iwb-text2); padding: var(--iwb-space-2); word-break: break-all; opacity: .9; }
.iwb-album-cell.off img { opacity: .38; }
/* 选中线 2px → 1px(用户:太粗)。1px 在浅底上仍分得清「选中」与「描边」。 */
.iwb-album-cell.sel { outline: 1px solid var(--iwb-brand); outline-offset: -1px; }