From 93686bd354566167315b580b2a4286a648d4ccf9 Mon Sep 17 00:00:00 2001
From: jxxghp
Date: Tue, 8 Apr 2025 19:14:16 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=8E=A8?=
=?UTF-8?q?=E8=8D=90=E6=BA=90=E7=B1=BB=E5=9E=8B=E5=AD=97=E6=AE=B5=EF=BC=8C?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=A8=E8=8D=90=E9=A1=B5=E9=9D=A2=E5=88=86?=
=?UTF-8?q?=E7=B1=BB=E9=80=BB=E8=BE=91=E5=92=8C=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/types.ts | 2 +
src/components/slide/SlideViewTitle.vue | 22 ++---
src/pages/dashboard.vue | 125 ++++++++++++++++++++----
src/pages/recommend.vue | 97 +++++++-----------
src/styles/styles.scss | 1 +
5 files changed, 157 insertions(+), 90 deletions(-)
diff --git a/src/api/types.ts b/src/api/types.ts
index 5fd47819..bfd190f1 100644
--- a/src/api/types.ts
+++ b/src/api/types.ts
@@ -1265,6 +1265,8 @@ export interface RecommendSource {
name: string
// 媒体数据源API地址
api_path: string
+ // 类型
+ type: string
}
// 站点资源分类
diff --git a/src/components/slide/SlideViewTitle.vue b/src/components/slide/SlideViewTitle.vue
index d419c41c..025b8cb3 100644
--- a/src/components/slide/SlideViewTitle.vue
+++ b/src/components/slide/SlideViewTitle.vue
@@ -15,30 +15,30 @@ const props: any = inject('rankingPropsKey')
diff --git a/src/pages/dashboard.vue b/src/pages/dashboard.vue
index 55c0146c..83054163 100644
--- a/src/pages/dashboard.vue
+++ b/src/pages/dashboard.vue
@@ -343,29 +343,44 @@ onDeactivated(() => {
- 设置仪表板
+
+
+ 设置仪表板
+
-
- 选择您想在页面显示的内容
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
{{ item.attrs?.title ?? item.name }}
+
+
+
+
+
+
@@ -381,3 +396,79 @@ onDeactivated(() => {
+
diff --git a/src/pages/recommend.vue b/src/pages/recommend.vue
index 63f41b5c..5b10d655 100644
--- a/src/pages/recommend.vue
+++ b/src/pages/recommend.vue
@@ -1,103 +1,93 @@