feat: PWA支持(manifest+Service Worker缓存+图标,可添加到主屏幕/离线/增量更新)

This commit is contained in:
gouki
2026-08-02 15:01:26 +00:00
parent f79d021307
commit cc7b2c67fe
7 changed files with 104 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"name": "VPS 资产管理系统",
"short_name": "资产管理",
"description": "个人数字资产管理:VPS、域名、AI 账号、Cloudflare,续费提醒与状态监控",
"start_url": "/",
"scope": "/",
"display": "standalone",
"background_color": "#0f172a",
"theme_color": "#2563eb",
"orientation": "any",
"lang": "zh-CN",
"icons": [
{ "src": "/static/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
{ "src": "/static/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
{ "src": "/static/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
]
}