feat:官网内容管理:站点配置、首页区块列表/编辑/保存。

赛道内容管理:赛道基础信息、赛程列表/编辑/保存。
素材库:本地上传、文件登记、文件列表、OSS 配置状态提示。当前本地 .env 还是占位 OSS 密钥,所以会显示 local-fallback,上云配置真实 OSS 后再接直传。
作品评选:评选概览、作品排名、按投票重算、手动维护专家分/公众分/最终分/排名/奖项/状态。
后端新增上传与评选接口,并重启了本地 mlkj-website-api 容器让 3001 生效。
已清理上传冒烟测试文件,并忽略 backend/public/uploads/,避免误提交本地素材。
This commit is contained in:
wlx committed 2026-06-29 20:32:59 +08:00
1 parent c1f1b39e81
commit 471bbec94e
4 files changed
+1276 -62

No files matched your search

+40
View File
@@ -346,6 +346,25 @@ button {
padding: 18px;
}
.stack {
display: grid;
gap: 18px;
}
.subhead,
.inline-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.subhead h4 {
margin: 0;
color: #364257;
font-size: 15px;
}
.toolbar {
display: flex;
align-items: center;
@@ -483,3 +502,24 @@ button {
color: #245d5a;
line-height: 1.7;
}
.upload-status {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.upload-status > div {
min-height: 70px;
display: grid;
gap: 6px;
align-content: center;
padding: 12px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel-soft);
}
.upload-status strong {
word-break: break-word;
}