feat:删除award

This commit is contained in:
2026-04-09 14:40:47 +08:00
parent 46b264e69e
commit a525d4f54a

View File

@@ -24,494 +24,471 @@ const routes: Array<RouteRecordRaw> = [
component: () => import("@/component/Canvas/canvasExample.vue") component: () => import("@/component/Canvas/canvasExample.vue")
}, },
{ {
path: "/schoolLogin", path: "/schoolLogin",
name: "schoolLogin", name: "schoolLogin",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Login.vue"), // 使用通用登录组件 component: () => import("@/views/Login.vue") // 使用通用登录组件
}, },
{ {
path: "/enterpriseLogin", path: "/enterpriseLogin",
name: "enterpriseLogin", name: "enterpriseLogin",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Login.vue"), // 使用通用登录组件 component: () => import("@/views/Login.vue") // 使用通用登录组件
}, },
{ {
path: "/test", path: "/test",
name: "test1", name: "test1",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/test.vue"), component: () => import("@/views/test.vue")
}, },
{ {
path: "/register", path: "/register",
name: "register", name: "register",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Register.vue"), component: () => import("@/views/Register.vue")
}, },
{ {
path: "/register/:lang", path: "/register/:lang",
name: "registerLang", name: "registerLang",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Register.vue"), component: () => import("@/views/Register.vue")
}, },
{ {
path: "/upgrade", path: "/upgrade",
name: "upgrade", name: "upgrade",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Upgrade.vue"), component: () => import("@/views/Upgrade.vue")
}, },
{ {
path: "/home", path: "/home",
name: "home", name: "home",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeMain.vue"), component: () => import("@/views/HomeMain.vue"),
children: [ children: [
{ {
path: "tools", path: "tools",
name: "tools", name: "tools",
meta: { enter: "all",cache:true }, meta: { enter: "all", cache: true },
component: () => import("@/views/HomeView/Tools.vue"), component: () => import("@/views/HomeView/Tools.vue")
}, },
// { // {
// path: "homePage", // path: "homePage",
// name: "homePage", // name: "homePage",
// meta: { enter: "all" }, // meta: { enter: "all" },
// component: () => import("@/views/HomeView/HomeView.vue"), // component: () => import("@/views/HomeView/HomeView.vue"),
// }, // },
{ {
path: "library", path: "library",
name: "library", name: "library",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/library.vue"), component: () => import("@/views/HomeView/library.vue")
}, },
{ {
path: "history", path: "history",
name: "history", name: "history",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/history.vue"), component: () => import("@/views/HomeView/history.vue")
}, },
// { // {
// path: "history/:type/:id", // path: "history/:type/:id",
// name: "toolsPage", // name: "toolsPage",
// meta: { enter: "all",cache:true }, // meta: { enter: "all",cache:true },
// component: () => import("@/views/HomeView/Tools.vue"), // component: () => import("@/views/HomeView/Tools.vue"),
// }, // },
{ {
path: "history/:id", path: "history/:id",
name: "designPage", name: "designPage",
meta: { enter: "all",cache:true }, meta: { enter: "all", cache: true },
component: () => import("@/component/home/design/index.vue"), component: () => import("@/component/home/design/index.vue")
}, },
{ {
path: "works", path: "works",
name: "works", name: "works",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/Works.vue"), component: () => import("@/views/HomeView/Works.vue")
}, },
{ {
path: "events", path: "events",
name: "events", name: "events",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/Events.vue"), component: () => import("@/views/HomeView/Events.vue")
}, },
{ {
path: "cloud", path: "cloud",
name: "cloud", name: "cloud",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/cloudGeneration.vue"), component: () => import("@/views/HomeView/cloudGeneration.vue")
}, },
{ {
path: "eventsDetail", path: "eventsDetail",
name: "eventsDetail", name: "eventsDetail",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Events/eventsDetail.vue"), component: () => import("@/component/Events/eventsDetail.vue")
}, },
{ {
path: "account", path: "account",
name: "account", name: "account",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Account/account.vue"), component: () => import("@/component/Account/account.vue"),
children: [ children: [
{ {
path: "", path: "",
name: "accountChil", name: "accountChil",
meta: { enter: "all" }, meta: { enter: "all" },
redirect: "/home/account/frontPage", redirect: "/home/account/frontPage"
}, },
{ {
path: "frontPage", path: "frontPage",
name: "frontPage", name: "frontPage",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Account/frontPage.vue"), component: () => import("@/component/Account/frontPage.vue")
}, },
{ {
path: "accountMessage", path: "accountMessage",
name: "accountMessage", name: "accountMessage",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Account/accountMessage.vue"), component: () => import("@/component/Account/accountMessage.vue")
}, },
{ {
path: "accountFollowFans", path: "accountFollowFans",
name: "accountFollowFans", name: "accountFollowFans",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => component: () => import("@/component/Account/accountFollowFans.vue")
import("@/component/Account/accountFollowFans.vue"), }
}, ]
], },
}, {
{ path: "otherUsers",
path: "otherUsers", name: "otherUsers",
name: "otherUsers", meta: { enter: "all" },
meta: { enter: "all" }, component: () => import("@/component/Account/otherUsers.vue")
component: () => import("@/component/Account/otherUsers.vue"), },
}, {
{ path: "becomeSeller",
path: "becomeSeller", name: "becomeSeller",
name: "becomeSeller", meta: { enter: "all" },
meta: { enter: "all" }, component: () => import("@/views/SellerDashboard/BecomeSeller/index.vue")
component: () => import("@/views/SellerDashboard/BecomeSeller/index.vue"), },
}, {
{ path: "seller",
path: "seller", name: "seller",
name: "seller", meta: { enter: "all" },
meta: { enter: "all" }, component: () => import("@/views/SellerDashboard/index.vue"),
component: () => import("@/views/SellerDashboard/index.vue"), children: [
children:[ {
{ path: "brandProfile",
path: "brandProfile", name: "brandProfile",
name: "brandProfile", meta: { enter: "all" },
meta: { enter: "all" }, component: () => import("@/views/SellerDashboard/BrandProfile/index.vue")
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), },
}, {
{ path: "myListings",
path: "myListings", name: "myListings",
name: "myListings", meta: { enter: "all" },
meta: { enter: "all" }, children: [
children:[ {
{ path: "",
path: "", name: "myListingsChild",
name: "myListingsChild", meta: { enter: "all" },
meta: { enter: "all" }, redirect: "/home/seller/myListings/index"
redirect: "/home/seller/myListings/index", },
{
path: "index",
name: "myListingsIndex",
meta: { enter: "all" },
component: () =>
import("@/views/SellerDashboard/MyListings/main/index.vue")
},
{
path: "select",
name: "myListingsSelect",
meta: { enter: "all" },
component: () =>
import("@/views/SellerDashboard/MyListings/createSelect/index.vue")
},
{
path: "select/:id",
name: "myListingsSelectItem",
meta: { enter: "all" },
component: () =>
import("@/views/SellerDashboard/MyListings/createSelectItem/index.vue")
},
{
path: "edit",
name: "EditDetail",
meta: { enter: "all" },
component: () =>
import("@/views/SellerDashboard/MyListings/EditDetail/index.vue")
}
]
},
{
path: "myOrders",
name: "myOrders",
meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue")
},
{
path: "settings",
name: "settings",
meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue")
}
]
}
]
},
{
path: "/Square",
name: "HomeRecommend",
meta: { enter: "all" },
component: () => import("@/views/HomeRecommend.vue")
},
{
path: "/administrator",
name: "administrator",
meta: { enter: 3 },
component: () => import("@/views/Administrator.vue"),
children: [
{
path: "allUser",
name: "allUser",
meta: { enter: 3 },
component: () => import("@/component/Administrator/allUser.vue")
},
{
path: "coupons",
name: "coupons",
meta: { enter: 3 },
component: () => import("@/component/Administrator/coupons/index.vue")
},
{
path: "testClickData",
name: "testClickData",
meta: { enter: 3 },
component: () => import("@/component/Administrator/TestClickData.vue")
},
{
path: "trialApproval",
name: "trialApproval",
meta: { enter: 3 },
component: () => import("@/component/Administrator/trialApproval.vue")
},
{
path: "questionnaire",
name: "questionnaire",
meta: { enter: 3 },
component: () => import("@/component/Administrator/questionnaire.vue")
},
{
path: "recentActiveChart",
name: "recentActiveChart",
meta: { enter: 3 },
component: () => import("@/component/Administrator/recentActiveChart.vue")
},
{
path: "recentActiveUser",
name: "recentActiveUser",
meta: { enter: 3 },
component: () => import("@/component/Administrator/recentActiveUser.vue")
},
{
path: "recentActiveUserChart",
name: "recentActiveUserChart",
meta: { enter: 3 },
component: () => import("@/component/Administrator/recentActiveUserChart.vue")
},
{
path: "recentNewUser",
name: "recentNewUser",
meta: { enter: 3 },
component: () => import("@/component/Administrator/recentNewUser.vue")
},
{
path: "recentNewUserChart",
name: "recentNewUserChart",
meta: { enter: 3 },
component: () => import("@/component/Administrator/recentNewUserChart.vue")
},
{
path: "trialUserCountry",
name: "trialUserCountry",
meta: { enter: 3 },
component: () => import("@/component/Administrator/trialUserCountry.vue")
},
{
path: "trialUserConversionRateChart",
name: "trialUserConversionRateChart",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/trialUserConversionRateChart.vue")
},
{
path: "trialAllUser",
name: "trialAllUser",
meta: { enter: 3 },
component: () => import("@/component/Administrator/trialAllUser.vue")
},
{
path: "affiliateAudit",
name: "affiliateAudit",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue")
},
{
path: "affiliateReferral",
name: "affiliateReferral",
meta: {
enter: 3
}, },
{ component: () =>
path: "index", import("@/component/Administrator/affiliate/affiliateReferral/index.vue")
name: "myListingsIndex", },
meta: { enter: "all" }, {
component: () => import("@/views/SellerDashboard/MyListings/main/index.vue"), path: "TransactionTable",
}, name: "TransactionTable",
{ meta: { enter: 3 },
path: "select", component: () =>
name: "myListingsSelect", import("@/component/Administrator/Transaction/TransactionTable.vue")
meta: { enter: "all" }, },
component: () => import("@/views/SellerDashboard/MyListings/createSelect/index.vue"), {
}, path: "organization",
{ name: "organization",
path: "select/:id", meta: { enter: 3 },
name: "myListingsSelectItem", component: () => import("@/component/Administrator/organization/organization.vue")
meta: { enter: "all" }, },
component: () => import("@/views/SellerDashboard/MyListings/createSelectItem/index.vue"), {
}, path: "subscriptionPlan",
] name: "subscriptionPlan",
}, meta: { enter: 3 },
{ component: () => import("@/component/Administrator/subscriptionPlan.vue")
path: "myOrders", },
name: "myOrders", //企业版教育管理员页面
meta: { enter: "all" }, {
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), path: "allUserSE",
}, name: "allUserSE",
{ meta: { enter: 3 },
path: "settings", component: () => import("@/component/Administrator/SE/allUser/index.vue")
name: "settings", },
meta: { enter: "all" }, {
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), path: "testClickDataSE",
}, name: "testClickDataSE",
], meta: { enter: 3 },
}, component: () => import("@/component/Administrator/SE/designDetailList/index.vue")
], },
}, {
{ path: "recentActiveChartSE",
path: "/Square", name: "recentActiveChartSE",
name: "HomeRecommend", meta: { enter: 3 },
meta: { enter: "all" }, component: () => import("@/component/Administrator/SE/recentActiveChart.vue")
component: () => import("@/views/HomeRecommend.vue"), },
}, {
{ path: "generateFrequencySE",
path: "/administrator", name: "generateFrequencySE",
name: "administrator", meta: { enter: 3 },
meta: { enter: 3 }, component: () =>
component: () => import("@/views/Administrator.vue"), import("@/component/Administrator/SE/getGenerateFrequency/index.vue")
children: [ }
{ ]
path: "allUser", },
name: "allUser", {
meta: { enter: 3 }, path: "/paySucceed",
component: () => import("@/component/Administrator/allUser.vue"), name: "paySucceed",
},
{
path: "coupons",
name: "coupons",
meta: { enter: 3 },
component: () => import("@/component/Administrator/coupons/index.vue"),
},
{
path: "testClickData",
name: "testClickData",
meta: { enter: 3 },
component: () => import("@/component/Administrator/TestClickData.vue"),
},
{
path: "trialApproval",
name: "trialApproval",
meta: { enter: 3 },
component: () => import("@/component/Administrator/trialApproval.vue"),
},
{
path: "questionnaire",
name: "questionnaire",
meta: { enter: 3 },
component: () => import("@/component/Administrator/questionnaire.vue"),
},
{
path: "recentActiveChart",
name: "recentActiveChart",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/recentActiveChart.vue"),
},
{
path: "recentActiveUser",
name: "recentActiveUser",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/recentActiveUser.vue"),
},
{
path: "recentActiveUserChart",
name: "recentActiveUserChart",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/recentActiveUserChart.vue"),
},
{
path: "recentNewUser",
name: "recentNewUser",
meta: { enter: 3 },
component: () => import("@/component/Administrator/recentNewUser.vue"),
},
{
path: "recentNewUserChart",
name: "recentNewUserChart",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/recentNewUserChart.vue"),
},
{
path: "trialUserCountry",
name: "trialUserCountry",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/trialUserCountry.vue"),
},
{
path: "trialUserConversionRateChart",
name: "trialUserConversionRateChart",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/trialUserConversionRateChart.vue"),
},
{
path: "trialAllUser",
name: "trialAllUser",
meta: { enter: 3 },
component: () => import("@/component/Administrator/trialAllUser.vue"),
},
{
path: "affiliateAudit",
name: "affiliateAudit",
meta: { enter: 3 },
component: () =>import("@/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue"),
},
{
path: "affiliateReferral",
name: "affiliateReferral",
meta: { meta: {
enter: 3, enter: "all"
}, },
component: () =>import("@/component/Administrator/affiliate/affiliateReferral/index.vue"), component: () => import("@/views/paySucceed.vue")
},
{
path: "/affiliate",
name: "affiliate",
meta: {
enter: 2
}, },
{ component: () => import("@/views/affiliate/affiliatePage.vue"),
path: "TransactionTable", children: [
name: "TransactionTable", {
meta: { enter: 3 }, path: "",
component: () => name: "defaultAffiliateHome",
import("@/component/Administrator/Transaction/TransactionTable.vue"), meta: {
}, enter: 2
{ },
path: "organization", component: () => import("@/component/affiliate/home.vue")
name: "organization", },
meta: { enter: 3 }, {
component: () => path: "/affiliateHome",
import("@/component/Administrator/organization/organization.vue"), name: "affiliateHome",
}, meta: {
{ enter: 2
path: "subscriptionPlan", },
name: "subscriptionPlan", component: () => import("@/component/affiliate/home.vue")
meta: { enter: 3 }, }
component: () => ]
import("@/component/Administrator/subscriptionPlan.vue"), },
}, {
//企业版教育管理员页面 path: "/affiliateRegister",
{ name: "affiliateRegister",
path: "allUserSE", meta: {
name: "allUserSE", enter: "all"
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/SE/allUser/index.vue"),
},
{
path: "testClickDataSE",
name: "testClickDataSE",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/SE/designDetailList/index.vue"),
},
{
path: "recentActiveChartSE",
name: "recentActiveChartSE",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/SE/recentActiveChart.vue"),
},
{
path: "generateFrequencySE",
name: "generateFrequencySE",
meta: { enter: 3 },
component: () =>
import("@/component/Administrator/SE/getGenerateFrequency/index.vue"),
},
],
},
{
path: "/paySucceed",
name: "paySucceed",
meta: {
enter: "all",
},
component: () => import("@/views/paySucceed.vue"),
},
{
path: "/affiliate",
name: "affiliate",
meta: {
enter: 2,
},
component: () => import("@/views/affiliate/affiliatePage.vue"),
children: [
{
path: "",
name: "defaultAffiliateHome",
meta: {
enter: 2,
},
component: () => import("@/component/affiliate/home.vue"),
}, },
{ component: () => import("@/views/affiliate/affiliateRegister.vue")
path: "/affiliateHome", },
name: "affiliateHome", {
meta: { path: "/feedbackSurvey",
enter: 2, name: "feedbackSurvey",
}, meta: {
component: () => import("@/component/affiliate/home.vue"), enter: "all"
}, },
], component: () => import("@/views/feedbackSurvey.vue")
}, },
{ {
path: "/affiliateRegister", path: "/feedbackSurveyCN",
name: "affiliateRegister", name: "feedbackSurveyCN",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/affiliate/affiliateRegister.vue"), component: () => import("@/views/feedbackSurveyCN.vue")
}, },
{ {
path: "/feedbackSurvey", path: "/email3-1EN",
name: "feedbackSurvey", name: "email3-1EN",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/feedbackSurvey.vue"), component: () => import("@/views/emailPage/email3-1EN.vue")
}, },
{ {
path: "/feedbackSurveyCN", path: "/email3-1CN",
name: "feedbackSurveyCN", name: "email3-1CN",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/feedbackSurveyCN.vue"), component: () => import("@/views/emailPage/email3-1CN.vue")
}, },
{ {
path: "/email3-1EN", path: "/404",
name: "email3-1EN", name: "404",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/emailPage/email3-1EN.vue"), component: () => import("@/views/404.vue")
}, },
{ {
path: "/email3-1CN", path: "/userManual",
name: "email3-1CN", name: "userManual",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/emailPage/email3-1CN.vue"), component: () => import("@/views/userManual.vue")
}, },
{
path: "/404", {
name: "404", path: "/:catchAll(.*)",
meta: { redirect: "/404"
enter: "all", }
}, ]
component: () => import("@/views/404.vue"),
},
{
path: "/userManual",
name: "userManual",
meta: {
enter: "all",
},
component: () => import("@/views/userManual.vue"),
},
{
path: "/award",
name: "award",
meta: {
enter: "all",
},
component: () => import("@/views/AwardPage/container.vue"),
children:[
{
path:'',
name:'AwardIndex',
component:()=>import('@/views/AwardPage/index.vue')
},
{
path:'index',
name:'AwardIndexAlt',
component:()=>import('@/views/AwardPage/index.vue')
},
{
path:'contestants',
name:'Contestants',
component:()=>import('@/views/AwardPage/apply.vue')
}
]
},
{
path: "/:catchAll(.*)",
redirect: "/404",
},
];
const router = createRouter({ const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL), history: createWebHistory(import.meta.env.BASE_URL),