做统一认证登录

This commit is contained in:
hero920103 committed 2026-09-19 21:44:04 +08:00
1 parent 1a4471e34d
commit fa281363fb
78 files changed
+8127 -1442

No files matched your search

+29 -26
View File
@@ -4,9 +4,6 @@ import { siteInfo } from "@/config/site"; // 站点设置(站点名称 {yz:sit
const DefaultLayout = () => import("../layout/DefaultLayout.vue");
const HomeView = () => import("../views/home/index.vue");
const ListView = () => import("../views/list.vue");
const DetailView = () => import("../views/detail.vue");
const SingleView = () => import("../views/single.vue");
const NotFoundView = () => import("../views/not-found.vue");
/**
@@ -33,19 +30,19 @@ const routes: RouteRecordRaw[] = [
{
path: "news",
name: "News",
component: ListView,
component: () => import("../views/news/index.vue"),
meta: { title: "新闻中心" },
},
{
path: "news/category/:slug",
name: "NewsCategory",
component: ListView,
component: () => import("../views/news/index.vue"),
meta: { title: "新闻中心" },
},
{
path: "news/detail/:slug",
name: "NewsDetail",
component: DetailView,
component: () => import("../views/news/detail.vue"),
meta: { title: "新闻详情" },
},
@@ -53,19 +50,19 @@ const routes: RouteRecordRaw[] = [
{
path: "products",
name: "Products",
component: ListView,
component: () => import("../views/products/index.vue"),
meta: { title: "产品中心" },
},
{
path: "products/category/:slug",
name: "ProductCategory",
component: ListView,
component: () => import("../views/products/index.vue"),
meta: { title: "产品中心" },
},
{
path: "products/detail/:slug",
name: "ProductDetail",
component: DetailView,
component: () => import("../views/products/detail.vue"),
meta: { title: "产品详情" },
},
@@ -73,19 +70,19 @@ const routes: RouteRecordRaw[] = [
{
path: "solutions",
name: "Solutions",
component: ListView,
component: () => import("../views/solutions/index.vue"),
meta: { title: "解决方案" },
},
{
path: "solutions/category/:slug",
name: "SolutionCategory",
component: ListView,
component: () => import("../views/solutions/index.vue"),
meta: { title: "解决方案" },
},
{
path: "solutions/detail/:slug",
name: "SolutionDetail",
component: DetailView,
component: () => import("../views/solutions/detail.vue"),
meta: { title: "方案详情" },
},
@@ -93,19 +90,19 @@ const routes: RouteRecordRaw[] = [
{
path: "cases",
name: "Cases",
component: ListView,
component: () => import("../views/cases/index.vue"),
meta: { title: "客户案例" },
},
{
path: "cases/category/:slug",
name: "CaseCategory",
component: ListView,
component: () => import("../views/cases/index.vue"),
meta: { title: "客户案例" },
},
{
path: "cases/detail/:slug",
name: "CaseDetail",
component: DetailView,
component: () => import("../views/cases/detail.vue"),
meta: { title: "案例详情" },
},
@@ -113,19 +110,19 @@ const routes: RouteRecordRaw[] = [
{
path: "events",
name: "Events",
component: ListView,
component: () => import("../views/events/index.vue"),
meta: { title: "市场活动" },
},
{
path: "events/category/:slug",
name: "EventCategory",
component: ListView,
component: () => import("../views/events/index.vue"),
meta: { title: "市场活动" },
},
{
path: "events/detail/:slug",
name: "EventDetail",
component: DetailView,
component: () => import("../views/events/detail.vue"),
meta: { title: "活动详情" },
},
@@ -133,43 +130,49 @@ const routes: RouteRecordRaw[] = [
{
path: "about",
name: "About",
component: SingleView,
component: () => import("../views/about.vue"),
meta: { title: "关于云泽" },
},
{
path: "careers",
name: "Careers",
component: SingleView,
component: () => import("../views/careers.vue"),
meta: { title: "加入我们" },
},
{
path: "partners",
name: "Partners",
component: SingleView,
component: () => import("../views/partners.vue"),
meta: { title: "合作伙伴" },
},
{
path: "contact",
name: "Contact",
component: SingleView,
component: () => import("../views/contact.vue"),
meta: { title: "联系我们" },
},
{
path: "support",
name: "Support",
component: SingleView,
component: () => import("../views/support/index.vue"),
meta: { title: "客户支持中心" },
},
{
path: "support/:slug",
name: "SupportDetail",
component: SingleView,
component: () => import("../views/support/detail.vue"),
meta: { title: "客户支持" },
},
{
path: "policy/:slug",
path: "policy",
name: "Policy",
component: SingleView,
component: () => import("../views/policy/index.vue"),
meta: { title: "政策条款" },
},
{
path: "policy/:slug",
name: "PolicyDetail",
component: () => import("../views/policy/detail.vue"),
meta: { title: "政策条款" },
},