<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>
