From 0488baa780ca7c1cf0c053e576cf359eeb40d617 Mon Sep 17 00:00:00 2001
From: panda <7934952@qq.com>
Date: Mon, 1 Jul 2024 16:55:58 +0800
Subject: [PATCH] add
---
src/api/admin/{classtic.ts => index.ts} | 12 +-
src/components/admin/MainWrapper.vue | 31 ++-
src/components/blogs/HomePage.vue | 97 +++++--
src/router/admin.ts | 7 +-
src/services/admin/classtic.ts | 71 ------
src/stores/index.ts | 56 ++---
.../ClassticManageView.vue | 14 +-
src/views/admin/CommonLinkManageView.vue | 236 ++++++++++++++++++
.../admin/classticmanage/ClassticFormView.vue | 24 --
9 files changed, 363 insertions(+), 185 deletions(-)
rename src/api/admin/{classtic.ts => index.ts} (52%)
delete mode 100644 src/services/admin/classtic.ts
rename src/views/admin/{classticmanage => }/ClassticManageView.vue (96%)
create mode 100644 src/views/admin/CommonLinkManageView.vue
delete mode 100644 src/views/admin/classticmanage/ClassticFormView.vue
diff --git a/src/api/admin/classtic.ts b/src/api/admin/index.ts
similarity index 52%
rename from src/api/admin/classtic.ts
rename to src/api/admin/index.ts
index c90e437..a67f7fc 100644
--- a/src/api/admin/classtic.ts
+++ b/src/api/admin/index.ts
@@ -7,12 +7,10 @@ export interface classticInterface {
descr: string
}
-export interface classticSearchInterface {
- title: string
-}
-
-export interface classticFormInterface {
- header: string,
- text: string,
+export interface comLinkInterface {
+ key: string,
+ id?: number,
+ linktext: string,
+ linkurl: string,
descr: string
}
\ No newline at end of file
diff --git a/src/components/admin/MainWrapper.vue b/src/components/admin/MainWrapper.vue
index a29f7ee..ed6ea69 100644
--- a/src/components/admin/MainWrapper.vue
+++ b/src/components/admin/MainWrapper.vue
@@ -6,7 +6,7 @@
{{ state.name }}
-
@@ -41,17 +41,16 @@
+
+
\ No newline at end of file
diff --git a/src/views/admin/classticmanage/ClassticFormView.vue b/src/views/admin/classticmanage/ClassticFormView.vue
deleted file mode 100644
index fdf0f23..0000000
--- a/src/views/admin/classticmanage/ClassticFormView.vue
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file