From a585703ea2f5275f2814c88f61c3ee48484b68a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Mon, 26 Aug 2024 19:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=82=E5=B8=B8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E5=B1=95=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/cms/navigation/model/index.ts | 4 + api/cms/website/model/index.ts | 14 +++- assets/svg/github-mark-white.svg | 1 + assets/svg/github-mark.svg | 1 + assets/svg/websoft-mark-white.svg | 15 ++++ components/AppFooter.vue | 21 +++-- components/AppHeader.vue | 34 ++------- components/Breadcrumb.vue | 5 +- components/UnderMaintenance.vue | 26 ++----- layouts/default.vue | 123 +++++++++++++++++------------- pages/[custom]/index.vue | 2 +- pages/a.vue | 34 +++++++++ pages/article/[id].vue | 38 +++++---- pages/product/[name].vue | 2 +- pages/search/index.vue | 2 +- 15 files changed, 195 insertions(+), 127 deletions(-) create mode 100644 assets/svg/github-mark-white.svg create mode 100644 assets/svg/github-mark.svg create mode 100644 assets/svg/websoft-mark-white.svg create mode 100644 pages/a.vue diff --git a/api/cms/navigation/model/index.ts b/api/cms/navigation/model/index.ts index 4fe1495..3db96a1 100644 --- a/api/cms/navigation/model/index.ts +++ b/api/cms/navigation/model/index.ts @@ -33,9 +33,13 @@ export interface Navigation { isMpWeixin?: boolean; target?: string; design?: Design; + // 用于面包肖屑 parentName?: string; parentPath?: string; parentStatus?: number; + categoryName?: string; + categoryPath?: string; + currentTitle?: string; } /** diff --git a/api/cms/website/model/index.ts b/api/cms/website/model/index.ts index 50f3361..db3de13 100644 --- a/api/cms/website/model/index.ts +++ b/api/cms/website/model/index.ts @@ -13,12 +13,13 @@ export interface Website { websiteIcon?: string; websiteLogo?: string; websiteDarkLogo?: string; + websiteType?: string; + styles?: string; keywords?: string; address?: string; phone?: string; email?: string; version?: number; - websiteType?: string; expirationTime?: string; templateId?: string; industryParent?: string; @@ -39,9 +40,20 @@ export interface Website { region?: string; appId?: number; fields?: WebsiteField[]; + // 状态码 status?: number; + // 状态名称 + statusName?: string; + // 状态图标 + statusIcon?: string; + // 状态说明 statusText?: string; + // 关闭原因 statusClose?: string; + // 跳转按钮文本 + statusBtnText?: string; + // 跳转地址 + statusUrl?: string; tenantId?: number; tenantName?: string; navigations?: Navigation[]; diff --git a/assets/svg/github-mark-white.svg b/assets/svg/github-mark-white.svg new file mode 100644 index 0000000..d5e6491 --- /dev/null +++ b/assets/svg/github-mark-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/github-mark.svg b/assets/svg/github-mark.svg new file mode 100644 index 0000000..37fa923 --- /dev/null +++ b/assets/svg/github-mark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/websoft-mark-white.svg b/assets/svg/websoft-mark-white.svg new file mode 100644 index 0000000..fb8e867 --- /dev/null +++ b/assets/svg/websoft-mark-white.svg @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/components/AppFooter.vue b/components/AppFooter.vue index e9fd179..287c323 100644 --- a/components/AppFooter.vue +++ b/components/AppFooter.vue @@ -13,7 +13,7 @@