This commit is contained in:
谢宇宁
2026-10-21 11:16:51 +07:00
parent 44004a77b5
commit 4c0c79a2cd
31 changed files with 2045 additions and 7454 deletions
+14
View File
@@ -0,0 +1,14 @@
<script setup>
import Mobile from './Mobile.vue'
import Pc from './Pc.vue'
// 仅按 UA 分流,不按宽度切换
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
navigator.userAgent,
)
</script>
<template>
<Mobile v-if="isMobile" />
<Pc v-else />
</template>