作品在列表里新建,落盘产物可在侧栏直接改。

顶栏挂上价目提示和直聊入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-14 08:29:57 +08:00
co-authored by Cursor
parent b59ccf976c
commit e7a4b6c954
4 changed files with 473 additions and 39 deletions
+127 -12
View File
@@ -237,7 +237,6 @@ body.rail-collapsed .rail-body { display: none; }
body:not([data-nav-level="root"]) .rail-tabs {
display: flex;
}
body:not([data-nav-level="root"]) .rail-head-actions #btn-new-book,
body[data-nav-level="root"] .burst-badge { display: none; }
.rail-tabs[hidden] { display: none !important; }
.rail-tab {
@@ -290,17 +289,6 @@ body[data-nav-level="root"] .burst-badge { display: none; }
flex-shrink: 0;
min-width: 0;
}
.rail-head-actions #btn-new-book {
width: 28px;
height: 28px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 16px;
line-height: 1;
flex-shrink: 0;
}
.burst-badge {
max-width: 52px;
overflow: hidden;
@@ -2485,6 +2473,31 @@ body.design-workspace .flow-step[data-run="done"] .flow-name {
font-size: 12px; line-height: 1.35; position: relative;
min-width: 0;
}
.book-list-add {
display: flex;
align-items: center;
width: 100%;
min-height: 32px;
margin: 2px 0 0;
padding: 7px 8px;
border: none;
border-radius: 6px;
background: transparent;
color: var(--text);
font-size: 18px;
font-weight: 500;
line-height: 1;
text-align: left;
cursor: pointer;
}
.book-list-add:hover {
background: var(--bg);
color: var(--accent);
}
.book-list-add:focus-visible {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
.book-box-overlay {
position: fixed; z-index: 160; pointer-events: none;
border: 1px solid #3b82f6; background: rgba(59, 130, 246, 0.12);
@@ -3886,6 +3899,19 @@ body.design-workspace .af-mosaic {
}
.af-block-body {
min-width: 0;
overflow-wrap: anywhere;
}
.af-split--progression .af-split-grid {
grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
}
.af-split-progress {
min-width: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.af-panel {
overflow-wrap: anywhere;
}
/* 美学卡:阅读层级 — 内核最大,范式次之,右栏更密更沉 */
@@ -7840,6 +7866,46 @@ menu.context-menu[hidden],
border-top: none;
cursor: auto;
}
.dictate-product--rail.is-editing .dictate-product-body {
max-height: min(70vh, 520px);
}
.dictate-product--rail .dictate-product-tools {
display: flex;
justify-content: flex-end;
margin: 0 0 8px;
}
.dictate-product--rail .dictate-product-edit {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
}
.dictate-product--rail textarea.dictate-product-ta {
width: 100%;
min-height: 180px;
max-height: min(52vh, 380px);
margin: 0;
padding: 8px;
box-sizing: border-box;
resize: vertical;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface, var(--bg));
color: var(--text);
font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
white-space: pre;
overflow: auto;
}
.dictate-product--rail .dictate-product-edit-actions {
display: flex;
align-items: center;
gap: 6px;
}
.dictate-product--rail .dictate-product-edit-status {
font-size: 11px;
color: var(--muted, var(--text-muted, inherit));
opacity: 0.8;
}
.dictate-product--rail .dictate-product-body[hidden] {
display: none !important;
}
@@ -7879,3 +7945,52 @@ body[data-coord-rail-mode="products"] .coord-rail-title {
letter-spacing: 0.02em;
color: var(--text);
}
.price-watch {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
padding: 8px 16px;
border-bottom: 1px solid var(--border);
background: var(--accent-soft);
color: var(--text);
font-size: 13px;
line-height: 1.45;
}
.price-watch[hidden] {
display: none;
}
.price-watch[data-state="changed"] {
background: color-mix(in srgb, var(--warn) 16%, var(--surface));
}
.price-watch[data-state="error"] {
background: color-mix(in srgb, var(--danger) 12%, var(--surface));
}
.price-watch p {
margin: 0;
}
.price-watch button {
flex-shrink: 0;
height: 28px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
cursor: pointer;
}
.price-watch button:hover {
border-color: var(--accent);
}
.price-watch button:focus-visible {
outline: none;
box-shadow: 0 0 0 3px var(--accent-soft);
}