diff --git a/src/App.vue b/src/App.vue index c09d405..4aa7b6b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -17,6 +17,9 @@ import { useGameEngine } from '@/composables/useGameEngine' import { useGameStore } from '@/stores/gameStore' import { useFullscreen } from '@/composables/useFullscreen' import { useI18n, initStoryLocales } from '@/composables/useI18n' +import { getVideoMode } from '@engine/core/VideoManager' + +const isLocalMode = getVideoMode() === 'local' const store = useGameStore() const { t, currentLang } = useI18n() @@ -333,16 +336,19 @@ init()
{{ promptToast }}
-
+ import { useGameStore } from '@/stores/gameStore' import { useI18n } from '@/composables/useI18n' -import { getVideoMode } from '@engine/core/VideoManager' const store = useGameStore() const { t, currentLang, setLang } = useI18n() @@ -13,15 +12,6 @@ const emit = defineEmits<{ const fontSizeOptions = [20, 24, 28, 32] const bgAlphaOptions = [0, 0.3, 0.5, 0.7, 0.9] -const qualityOptions = [ - { key: '', label: '自动' }, - { key: '超清 (1080P)', label: '超清 (1080P)', speed: '需要 2.5 Mbps' }, - { key: '高清 (720P)', label: '高清 (720P)', speed: '需要 2 Mbps' }, - { key: '标清 (480P)', label: '标清 (480P)', speed: '需要 0.8 Mbps' }, -] - -const isWeb = getVideoMode() !== 'local' - const langLabels: Record = { zh: '中文', en: 'English', @@ -49,15 +39,6 @@ const langLabels: Record = { -
- 画质 - -
-
{{ t('ui.subtitleSize') }}