From 4496af862e3e7b2b9c5c1554c1a0e8d7872e206f Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 14 Jan 2026 17:14:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=97=E8=A1=A8=E6=96=87=E4=BB=B6=E5=90=8D=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E4=B8=BA=E9=BB=91=E8=89=B2=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20-=20=E6=B7=BB=E5=8A=A0.ant-upload-list=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E8=AE=BE=E7=BD=AE=E6=96=87=E4=BB=B6=E5=90=8D=E4=B8=BA?= =?UTF-8?q?=E7=99=BD=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/CreateTask.vue | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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; + } + } + } } // 发布类型选项