style(frontend): 调整表单项间距样式并优化进度列表布局

- 移除表单项内部的 8px 间距
- 为进度列表添加 12px 上边距以改善视觉层次
- 在上传器初始化时清除进度状态确保界面一致性
This commit is contained in:
2026-04-28 00:01:54 +08:00
parent b050c36904
commit 34a3a70569
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -232,7 +232,6 @@ EventsOn("is-run", (run) => {
.form-item { .form-item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 8px;
} }
.form-item label { .form-item label {
@@ -258,6 +257,7 @@ EventsOn("is-run", (run) => {
} }
.progress-list { .progress-list {
margin-top: 12px;
max-height: 160px; max-height: 160px;
overflow-y: auto; overflow-y: auto;
display: flex; display: flex;
+2
View File
@@ -41,6 +41,8 @@ func StartLooking(ctx context.Context, logChan *chan string, lookingPath string)
AddLog(logChan, `同时处理文件数: `+strconv.Itoa(config.APPConfig.HandleFileCount)) AddLog(logChan, `同时处理文件数: `+strconv.Itoa(config.APPConfig.HandleFileCount))
AddLog(logChan, `单文件上传线程: `+strconv.Itoa(config.APPConfig.ThreadCount)) AddLog(logChan, `单文件上传线程: `+strconv.Itoa(config.APPConfig.ThreadCount))
AddLog(logChan, "===============================================") AddLog(logChan, "===============================================")
progress.Clear()
//推送上传进度 //推送上传进度
go func() { go func() {
for { for {