fix. stove gnb 옵션 적용

This commit is contained in:
clkim
2025-11-19 10:23:37 +09:00
parent 60d1aa01a7
commit e267fca18e
3 changed files with 7 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ const loadGnb = (locale: string) => {
const gnbOption = { const gnbOption = {
wrapper: '#stove-wrap', wrapper: '#stove-wrap',
isResponsive: true, isResponsive: true,
skin: stoveGnbData?.skin_type || 'gnb-dark-mini', skin: 'gnb-dark-mini',
widget: { widget: {
gameListAndService: false, gameListAndService: false,
languageSelect: false, languageSelect: false,

View File

@@ -22,8 +22,8 @@ onMounted(() => {
mobile: '', mobile: '',
}, },
widget: { widget: {
notification: true, notification: stoveGnbData?.notify_icon_visible || true,
stoveDownload: true, stoveDownload: stoveGnbData?.stove_install_button_visible || true,
languageSelect: false, languageSelect: false,
themeSelect: false, themeSelect: false,
stoveMenu: { stoveMenu: {
@@ -40,9 +40,8 @@ onMounted(() => {
}, },
mode: { mode: {
theme: { theme: {
support: ['light', 'dark'], support: designTheme === 1 ? ['light'] : ['dark'],
default: designTheme === 1 ? 'light' : 'dark', default: designTheme === 1 ? 'light' : 'dark',
// support: designTheme === 1 ? ['light'] : ['dark'],
}, },
mini: true, mini: true,
layout: 'wide', layout: 'wide',
@@ -66,10 +65,8 @@ onMounted(() => {
localeCookie.value = localeCookie.value.toLowerCase() localeCookie.value = localeCookie.value.toLowerCase()
}) })
} }
}) })
onBeforeUnmount(() => { onBeforeUnmount(() => {
if (mountedInstance && typeof mountedInstance.destroy === 'function') { if (mountedInstance && typeof mountedInstance.destroy === 'function') {
mountedInstance.destroy() mountedInstance.destroy()

View File

@@ -212,8 +212,8 @@ export type StoveGnbSkinType =
// Stove GNB 타입 // Stove GNB 타입
export interface GameDataStoveGnb { export interface GameDataStoveGnb {
skin_type: StoveGnbSkinType notify_icon_visible: boolean
stove_install_button_visible: string stove_install_button_visible: boolean
} }
// 이벤트 배너 타입 // 이벤트 배너 타입