add point

This commit is contained in:
Timi
2026-08-11 22:25:30 +08:00
parent e612cfd382
commit 9f60a36c6c
21 changed files with 2928 additions and 36 deletions
+95
View File
@@ -0,0 +1,95 @@
import type { RouteRecordRaw } from "vue-router";
import PointAccount from "@/pages/point/PointAccount.vue";
import PointAdjust from "@/pages/point/PointAdjust.vue";
import PointLedgerList from "@/pages/point/PointLedgerList.vue";
import PointRuleEdit from "@/pages/point/PointRuleEdit.vue";
import PointRuleList from "@/pages/point/PointRuleList.vue";
const pointRoutes: RouteRecordRaw[] = [
{
path: "/management/points/account",
name: "PointAccount",
component: PointAccount,
meta: {
depth: 3,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "积分账户",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/points/ledger",
name: "PointLedgerList",
component: PointLedgerList,
meta: {
depth: 3,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "积分流水",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/points/adjust",
name: "PointAdjust",
component: PointAdjust,
meta: {
depth: 4,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "人工调整积分",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/points/rules",
name: "PointRuleList",
component: PointRuleList,
meta: {
depth: 3,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "积分规则",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/points/rules/create",
name: "PointRuleCreate",
component: PointRuleEdit,
meta: {
depth: 4,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "新增积分规则",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/points/rules/:id/edit",
name: "PointRuleEdit",
component: PointRuleEdit,
meta: {
depth: 4,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "编辑积分规则",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
}
];
export default pointRoutes;