feat: 添加苹果pwa图标

This commit is contained in:
hzm
2026-03-04 14:27:45 +08:00
parent 171ebac326
commit df7abaecdc
2 changed files with 18 additions and 13 deletions

View File

@@ -13,6 +13,11 @@ export default function RootLayout({ children }) {
return (
<html lang="zh-CN" suppressHydrationWarning>
<head>
<meta name="apple-mobile-web-app-title" content="基估宝" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="default"/>
<link rel="apple-touch-icon" href="/Icon-60@3x.png?v=1"/>
<link rel="apple-touch-icon" sizes="180x180" href="/Icon-60@3x.png?v=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
{/* 尽早设置 data-theme减少首屏主题闪烁与 suppressHydrationWarning 配合避免服务端/客户端 html 属性不一致报错 */}
<script

BIN
public/Icon-60@3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB