添加notice功能

This commit is contained in:
2026-05-01 08:25:29 +08:00
Unverified
parent 3185abfef4
commit bad707fce1
16 changed files with 799 additions and 6 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"notices": [
{
"id": "site-notice-2026-05-01",
"enabled": true,
"level": "info",
"badge": "通知",
"title": "重要通知",
"message": "2026 年上半年 4 月数据已完成更新。请按需进入相关查询页面查看最新记录。",
"linkText": "查看详情",
"url": "notice/index.html",
"dismissible": true,
"startsAt": "2026-05-01T00:00:00+08:00",
"endsAt": ""
}
]
}