diff --git a/public/background.png b/public/background.png new file mode 100644 index 0000000..143f71d Binary files /dev/null and b/public/background.png differ diff --git a/src/App.vue b/src/App.vue index 40be79b..a11b4b4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,20 +1,79 @@ diff --git a/src/config/siteConfig.ts b/src/config/siteConfig.ts index d2af116..8d61c1c 100644 --- a/src/config/siteConfig.ts +++ b/src/config/siteConfig.ts @@ -35,6 +35,18 @@ const siteConfig = { startDate: "2025-12-06", }, + appearance: { + background: { + enable: true, + // URL 支持:可使用外部 URL 或本地路径 + // 例如: "https://example.com/bg.jpg" 或 "background.webp" + image: "background.png", // 背景图片 URL 或本地路径(桌面端) + mobileImage: "https://www.loliapi.com/acg/pe/", // 移动端背景图片(可选,不设置则使用 image) + blur: 0, // 背景模糊程度 (0-100) + overlay: "rgba(70, 59, 82, 0.4)", // 背景遮罩颜色与透明度 + }, + }, + umami: { enable: true, url: "https://cloud.umami.is/script.js",