20260723173317

This commit is contained in:
oneao committed 2026-07-23 17:33:18 +08:00
1 parent 59b3ccfb1c
commit 5f73b54802
33 files changed
+3064 -2108

No files matched your search

@@ -14,9 +14,7 @@ const openKeys = ref(["system"]);
const effectiveCollapsed = computed(() => appStore.sidebarCollapsed);
const menuItems = computed(() => {
const systemPages = [
{ key: "/system/metadata", label: "元数据配置", moduleCode: "m_metadata" },
{ key: "/system/i18n", label: "多语言管理", moduleCode: "m_i18n" },
{ key: "/system/authorization", label: "用户授权", moduleCode: "m_authorization" },
{ key: "/system/module-management", label: "模块管理", moduleCode: "m_metadata" },
].filter((item) => permissionStore.canModule(item.moduleCode));
const items = [{ key: "/dashboard", icon: menuIcon(House), label: "工作台" }];
if (systemPages.length)
@@ -175,7 +175,7 @@ function toggleMaximize() {
<ArrowLeft />
</button>
</a-tooltip>
<span class="tab-action__divider" />
<a-tooltip title="刷新当前页" placement="bottom">
<button
type="button"
@@ -186,7 +186,7 @@ function toggleMaximize() {
<RotateCw />
</button>
</a-tooltip>
<span class="tab-action__divider" />
<a-tooltip title="返回控制台" placement="bottom">
<button
type="button"
@@ -357,7 +357,7 @@ function toggleMaximize() {
.tab-nav-button {
display: grid;
flex: none;
width: 26px;
width: 28px;
height: 28px;
padding: 0;
place-items: center;
@@ -386,23 +386,21 @@ function toggleMaximize() {
.tab-actions {
display: flex;
flex: none;
height: 28px;
align-items: center;
border: 1px solid var(--fms-border);
border-radius: 6px;
background: var(--fms-surface);
overflow: hidden;
gap: 4px;
}
.tab-action {
display: grid;
width: 30px;
height: 100%;
flex: none;
width: 28px;
height: 28px;
padding: 0;
place-items: center;
border: 0;
background: transparent;
border-radius: 4px;
color: var(--fms-text-secondary);
background: var(--tabs-idle-bg);
cursor: pointer;
transition:
color 0.15s ease,
@@ -414,19 +412,8 @@ function toggleMaximize() {
}
.lucide {
width: 15px;
height: 15px;
width: 14px;
height: 14px;
}
}
.tab-action__divider {
flex: none;
width: 1px;
height: 16px;
background: var(--fms-border);
}
.tab-maximize {
margin-left: 2px;
}
</style>