diff --git a/frontend/src/views/CreateTask.vue b/frontend/src/views/CreateTask.vue index 7f1a3c5..98ac233 100644 --- a/frontend/src/views/CreateTask.vue +++ b/frontend/src/views/CreateTask.vue @@ -1944,6 +1944,40 @@ onUnmounted(() => { font-size: $font-size-base; } } + + // 上传文件列表样式 + :deep(.ant-upload-list) { + color: $text-primary; + + .ant-upload-list-item { + color: $text-primary; + border-color: rgba(255, 255, 255, 0.1); + + .ant-upload-list-item-name { + color: $text-primary; + + &:hover { + color: $brand-primary; + } + } + + .ant-upload-list-item-card-actions { + .anticon { + color: $text-secondary; + + &:hover { + color: $color-error; + } + } + } + } + + .ant-upload-list-item-error { + .ant-upload-list-item-name { + color: $color-error; + } + } + } } // 发布类型选项