新增: 多布局切换+秒显示+节日倒计时+等宽数字+作者署名

This commit is contained in:
2026-05-25 23:10:19 +08:00
parent d4bce23d19
commit 2287e12e0d
4 changed files with 248 additions and 100 deletions

View File

@@ -79,6 +79,7 @@ func buildWallpaperHTML(cfg *Config) string {
bg = themeAurora
}
html := strings.Replace(overlayHTML, "{{BACKGROUND}}", bg, 1)
html = strings.Replace(html, "{{LAYOUT}}", string(cfg.Layout), 1)
// 注入自定义文字
if cfg.WallpaperType == WPTheme && cfg.Theme == ThemeText && cfg.WallpaperText != "" {