广告点击添加

This commit is contained in:
谢宇宁
2026-09-15 22:40:55 +07:00
parent fa02dcbadf
commit 2e8689cae0
53 changed files with 98 additions and 702 deletions
+11
View File
@@ -18,6 +18,8 @@
:scene="vipContentGuideScene"
@close="closeVipContentGuide"
/>
<!-- 九宫格应用广告:启动后不管落在哪个 tab 都弹,每次启动只弹一次 -->
<NineGridPopup v-if="nineGridPopupVisible" :is-open="true" @close="nineGridPopupVisible = false" />
</div>
</template>
<script lang="ts">
@@ -31,11 +33,20 @@ import { useConfigStore } from '@/stores/config';
import { computed } from 'vue';
import { useRoute } from 'vue-router';
import PaymentGuidePopup from '@/components/PaymentGuidePopup/index.vue';
import NineGridPopup from '@/components/NineGridPopup/index.vue';
import { useVipContentUpdateGuideOnMainTabs } from '@/hooks/useVipContentUpdateGuideOnMainTabs';
import { AdType } from '@/enums/app';
import { getAdItem } from '@/utils/getConfig';
import { nineGridPopupVisible } from '@/utils/nineGridPopup';
const route = useRoute();
const globalStore = useGlobalStore();
const configStore = useConfigStore();
if (!globalStore.nineGridFirst && (getAdItem(AdType.QualityApplication) || []).length > 0) {
globalStore.setNineGridFirst();
nineGridPopupVisible.value = true;
}
const {
visible: vipContentGuideVisible,
guide: vipContentGuide,