迁移
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
import LandingBPc from './LandingBPc.vue'
|
||||
import LandingBMobile from './LandingBMobile.vue'
|
||||
|
||||
// 与 A 版 / hjll2 一致:仅按 UA 分流,不按宽度切换
|
||||
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
||||
navigator.userAgent,
|
||||
)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<LandingBMobile v-if="isMobile" />
|
||||
<LandingBPc v-else />
|
||||
</template>
|
||||
Reference in New Issue
Block a user