diff --git a/src/@core/components/ThemeSwitcher.vue b/src/@core/components/ThemeSwitcher.vue index 41694011..23fb57e0 100644 --- a/src/@core/components/ThemeSwitcher.vue +++ b/src/@core/components/ThemeSwitcher.vue @@ -234,8 +234,14 @@ onMounted(() => { - - + + + + + 自定义主题风格 + + + .title-wrapper { display: flex; - justify-content: space-between; align-items: center; - width: 100%; + justify-content: space-between; + inline-size: 100%; } .title-section { + position: relative; display: flex; align-items: center; - position: relative; } .title-badge { - width: 3px; - height: 16px; - background-color: rgb(var(--v-theme-primary)); - margin-right: 8px; border-radius: 2px; + background-color: rgb(var(--v-theme-primary)); + block-size: 16px; + inline-size: 3px; + margin-inline-end: 8px; } .title-text { - font-size: 1.1rem; - font-weight: 600; - color: rgba(var(--v-theme-on-background), 0.95); - margin: 0; padding: 0; + margin: 0; + color: rgba(var(--v-theme-on-background), 0.95); + font-size: 1.2rem; + font-weight: 600; } diff --git a/src/layouts/components/UserNotification.vue b/src/layouts/components/UserNotification.vue index a19965d7..8d176982 100644 --- a/src/layouts/components/UserNotification.vue +++ b/src/layouts/components/UserNotification.vue @@ -126,13 +126,11 @@ onBeforeUnmount(() => { &:hover { background-color: rgba(var(--v-theme-primary), 0.03); - box-shadow: 0 4px 8px rgba(var(--v-theme-on-surface), 0.06); transform: translateY(-2px); } .notification-avatar { background-color: rgba(var(--v-theme-primary), 0.1); - box-shadow: 0 4px 8px rgba(var(--v-theme-primary), 0.15); } .notification-title { 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 4b05615a..38d272ff 100644 --- a/src/pages/recommend.vue +++ b/src/pages/recommend.vue @@ -1,104 +1,94 @@