feat: 更新默认布局,添加 Riwa 标签并调整样式

This commit is contained in:
2025-12-12 01:27:08 +07:00
parent f0bffb821c
commit 8d6e1b3835

View File

@@ -6,10 +6,10 @@ import { ellipse, square, triangle } from "ionicons/icons";
<IonPage>
<IonTabs>
<IonRouterOutlet />
<IonTabBar slot="bottom">
<IonTabButton tab="home" href="/layout/home">
<IonTabBar slot="bottom" class="tabbar">
<IonTabButton tab="riwa" href="/layout/riwa">
<IonIcon aria-hidden="true" :icon="triangle" />
<IonLabel>Home</IonLabel>
<IonLabel>Riwa</IonLabel>
</IonTabButton>
<IonTabButton tab="market" href="/layout/market">
@@ -25,3 +25,10 @@ import { ellipse, square, triangle } from "ionicons/icons";
</IonTabs>
</IonPage>
</template>
<style scoped>
.tabbar {
height: 60px;
--background: var(--ion-background-color);
}
</style>