feat: 任务可调并发、可批量操作,导航栏可收缩

This commit is contained in:
2026-10-25 08:22:32 +08:00
parent 6a230ee8d4
commit 5f3bb312b3
10 changed files with 375 additions and 56 deletions
+46 -6
View File
@@ -177,17 +177,19 @@ select {
.shell {
height: 100%;
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
background: var(--bg);
color: var(--ink);
}
.sider {
.sider-body {
height: 100%;
display: flex;
flex-direction: column;
background: var(--sidebar);
border-right: 1px solid var(--line);
min-height: 0;
}
.sider-body .n-menu {
flex: 1;
min-height: 0;
}
@@ -195,6 +197,7 @@ select {
padding: 18px 16px 8px;
font-weight: 650;
font-size: 16px;
white-space: nowrap;
}
.sider-user {
@@ -206,6 +209,11 @@ select {
gap: 8px;
}
.sider-user.compact {
flex-direction: column;
padding: 8px 0 12px;
}
.sider-user .who {
min-width: 0;
flex: 1;
@@ -227,10 +235,18 @@ select {
.content {
min-width: 0;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.content .n-layout-scroll-container {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.page {
min-height: 0;
flex: 1;
@@ -286,6 +302,8 @@ select {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
justify-content: flex-end;
}
.panel,
@@ -324,6 +342,7 @@ select {
.tabs {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 20px 0;
}
@@ -454,7 +473,28 @@ select {
}
.limit-control {
width: 112px;
width: 148px;
}
.n-input-number .n-input__input-el {
text-align: center;
}
.speed {
color: var(--muted);
font-size: 13px;
white-space: nowrap;
}
.task-main {
display: flex;
align-items: flex-start;
gap: 10px;
min-width: 0;
}
.task.picked {
border-color: var(--accent);
}
.fail-list {