Files
jinshen-website/app/pages/locate.vue
R2m1liA 76fb3ddcb7
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m54s
fix: 重定向页布局调整
2025-12-19 13:26:48 +08:00

29 lines
498 B
Vue

<template>
<div class="page-container">
<h1>{{ $t('redirecting') }}</h1>
</div>
</template>
<script setup lang="ts">
onMounted(async () => {
const platform = await getAutoMappedService();
// // ✔ 移动端能正常跳转
window.location.href = platform;
});
</script>
<style scoped>
.page-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 80vh;
}
h1 {
font-size: 1.5rem;
font-weight: bold;
}
</style>