diff --git a/nuxt.config.ts b/nuxt.config.ts index 90f8f89..265c556 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -20,7 +20,17 @@ export default defineNuxtConfig({ htmlAttrs: { lang: 'zh', }, - link: [{ rel: 'icon', type: 'image/x-icon', href: '/jinshen-logo.ico' }], + link: [ + { rel: 'icon', type: 'image/x-icon', href: '/jinshen-logo.ico' }, + { + rel: 'apple-touch-icon', + href: '/jinshen-logo.png', + }, + { + rel: 'manifest', + href: '/manifest.json', + }, + ], }, }, diff --git a/public/logo196x196.png b/public/logo196x196.png new file mode 100644 index 0000000..0f0e263 Binary files /dev/null and b/public/logo196x196.png differ diff --git a/public/logo512x512.png b/public/logo512x512.png new file mode 100644 index 0000000..98b7cfe Binary files /dev/null and b/public/logo512x512.png differ diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..7a0b015 --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,20 @@ +{ + "name": "金申机械制造有限公司", + "short_name": "金申机械", + "icons": [ + { + "src": "/logo196x196.png", + "sizes": "196x196", + "type": "image/png" + }, + { + "src": "/logo512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "start_url": ".", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#0f172a" +}