feat: 添加状态页面路由及更新 iframe 页面的显示逻辑

This commit is contained in:
Coldsmiles
2026-03-22 02:53:44 +08:00
parent ea7ae6ad19
commit a54260ede6
2 changed files with 8 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ const activePath = computed(() => route.path);
// iframe pages don't show footer; they fill the viewport // iframe pages don't show footer; they fill the viewport
const isIframePage = computed(() => const isIframePage = computed(() =>
['/doc', '/map', '/photo'].includes(route.path) ['/doc', '/map', '/status', '/photo'].includes(route.path)
); );
</script> </script>

View File

@@ -58,6 +58,13 @@ export const routes = [
component: () => import('./pages/DocPage.vue'), component: () => import('./pages/DocPage.vue'),
meta: { seo: routeSeo.doc }, meta: { seo: routeSeo.doc },
}, },
{
path: '/status',
alias: ['/status.html'],
name: 'status',
component: () => import('./pages/StatusPage.vue'),
meta: { seo: routeSeo.status },
},
{ {
path: '/map', path: '/map',
alias: ['/map.html'], alias: ['/map.html'],