diff --git a/components/kun/top-bar/Avatar.vue b/components/kun/top-bar/Avatar.vue index 446d455f..2e92b273 100644 --- a/components/kun/top-bar/Avatar.vue +++ b/components/kun/top-bar/Avatar.vue @@ -78,7 +78,6 @@ onUnmounted(() => window.removeEventListener('keydown', onKeydown)) display: flex; justify-content: center; align-items: center; - margin-right: 50px; .search { display: flex; @@ -193,10 +192,6 @@ onUnmounted(() => window.removeEventListener('keydown', onKeydown)) } @media (max-width: 700px) { - .kungalgamer-info { - margin-right: 30px; - } - .avatar { .avatar-image { margin-left: 0; diff --git a/components/kun/top-bar/Nav.vue b/components/kun/top-bar/Nav.vue index 33a0f051..01455c33 100644 --- a/components/kun/top-bar/Nav.vue +++ b/components/kun/top-bar/Nav.vue @@ -75,7 +75,6 @@ const handleRouterBack = () => { .return, .hamburger { display: none; - margin-left: 20px; cursor: pointer; .icon { @@ -83,6 +82,10 @@ const handleRouterBack = () => { } } +.return { + margin-right: 16px; +} + .nav-top { display: flex; align-items: center; @@ -92,7 +95,6 @@ const handleRouterBack = () => { .kungalgame { display: flex; align-items: center; - margin-left: 50px; a { display: flex; @@ -128,18 +130,4 @@ const handleRouterBack = () => { display: block; } } - -.message-enter-active { - transition: all 0.3s; -} - -.message-leave-active { - transition: all 0.3s; -} - -.message-enter-from, -.message-leave-to { - transform: translateX(100%); - opacity: 0; -} diff --git a/components/kun/top-bar/TopBar.vue b/components/kun/top-bar/TopBar.vue index afe6aeee..3075f6d6 100644 --- a/components/kun/top-bar/TopBar.vue +++ b/components/kun/top-bar/TopBar.vue @@ -39,6 +39,7 @@ const { showKUNGalgamePanel } = storeToRefs(useTempSettingStore()) margin-bottom: 17px; flex-shrink: 0; color: var(--kungalgame-font-color-3); + padding: 0 50px; &::before { content: ''; @@ -60,6 +61,7 @@ const { showKUNGalgamePanel } = storeToRefs(useTempSettingStore()) @media (max-width: 700px) { .header { margin-bottom: 5px; + padding: 0 16px; } } diff --git a/nuxt.config.ts b/nuxt.config.ts index cbb3fd00..494af15c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -84,6 +84,12 @@ export default defineNuxtConfig({ } }, + icon: { + fetchTimeout: 7777, + provider: 'iconify', + serverBundle: false + }, + piniaPersistedstate: { cookieOptions: { maxAge: 60 * 60 * 24 * 7, diff --git a/package.json b/package.json index c8758684..29e9d47c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kun-galgame-nuxt3", - "version": "2.19.18", + "version": "2.19.19", "packageManager": "pnpm@9.12.1", "private": true, "scripts": {