diff --git a/frontend/src/App.vue b/frontend/src/App.vue index fb4d5daa..35c621a3 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -20,6 +20,7 @@ const localeConfig = computed(() => locale.value == 'zh' ? zhCN : null) const isMobile = useIsMobile() const showSideMargin = computed(() => !isMobile.value && useSideMargin.value); const showAd = computed(() => !isMobile.value && adClient && adSlot); +const gridMaxCols = computed(() => showAd.value ? 8 : 12); onMounted(async () => { @@ -78,21 +79,21 @@ onMounted(async () => { - +
- +
-
+
@@ -103,7 +104,7 @@ onMounted(async () => {
- +