初始化项目

This commit is contained in:
2026-03-22 00:27:15 +08:00
parent b40a1634ef
commit 1b9448a5a3
105 changed files with 11434 additions and 193 deletions

View File

@@ -6,13 +6,6 @@
</div>
<div class="tabs-container">
<div class="tabs-left">
<div
class="tab-item"
:class="{ active: isHome }"
@click="goHome"
>
<span>首页</span>
</div>
<div
class="tab-item"
v-for="item in allTabs"
@@ -64,14 +57,9 @@ const getTitle = (title) => {
};
const isHome = computed(() => {
return route.path === '/bigScreen' || route.path === '/';
return route.path === '/bigScreen/home' || route.path === '/';
});
const goHome = () => {
screenTitle.value = HOME_TITLE;
router.push('/bigScreen/home').catch(() => {});
};
const isCurrentTab = (routePath) => {
return route.path === routePath;
};