docs(mockup): 任务队列缩略图支持点击预览(cursor/提示)
This commit is contained in:
1 parent
81e73bd89b
commit
380d39146d
1 file changed
+7
-7
@@ -330,7 +330,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
.row { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: var(--iwb-space-12); align-items: center; padding: var(--iwb-space-10); background: var(--iwb-panel); border: 1px solid var(--iwb-border); border-radius: var(--iwb-radius-card); transition: border-color .15s, background .15s; }
|
||||
.row:hover { border-color: var(--iwb-hover-border); }
|
||||
.row.failed { border-color: var(--iwb-err-bd); background: color-mix(in srgb, var(--iwb-err) 9%, var(--iwb-panel)); }
|
||||
.thumb { width: 96px; height: 64px; border-radius: var(--iwb-radius-control); border: 1px solid var(--iwb-border); background: var(--iwb-layer2); overflow: hidden; position: relative; display: grid; place-items: center; }
|
||||
.thumb { cursor: zoom-in; width: 96px; height: 64px; border-radius: var(--iwb-radius-control); border: 1px solid var(--iwb-border); background: var(--iwb-layer2); overflow: hidden; position: relative; display: grid; place-items: center; }
|
||||
.thumb svg, .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
|
||||
.thumb .ph { color: var(--iwb-text2); display: grid; place-items: center; gap: 2px; font-size: var(--iwb-font-2xs); }
|
||||
.thumb .ph svg { width: 20px; height: 20px; }
|
||||
@@ -385,7 +385,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
<section class="list" id="list">
|
||||
<!-- 已完成 -->
|
||||
<div class="row" data-s="ok">
|
||||
<div class="thumb"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="24" font-size="13" font-weight="700" fill="#111">古茗草莓</text><text x="8" y="40" font-size="13" font-weight="700" fill="#111">新品专场</text><text x="8" y="55" font-size="9" fill="#555">单杯不到12r</text></svg></div>
|
||||
<div class="thumb" title="点击预览"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="24" font-size="13" font-weight="700" fill="#111">古茗草莓</text><text x="8" y="40" font-size="13" font-weight="700" fill="#111">新品专场</text><text x="8" y="55" font-size="9" fill="#555">单杯不到12r</text></svg></div>
|
||||
<div class="main">
|
||||
<div class="line1"><span class="name">pop 手绘体设计 · 第 1 张</span><span class="badge ok">已完成</span></div>
|
||||
<div class="meta">品牌视觉 · 12-03 14:20 · 1536×1024 · gpt-image-2.6</div>
|
||||
@@ -398,7 +398,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
</div>
|
||||
<!-- 下载中 -->
|
||||
<div class="row" data-s="down">
|
||||
<div class="thumb"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="26" font-size="13" font-weight="700" fill="#111">艺术字体</text><text x="8" y="44" font-size="11" fill="#111">买一送一</text></svg><div class="prog"><i></i></div></div>
|
||||
<div class="thumb" title="点击预览"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="26" font-size="13" font-weight="700" fill="#111">艺术字体</text><text x="8" y="44" font-size="11" fill="#111">买一送一</text></svg><div class="prog"><i></i></div></div>
|
||||
<div class="main">
|
||||
<div class="line1"><span class="name">艺术字体 · 第 1 张</span><span class="badge">下载中 42%</span></div>
|
||||
<div class="meta">活动海报 · 12-03 14:22 · 1536×1024 · 正在写入 images/gallery</div>
|
||||
@@ -411,7 +411,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
</div>
|
||||
<!-- 失败 -->
|
||||
<div class="row failed" data-s="fail">
|
||||
<div class="thumb"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="26" font-size="12" font-weight="700" fill="#111">披萨新品</text><text x="8" y="44" font-size="12" font-weight="700" fill="#111">买一送一</text></svg></div>
|
||||
<div class="thumb" title="点击预览"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="26" font-size="12" font-weight="700" fill="#111">披萨新品</text><text x="8" y="44" font-size="12" font-weight="700" fill="#111">买一送一</text></svg></div>
|
||||
<div class="main">
|
||||
<div class="line1"><span class="name">艺术字体 · 第 2 张</span><span class="badge err">失败</span></div>
|
||||
<div class="meta">活动海报 · 12-03 14:25 · 1536×1024</div>
|
||||
@@ -425,7 +425,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
</div>
|
||||
<!-- 仅记录 -->
|
||||
<div class="row" data-s="only">
|
||||
<div class="thumb"><div class="ph"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" x2="12" y1="15" y2="3"/></svg><span>仅记录</span></div></div>
|
||||
<div class="thumb" title="点击预览"><div class="ph"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" x2="12" y1="15" y2="3"/></svg><span>仅记录</span></div></div>
|
||||
<div class="main">
|
||||
<div class="line1"><span class="name">披萨新品 · 买一送一</span><span class="badge warn">仅记录</span></div>
|
||||
<div class="meta">活动海报 · 12-02 18:10 · 1536×1024 · gpt-image-2.5</div>
|
||||
@@ -438,7 +438,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
</div>
|
||||
<!-- 已完成,画布已删除 -->
|
||||
<div class="row" data-s="ok">
|
||||
<div class="thumb"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="24" font-size="12" font-weight="700" fill="#111">pop 手绘体</text><text x="8" y="42" font-size="10" fill="#555">新品上市</text></svg></div>
|
||||
<div class="thumb" title="点击预览"><svg viewBox="0 0 96 64"><rect width="96" height="64" fill="#fff"/><text x="8" y="24" font-size="12" font-weight="700" fill="#111">pop 手绘体</text><text x="8" y="42" font-size="10" fill="#555">新品上市</text></svg></div>
|
||||
<div class="main">
|
||||
<div class="line1"><span class="name">pop 手绘体设计 · 第 2 张</span><span class="badge ok">已完成</span></div>
|
||||
<div class="meta">品牌视觉 · 12-01 09:40 · 1536×1024</div>
|
||||
@@ -451,7 +451,7 @@ select { height: 30px; padding: 0 var(--iwb-space-10); color: var(--iwb-text); b
|
||||
</div>
|
||||
<!-- 仅记录,节点已删除 -->
|
||||
<div class="row" data-s="only">
|
||||
<div class="thumb"><div class="ph"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" x2="12" y1="15" y2="3"/></svg><span>仅记录</span></div></div>
|
||||
<div class="thumb" title="点击预览"><div class="ph"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" x2="12" y1="15" y2="3"/></svg><span>仅记录</span></div></div>
|
||||
<div class="main">
|
||||
<div class="line1"><span class="name">艺术字体 · 第 3 张</span><span class="badge warn">仅记录</span></div>
|
||||
<div class="meta">活动海报 · 11-30 16:05 · 1536×1024</div>
|
||||
|
||||
Reference in new issue
Block a user