fix: 调整组件的内边距和边距以优化布局

This commit is contained in:
jxxghp
2025-04-09 15:59:00 +08:00
parent 561bdf4137
commit 7e70b1b7ab
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ const currentPath = computed(() => route.path)
<VList class="font-bold" lines="one" elevation="1">
<VListSubheader class="bg-transparent"> 更多 </VListSubheader>
<VListItem
class="pe-20"
class="pe-20 ps-5"
v-for="(menu, index) in moreMemus"
:key="index"
:prepend-icon="menu.icon"
+1 -1
View File
@@ -121,7 +121,7 @@ onMounted(() => {
</IconBtn>
</template>
<!-- Menu Content -->
<VCard elevation="1" class="shortcut-menu-card">
<VCard class="shortcut-menu-card">
<VCardItem class="shortcut-header border-b">
<VCardTitle class="font-weight-medium text-primary">捷径</VCardTitle>
<template #append>
+1 -1
View File
@@ -54,7 +54,7 @@ onBeforeUnmount(() => {
</IconBtn>
</template>
<!-- Menu Content -->
<VCard elevation="0">
<VCard>
<VCardItem class="notification-header">
<VCardTitle class="font-weight-medium text-primary">通知中心</VCardTitle>
<template #append>
+1 -1
View File
@@ -86,7 +86,7 @@ const userLevel = computed(() => userStore.level)
<VImg :src="avatar" />
<VMenu activator="parent" width="230" location="bottom end" offset="14px" class="user-menu">
<VList elevation="0" class="overflow-hidden">
<VList class="overflow-hidden">
<!-- 👉 User Avatar & Name -->
<div class="user-profile-header px-2 py-4 mb-2">
<div class="d-flex align-center">