style(frontend): 调整表单项间距样式并优化进度列表布局
- 移除表单项内部的 8px 间距 - 为进度列表添加 12px 上边距以改善视觉层次 - 在上传器初始化时清除进度状态确保界面一致性
This commit is contained in:
@@ -232,7 +232,6 @@ EventsOn("is-run", (run) => {
|
||||
.form-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.form-item label {
|
||||
@@ -258,6 +257,7 @@ EventsOn("is-run", (run) => {
|
||||
}
|
||||
|
||||
.progress-list {
|
||||
margin-top: 12px;
|
||||
max-height: 160px;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
|
||||
@@ -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.ThreadCount))
|
||||
AddLog(logChan, "===============================================")
|
||||
|
||||
progress.Clear()
|
||||
//推送上传进度
|
||||
go func() {
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user