feat: 首頁介紹

This commit is contained in:
skytek_xinliang
2026-09-16 14:22:32 +08:00
parent ab8da775a6
commit 8b28112cbf
6 changed files with 538 additions and 12 deletions
+3 -6
View File
@@ -274,6 +274,8 @@
/>
</template>
<PlatformIntroduction />
<v-dialog v-model="generateDialog" max-width="400">
<v-card class="rounded-xl overflow-hidden">
<v-card-title class="bg-primary text-white font-weight-bold py-3">
@@ -404,6 +406,7 @@ import BrandAvatar from "@/components/BrandAvatar.vue";
import HealthRadarChart from "@/components/HealthRadarChart.vue";
import Layout from "@/components/layout/DefaultLayout.vue";
import ModuleRouterCard from "@/components/ModuleRouterCard.vue";
import PlatformIntroduction from "@/components/PlatformIntroduction.vue";
import PhysicalFitnessSummary from "@/components/PhysicalFitnessSummary.vue";
import { useDisplayUserName } from "@/composables/useDisplayUserName";
import {
@@ -428,7 +431,6 @@ const physicalFitnessItems = ref<PhysicalFitnessItem[]>([]);
const physicalFitnessReceivedAt = ref<string | null>(null);
const physicalFitnessLoading = ref(false);
const physicalFitnessError = ref("");
const redirectingToLogin = ref(false);
const displayUserName = useDisplayUserName(store.userProfile);
@@ -498,11 +500,6 @@ function getRequiredUserID(): string | null {
return userID;
}
if (!redirectingToLogin.value) {
redirectingToLogin.value = true;
void router.replace({ name: "login", query: { redirect: "/" } });
}
return null;
}