Merge branch 'feature/202501107-all' into feature/20251103_cl_FX_PREREGIST_01
This commit is contained in:
@@ -8,11 +8,12 @@ onMounted(() => {
|
||||
const langCodes = gameData?.lang_codes
|
||||
const defaultLangCode = gameData?.default_lang_code
|
||||
const stoveGnbData = gameData?.stove_gnb_json
|
||||
const designTheme = gameData?.design_theme
|
||||
|
||||
const currentDomain =
|
||||
window.location.protocol + '//' + window.location.hostname
|
||||
if (typeof window !== 'undefined' && (window as any).StoveGnb) {
|
||||
mountedInstance = (window as any).StoveGnb.mount('#stove-wrap', {
|
||||
const stoveGnbOptions = {
|
||||
logArea: currentDomain,
|
||||
useLanguageCodeFromPath: true,
|
||||
serviceTitle: {
|
||||
@@ -38,14 +39,18 @@ onMounted(() => {
|
||||
},
|
||||
mode: {
|
||||
theme: {
|
||||
default:
|
||||
stoveGnbData?.skin_type === 'gnb-dark-mini' ? 'dark' : 'light',
|
||||
support: ['dark', 'light'],
|
||||
support: ['light', 'dark'],
|
||||
default: designTheme === 1 ? 'light' : 'dark',
|
||||
// support: designTheme === 1 ? ['light'] : ['dark'],
|
||||
},
|
||||
mini: true,
|
||||
layout: 'wide',
|
||||
fixed: false,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
mountedInstance = (window as any).StoveGnb.mount('#stove-wrap', stoveGnbOptions)
|
||||
|
||||
console.log("🚀 ~ onMounted ~ stoveGnbOptions:", stoveGnbOptions)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user