add store tab

This commit is contained in:
Timi
2026-08-11 19:53:04 +08:00
parent 1f8183034d
commit e612cfd382
4 changed files with 203 additions and 108 deletions
+15
View File
@@ -1,6 +1,7 @@
import type { RouteRecordRaw } from "vue-router";
import HomeTab from "@/pages/tabs/HomeTab.vue";
import SettingTab from "@/pages/tabs/SettingTab.vue";
import StoreTab from "@/pages/tabs/StoreTab.vue";
const tabRoutes: RouteRecordRaw[] = [
{
@@ -17,6 +18,20 @@ const tabRoutes: RouteRecordRaw[] = [
darkBodyBackground: "#10161f"
}
},
{
path: "/store",
name: "StoreTab",
component: StoreTab,
meta: {
depth: 2,
navBarVisible: true,
navBarCanBack: false,
navBarTitle: "门店",
tabBarVisible: true,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management",
name: "SettingTab",