fix(admin): 优化管理后台英文菜单多语言文案杜绝截断并修复各业务页面与API错误

这个提交包含在:
wikiboss
2026-09-21 13:47:14 +08:00
父节点 d250a151e2
当前提交 84385f4f8e
共有 48 个文件被更改,包括 890 次插入 和 409 次删除

查看文件

@@ -1,5 +1,25 @@
@import 'nprogress/nprogress.css';
:root {
--omni-color-primary: #0b5cff;
--omni-color-primary-soft: #eaf1ff;
--omni-color-ai: #7c5cff;
--omni-color-bg: #ffffff;
--omni-color-surface: #f7f8fa;
--omni-color-border: #e3e7ed;
--omni-color-text: #101828;
--omni-color-text-2: #667085;
--omni-color-success: #12b76a;
--omni-color-warning: #f79009;
--omni-color-error: #f04438;
--omni-radius-button: 12px;
--omni-radius-card: 16px;
--omni-radius-modal: 20px;
--omni-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
--omni-font-family: Inter, 'Noto Sans SC', 'Noto Sans Arabic', 'Noto Sans JP',
'Noto Sans KR', sans-serif;
}
html,
body {
width: 100%;
@@ -7,35 +27,19 @@ body {
margin: 0;
padding: 0;
font-size: 14px;
background-color: var(--color-bg-1);
line-height: 1.6;
font-family: var(--omni-font-family);
background-color: var(--omni-color-surface, var(--color-bg-1));
}
.chart-wrapper {
.bizcharts-tooltip {
background: linear-gradient(
304.17deg,
rgb(253 254 255 / 60%) -6.04%,
rgb(244 247 252 / 60%) 85.2%
) !important;
border-radius: 6px;
backdrop-filter: blur(10px);
background: var(--omni-color-bg) !important;
border: 1px solid var(--omni-color-border) !important;
border-radius: 12px;
box-shadow: var(--omni-shadow) !important;
padding: 8px !important;
width: 180px !important;
opacity: 1 !important;
}
}
body[arco-theme='dark'] {
.chart-wrapper {
.bizcharts-tooltip {
background: linear-gradient(
304.17deg,
rgba(90, 92, 95, 0.6) -6.04%,
rgba(87, 87, 87, 0.6) 85.2%
) !important;
backdrop-filter: blur(10px);
border-radius: 6px;
box-shadow: none !important;
}
}
}

查看文件

@@ -1,5 +1,4 @@
@nav-size-height: 60px;
@layout-max-width: 1100px;
.layout {
width: 100%;
@@ -9,7 +8,7 @@
.layout-navbar {
position: fixed;
width: 100%;
min-width: @layout-max-width;
min-width: 0;
top: 0;
left: 0;
height: @nav-size-height;
@@ -60,16 +59,15 @@
}
.collapse-btn {
height: 24px;
width: 24px;
height: 32px;
width: 32px;
background-color: var(--color-fill-1);
color: var(--color-text-3);
border-radius: 2px;
border-radius: 8px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
// 位置
position: absolute;
bottom: 12px;
right: 12px;
@@ -114,15 +112,17 @@
}
.layout-content {
background-color: var(--color-fill-2);
min-width: @layout-max-width;
background-color: var(--omni-color-surface, var(--color-fill-2));
min-width: 0;
min-height: 100vh;
transition: padding-left 0.2s;
box-sizing: border-box;
}
.layout-content-wrapper {
padding: 16px 20px 0;
padding: 24px 24px 32px;
width: 100%;
box-sizing: border-box;
}
.layout-breadcrumb {