From ce740f2c9379163bb39f8a5d8dc2d9d8e9e20610 Mon Sep 17 00:00:00 2001 From: zkz098 Date: Fri, 22 Dec 2023 21:05:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E7=AB=A0=E6=9E=B6=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 5 +- theme/components/ShokaxPostReward.vue | 10 +--- theme/components/ValaxyMain.vue | 68 +++++++++++++++------------ 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f4eb7f5..b47084c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,11 @@ { "cSpell.words": [ "algoliasearch", + "beian", "instantsearch", + "Shokax", "valaxy", - "valaxyjs", - "beian" + "valaxyjs" ], "i18n-ally.sourceLanguage": "en", "i18n-ally.keystyle": "nested", diff --git a/theme/components/ShokaxPostReward.vue b/theme/components/ShokaxPostReward.vue index d9e4d8c..fbc066d 100644 --- a/theme/components/ShokaxPostReward.vue +++ b/theme/components/ShokaxPostReward.vue @@ -11,7 +11,7 @@ defineProps<{ const toggled = ref(false) const { t } = useI18n() const themeConfig = useThemeConfig() -const accounts: RewardAccounts[] = themeConfig.reward.accounts +const accounts: RewardAccounts[] = themeConfig.value.reward.accounts const toggleQR = function (event: Event) { event.preventDefault() @@ -28,7 +28,7 @@ const toggleQR = function (event: Event) {

{{ t('reward.text') }}

- +
@@ -41,10 +41,4 @@ const toggleQR = function (event: Event) { diff --git a/theme/components/ValaxyMain.vue b/theme/components/ValaxyMain.vue index fdd3e2d..1a0b6c7 100644 --- a/theme/components/ValaxyMain.vue +++ b/theme/components/ValaxyMain.vue @@ -1,45 +1,51 @@