141 lines
4.0 KiB
TypeScript
141 lines
4.0 KiB
TypeScript
import type { RouteRecordRaw } from "vue-router";
|
|
|
|
const pointRoutes: RouteRecordRaw[] = [
|
|
{
|
|
path: "/management/points/redeem-skus", name: "PointRedeemSkuList", component: () => import("@/pages/point/PointRedeemSkuList.vue"),
|
|
meta: { depth: 3, tabBarVisible: false, bodyBackground: "#F5F5F8", darkBodyBackground: "#10161f" }
|
|
},
|
|
{
|
|
path: "/management/points/redeem-skus/create", name: "PointRedeemSkuCreate", component: () => import("@/pages/point/PointRedeemSkuEdit.vue"),
|
|
meta: { depth: 4, tabBarVisible: false, bodyBackground: "#F5F5F8", darkBodyBackground: "#10161f" }
|
|
},
|
|
{
|
|
path: "/management/points/redeem-skus/:id/edit", name: "PointRedeemSkuEdit", component: () => import("@/pages/point/PointRedeemSkuEdit.vue"),
|
|
meta: { depth: 4, tabBarVisible: false, bodyBackground: "#F5F5F8", darkBodyBackground: "#10161f" }
|
|
},
|
|
{
|
|
path: "/management/points/redemptions", name: "PointRedemptionList", component: () => import("@/pages/point/PointRedemptionList.vue"),
|
|
meta: { depth: 3, tabBarVisible: false, bodyBackground: "#F5F5F8", darkBodyBackground: "#10161f" }
|
|
},
|
|
{
|
|
path: "/management/points/redemptions/create", name: "PointRedemptionCreate", component: () => import("@/pages/point/PointRedemptionCreate.vue"),
|
|
meta: { depth: 4, tabBarVisible: false, bodyBackground: "#F5F5F8", darkBodyBackground: "#10161f" }
|
|
},
|
|
{
|
|
path: "/management/points/redemptions/:id", name: "PointRedemptionDetail", component: () => import("@/pages/point/PointRedemptionDetail.vue"),
|
|
meta: { depth: 4, tabBarVisible: false, bodyBackground: "#F5F5F8", darkBodyBackground: "#10161f" }
|
|
},
|
|
{
|
|
path: "/management/points/account",
|
|
name: "PointAccountList",
|
|
component: () => import("@/pages/point/PointAccountList.vue"),
|
|
meta: {
|
|
depth: 3,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/account/:id",
|
|
name: "PointAccountDetail",
|
|
component: () => import("@/pages/point/PointAccountDetail.vue"),
|
|
meta: {
|
|
depth: 4,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/rules/sort",
|
|
name: "PointRuleSort",
|
|
component: () => import("@/pages/point/PointRuleSort.vue"),
|
|
meta: {
|
|
depth: 4,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/ledger",
|
|
name: "PointLedgerList",
|
|
component: () => import("@/pages/point/PointLedgerList.vue"),
|
|
meta: {
|
|
depth: 3,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/ledger/:id",
|
|
name: "PointLedgerDetail",
|
|
component: () => import("@/pages/point/PointLedgerDetail.vue"),
|
|
meta: {
|
|
depth: 4,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/adjust",
|
|
name: "PointAdjust",
|
|
component: () => import("@/pages/point/PointAdjust.vue"),
|
|
meta: {
|
|
depth: 4,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/rules",
|
|
name: "PointRuleList",
|
|
component: () => import("@/pages/point/PointRuleList.vue"),
|
|
meta: {
|
|
depth: 3,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/rules/create",
|
|
name: "PointRuleCreate",
|
|
component: () => import("@/pages/point/PointRuleEdit.vue"),
|
|
meta: {
|
|
depth: 4,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/rules/:id",
|
|
name: "PointRuleDetail",
|
|
component: () => import("@/pages/point/PointRuleDetail.vue"),
|
|
meta: {
|
|
depth: 4,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/points/rules/:id/edit",
|
|
name: "PointRuleEdit",
|
|
component: () => import("@/pages/point/PointRuleEdit.vue"),
|
|
meta: {
|
|
depth: 5,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
}
|
|
];
|
|
|
|
export default pointRoutes;
|