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