This commit is contained in:
谢宇宁
2026-09-15 16:25:45 +07:00
parent da39ab9a2a
commit 2d63d37930
449 changed files with 25632 additions and 24085 deletions
+29
View File
@@ -0,0 +1,29 @@
<template>
<!-- iOS 安装引导整页版正常下载流程由 MobileLanding 页内弹层展示本路由保留给 QA / 外链直达 -->
<!-- ?guide=safari 社媒内复制到 Safari引导默认 三步轻量版安装引导 -->
<IosSafariOpenGuide v-if="isSafariOpenGuide" :show="true" @close="goBack" />
<IosInstallGuide v-else :show="true" @close="goBack" />
</template>
<script lang="ts" setup>
import { computed } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import IosInstallGuide from '~/components/mobile/IosInstallGuide.vue'
import IosSafariOpenGuide from '~/components/mobile/IosSafariOpenGuide.vue'
const route = useRoute()
const router = useRouter()
const isSafariOpenGuide = computed(() => {
const g = String(route.query.guide || '').toLowerCase()
return g === 'safari' || g === 'social'
})
function goBack() {
if (window.history.length > 1) {
router.back()
} else {
router.push('/')
}
}
</script>