From 5af62adefd5442cef7c7d6a0a5d3f586cc4a200b Mon Sep 17 00:00:00 2001 From: clkim Date: Mon, 15 Dec 2025 16:48:11 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20=EB=A1=9C=EA=B7=B8=20=EC=A0=84=EC=86=A1?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/blocks/Button/Launcher.vue | 8 +----- layers/components/blocks/{Button => }/Sns.vue | 12 +++------ layers/components/layouts/Main.vue | 2 +- layers/components/widgets/modal/Preregist.vue | 5 ++-- layers/templates/FxDownload01/index.vue | 18 +++++++++---- layers/templates/FxPreregist01/index.vue | 11 +++----- layers/templates/FxSecure01/index.vue | 6 ++--- layers/utils/formatUtil.ts | 26 +++++++++++++++++++ 8 files changed, 53 insertions(+), 35 deletions(-) rename layers/components/blocks/{Button => }/Sns.vue (94%) diff --git a/layers/components/blocks/Button/Launcher.vue b/layers/components/blocks/Button/Launcher.vue index f56376f..97edbc5 100644 --- a/layers/components/blocks/Button/Launcher.vue +++ b/layers/components/blocks/Button/Launcher.vue @@ -31,12 +31,6 @@ const { isProcessing, validateLauncher } = useCheckGameStart() const { gameData } = storeToRefs(gameDataStore) -const PLATFORM_LABEL_KEY: Record = { - pc: 'PC', - google_play: 'Google Play', - app_store: 'App Store', -} as const - const PLATFORM_ICON_MAP: Record = { google_play: 'AtomsIconsLogoGoogle', app_store: 'AtomsIconsLogoApple', @@ -93,7 +87,7 @@ const tmWithGameName = (key: string): string => { ) const platformLines = supportedPlatforms.value - .map(platform => highlight(PLATFORM_LABEL_KEY[platform] as string)) + .map(platform => highlight(formatSnakeToTitle(platform))) .filter(Boolean) return platformLines.length diff --git a/layers/components/blocks/Button/Sns.vue b/layers/components/blocks/Sns.vue similarity index 94% rename from layers/components/blocks/Button/Sns.vue rename to layers/components/blocks/Sns.vue index 3a4bdc7..f6d5e91 100644 --- a/layers/components/blocks/Button/Sns.vue +++ b/layers/components/blocks/Sns.vue @@ -26,12 +26,8 @@ const snsList = computed(() => { return gameData.value?.sns_json }) -const handleMouseEnter = () => { - showSnsList.value = true -} - -const handleForceClose = () => { - showSnsList.value = false +const handleControlForce = (state: boolean) => { + showSnsList.value = state } const handleCopy = async () => { @@ -56,7 +52,7 @@ const handleCopy = async () => { class="btn-sns" sr-only="sns" :style="{ backgroundColor: snsBackgroundColor }" - @click="handleMouseEnter" + @click="handleControlForce(true)" > @@ -96,7 +92,7 @@ const handleCopy = async () => {