-
+
+ ▸
{{ KIND_META[it.kind].label }}
-
+
{{ it.done ? '✓ 已生成' : '待生成' }}
-
-
+
+
+
{{ it.points[0] }}
-
+
@@ -199,7 +298,7 @@ function onApply() {
-
@@ -210,7 +309,6 @@ function onApply() {
{{ progress.cur }}/{{ progress.total }}
{{ doneCount }}/{{ total }} 页已生成
-
@@ -233,6 +331,61 @@ function onApply() {
}
.outline-top input { flex: 1; }
+/* 页数分段单选:一体式外壳+互斥 pill,与通道切换(.seg)同设计语言 */
+.outline-count {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ flex-shrink: 0;
+}
+.count-label {
+ font-size: 11px;
+ color: var(--ui-muted);
+ flex-shrink: 0;
+}
+.count-seg {
+ display: inline-flex;
+ border: 1px solid var(--ui-border);
+ border-radius: var(--radius-sm);
+ overflow: hidden;
+ background: var(--ui-panel);
+}
+.count-pill {
+ height: 24px;
+ padding: 0 10px;
+ border: none;
+ background: none;
+ cursor: pointer;
+ font-size: 12px;
+ color: var(--ui-muted);
+ transition: background .12s, color .12s;
+}
+.count-pill + .count-pill { border-left: 1px solid var(--ui-border); }
+.count-pill:hover:not(:disabled):not(.active) { background: var(--ui-primary-soft); }
+.count-pill.active {
+ background: var(--ui-primary-soft);
+ color: var(--ui-primary);
+ font-weight: 600;
+}
+.count-pill:disabled { cursor: not-allowed; opacity: .55; }
+.count-hint {
+ font-size: 11px;
+ color: var(--ui-muted);
+ opacity: .85;
+}
+.fold-arrow {
+ display: inline-block; font-size: 10px; color: var(--ui-muted);
+ transition: transform .15s; flex-shrink: 0; cursor: pointer;
+}
+.fold-arrow.open { transform: rotate(90deg); }
+.item-head { cursor: pointer; }
+.item-head input, .item-head button { cursor: auto; }
+.item-summary {
+ font-size: 11px; color: var(--ui-muted);
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+ margin: -2px 0 4px 22px;
+}
+
.outline-empty {
color: var(--ui-muted);
font-size: 13px;