fix: 平台套图工作台 YYX 测试清单一轮修复(13 条)
- 平台改单选;结果分组/标签名对应所选平台 - 工作台结果区按当前商品隔离(productBatches) - 平台套图去掉「详情排版」,只出平台头图 - 部分失败给失败占位 +「重跑这张」单张重跑;部分成功批次恢复加入资产库 - 提示词框加大;生图模型选择移入框内作胶囊靠左置底 - 去掉生成按钮下方说明文字 - 工作台「新建商品」改弹抽屉(复用 ProductCreateDrawer),不再跳商品库 - 右上搜索恒显全部平台、改为筛选结果图(按提示词) - 结果卡参考即梦:显示提示词/平台/张数 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -616,6 +616,22 @@
|
||||
.image-workbench .p-logo-amz { background: #ff9900; }
|
||||
.image-workbench .p-logo-al { background: #2c4af1; }
|
||||
|
||||
/* ── 提示词框(YYX#7 加大)+ 框内生图模型胶囊(YYX#10 靠左置底)── */
|
||||
.image-workbench .iw-prompt-box { position: relative; }
|
||||
.image-workbench .iw-prompt-text {
|
||||
min-height: 148px; /* 原共享 .textarea 88px → 工作台提示词框加大 */
|
||||
padding-bottom: 42px; /* 给底部胶囊让位,文字不被遮 */
|
||||
}
|
||||
.image-workbench .iw-prompt-bar {
|
||||
position: absolute;
|
||||
left: 10px; bottom: 10px;
|
||||
display: flex; align-items: center;
|
||||
}
|
||||
.image-workbench .iw-model-pill { position: relative; }
|
||||
.image-workbench .iw-model-pill .chip { height: 26px; }
|
||||
/* 胶囊在框底 → 下拉菜单向上弹,避免被框/CTA 遮住 */
|
||||
.image-workbench .iw-model-pill .chip-menu { top: auto; bottom: calc(100% + 4px); }
|
||||
|
||||
/* 左栏底部 · 立即生成(主 CTA · 通栏) */
|
||||
.image-workbench .iw-cta { margin-top: auto; padding-top: 14px; }
|
||||
.image-workbench .iw-cta .btn {
|
||||
@@ -669,6 +685,30 @@
|
||||
font-weight: 500;
|
||||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
/* YYX#13:提示词整段较长 → 顶对齐 + 最多两行省略,不挤掉平台/张数行 */
|
||||
.image-workbench .iw-pv-h .pv-line .v.pv-prompt {
|
||||
font-weight: 400; white-space: normal;
|
||||
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
||||
}
|
||||
.image-workbench .iw-pv-h .pv-line:has(.pv-prompt) { align-items: flex-start; }
|
||||
|
||||
/* YYX#5:单张失败占位 —— 灰底 + ✕ + 「重跑这张」 */
|
||||
.image-workbench .gen-image.failed .placeholder { background: var(--background-lighter); }
|
||||
.image-workbench .gen-failed {
|
||||
position: absolute; inset: 0;
|
||||
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
|
||||
color: var(--black-alpha-48);
|
||||
}
|
||||
.image-workbench .gen-failed .gf-text { font-size: 12px; }
|
||||
.image-workbench .gen-failed .gf-retry {
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
height: 26px; padding: 0 10px;
|
||||
border: 1px solid var(--border-faint); border-radius: 999px;
|
||||
background: var(--surface); color: var(--accent-black);
|
||||
font-size: 12px; cursor: pointer;
|
||||
transition: background var(--t-base), border-color var(--t-base);
|
||||
}
|
||||
.image-workbench .gen-failed .gf-retry:hover { background: var(--heat-12); border-color: var(--heat); color: var(--heat); }
|
||||
|
||||
/* 结果区:复用 §4.18 .gen-card 规范结构(scoped 实现 · 仅 token) */
|
||||
.image-workbench .gen-card {
|
||||
|
||||
Reference in New Issue
Block a user