加载中...
+
+
+
+
+
+
+
+
+
@@ -77,12 +190,84 @@ onMounted(async () => {
margin-bottom: 24px;
}
+.history-error {
+ color: var(--text-secondary);
+ margin-bottom: 12px;
+}
+
+.toolbar {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ margin-bottom: 12px;
+
+ .spacer { flex: 1; }
+
+ .select-all {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ font-size: 13px;
+ color: var(--text-secondary);
+ cursor: pointer;
+ user-select: none;
+ }
+}
+
+.tool-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ padding: 6px 12px;
+ font-size: 13px;
+ border-radius: var(--radius-md);
+ background: var(--bg-elevated);
+ color: var(--text-secondary);
+ transition: all var(--transition-fast);
+
+ &:hover:not(:disabled) { color: var(--text-primary); }
+ &:disabled { opacity: 0.4; cursor: not-allowed; }
+
+ &.danger:hover:not(:disabled) { color: #f2555a; }
+}
+
.history-list {
display: flex;
flex-direction: column;
gap: 2px;
}
+.history-row {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ border-radius: var(--radius-md);
+ transition: background var(--transition-fast);
+
+ &.selected { background: rgba(51, 94, 234, 0.08); }
+
+ .row-check {
+ flex: none;
+ margin-left: 4px;
+ cursor: pointer;
+ }
+
+ .row-card { flex: 1; min-width: 0; }
+
+ .row-del {
+ flex: none;
+ display: flex;
+ align-items: center;
+ padding: 4px;
+ color: var(--text-tertiary);
+ border-radius: var(--radius-sm);
+ transition: all var(--transition-fast);
+
+ &:hover, &:focus-visible { color: #f2555a; }
+ &:disabled { opacity: 0.4; cursor: not-allowed; }
+ }
+}
+
.loading {
text-align: center;
padding: 60px;