fix(player+admin): 移动端 PWA 安全区、防缩放与局域网调试

玩家端适配主屏幕 safe-area、底部导航滚动隐藏与全屏布局;双端禁止页面缩放并开放 Vite host 供手机联调。
This commit is contained in:
2026-06-22 17:58:51 +08:00
parent b9257cc50a
commit fa06fee64c
9 changed files with 123 additions and 15 deletions

View File

@@ -73,6 +73,7 @@ export default defineConfig(({ mode }) => {
},
publicDir: resolve(__dirname, '../../packages/shared/public'),
server: {
host: true,
port: 5174,
proxy: {
'/api': { target: 'http://localhost:3000', changeOrigin: true },