From 467ab06a4e7bf460def614847f510792000f70b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E9=91=AB?= <1219654535@qq.com> Date: Tue, 30 May 2023 15:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/header/nav.vue | 18 +++++++++--------- components/model/content.vue | 3 ++- components/model/model.vue | 5 +++-- nuxt.config.ts | 4 ++++ package.json | 5 +++-- pages/index.vue | 6 ++---- .../model/house/{scene.bin => Night-City.bin} | Bin .../house/{scene.gltf => Night-City.gltf} | 0 uno.config.ts | 2 +- 9 files changed, 24 insertions(+), 19 deletions(-) rename public/model/house/{scene.bin => Night-City.bin} (100%) rename public/model/house/{scene.gltf => Night-City.gltf} (100%) diff --git a/components/header/nav.vue b/components/header/nav.vue index 188e9d0..54c0ac3 100644 --- a/components/header/nav.vue +++ b/components/header/nav.vue @@ -11,15 +11,15 @@ const availableLocales = computed(() => { return (locales.value).filter(i => i.code !== locale.value) }) -// const flag: any = { -// en: 'i-flag-gb-4x3', -// zh: 'i-flag-cn-4x3', -// } - const flag: any = { - en: 'En', - zh: '中', + en: 'i-flag-gb-4x3', + zh: 'i-flag-cn-4x3', } + +// const flag: any = { +// en: 'En', +// zh: '中', +// } diff --git a/public/model/house/scene.bin b/public/model/house/Night-City.bin similarity index 100% rename from public/model/house/scene.bin rename to public/model/house/Night-City.bin diff --git a/public/model/house/scene.gltf b/public/model/house/Night-City.gltf similarity index 100% rename from public/model/house/scene.gltf rename to public/model/house/Night-City.gltf diff --git a/uno.config.ts b/uno.config.ts index c7e6e81..c7fd0d6 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -86,7 +86,7 @@ export default defineConfig({ presetAttributify(), presetIcons({ scale: 1.2, - // cdn: 'https://esm.sh/', + cdn: 'https://esm.sh/', // cdn:'https://cdn.skypack.dev/', // cdn:'https://api.iconify.design/', extraProperties: presetIconExtraProperties,