diff --git a/frontend/src/assets/styles/index.css b/frontend/src/assets/styles/index.css index 7091743..daad5d6 100644 --- a/frontend/src/assets/styles/index.css +++ b/frontend/src/assets/styles/index.css @@ -30,6 +30,9 @@ --ys-text: #1c2333; --ys-muted: #5b6577; + /* 品牌字:思源黑体(实施时自托管 4 字子集,内网可用) */ + --ys-font-brand: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; + /* * Element Plus 主色 = 靛蓝(白字对比约 7.5:1)。 * 色阶为按 Element Plus 公式「主色与白色混合」预先算好的静态值 —— diff --git a/frontend/src/components/layout/AppMenu.vue b/frontend/src/components/layout/AppMenu.vue index ac0f945..c850200 100644 --- a/frontend/src/components/layout/AppMenu.vue +++ b/frontend/src/components/layout/AppMenu.vue @@ -24,26 +24,42 @@ const { topLevelMenus, groupedMenus } = useAppMenu() diff --git a/frontend/src/components/layout/BasicLayout.vue b/frontend/src/components/layout/BasicLayout.vue index 9476f51..be56057 100644 --- a/frontend/src/components/layout/BasicLayout.vue +++ b/frontend/src/components/layout/BasicLayout.vue @@ -42,6 +42,7 @@ async function handleLogout(): Promise { 衍水集团 营销人员工资管理系统 + @@ -96,6 +97,7 @@ async function handleLogout(): Promise { 衍水集团 营销人员工资管理系统 + @@ -110,27 +112,39 @@ async function handleLogout(): Promise { .app-aside { display: flex; flex-direction: column; - background: linear-gradient(180deg, var(--ys-ink-900) 0%, var(--ys-ink-700) 100%); + /* 中性灰侧栏:比页面底沉一档,与纸白卡片拉开层次 */ + background: linear-gradient(180deg, #f2f4f8 0%, #ecedf3 100%); + border-right: 1px solid var(--ys-line); } .app-brand { display: flex; flex-direction: column; - gap: 2px; - padding: 18px 20px 14px; + gap: 3px; + padding: 18px 20px 12px; } .app-brand__name { - font-family: 'Songti SC', SimSun, serif; - font-size: 18px; - letter-spacing: 2px; - color: var(--ys-paper); + font-family: var(--ys-font-brand); + font-size: 16px; + font-weight: 500; + letter-spacing: 4px; + color: var(--ys-ink); } .app-brand__sub { - font-size: 12px; - letter-spacing: 1px; - color: rgb(250 250 247 / 55%); + font-size: 11px; + letter-spacing: 0.06em; + color: var(--ys-ink-3); +} + +/* 品牌签名:logo 下的渐隐水线(全站唯一装饰元素,页面标题处同款) */ +.app-brand__line { + width: 24px; + height: 2px; + border-radius: 1px; + margin-top: 8px; + background: linear-gradient(90deg, var(--ys-indigo), rgba(46, 75, 168, 0)); } .app-aside__menu { @@ -143,8 +157,8 @@ async function handleLogout(): Promise { align-items: center; justify-content: space-between; height: 56px; - background-color: #fff; - border-bottom: 1px solid #e5e7eb; + background: linear-gradient(180deg, #ffffff, #fdfdfe); + border-bottom: 1px solid var(--ys-line); } .app-header__left { @@ -173,7 +187,7 @@ async function handleLogout(): Promise { } .app-header__menu-toggle:focus-visible { - outline: 2px solid var(--ys-gold-deep); + outline: 2px solid var(--ys-indigo); outline-offset: 2px; } @@ -190,7 +204,10 @@ async function handleLogout(): Promise { .app-main { padding: 20px; - background-color: #f5f7fa; + /* 雾灰底 + 点阵网格:内容区的秩序与密度 */ + background-color: var(--ys-mist); + background-image: radial-gradient(rgba(28, 35, 51, 0.05) 1px, transparent 1px); + background-size: 24px 24px; } @media (max-width: 768px) { @@ -211,9 +228,9 @@ async function handleLogout(): Promise { diff --git a/frontend/src/views/dashboard/index.vue b/frontend/src/views/dashboard/index.vue index 835dbbd..07815ca 100644 --- a/frontend/src/views/dashboard/index.vue +++ b/frontend/src/views/dashboard/index.vue @@ -1,49 +1,350 @@ - - - 登录状态验证通过 - + + + 仪表盘 + 系统概览 · 计提参数与岗位配置就绪,业务数据管理上线后接入核算统计 + + - - {{ userStore.userInfo?.id }} - {{ userStore.userInfo?.username }} - - {{ userStore.userInfo?.real_name || '—' }} - - - {{ userStore.roles.join('、') || '—' }} - - - {{ formatDateTime(userStore.userInfo?.last_login_time) }} - - + + + + 本月绩效总额 + + 暂无核算数据 + 回款录入并核算后,这里将显示本月绩效总额与趋势 + + - - + + + 近 6 个月回款 + + 暂无回款数据 + 业务数据管理上线后,此处展示按月回款趋势 + + + + + + 待办 + 业务数据管理上线后,待核算回款会出现在这里 + + + + + 营销人员 + 人员管理上线后同步 + + + + + 岗位角色 + {{ roleCount ?? '—' }}个 + + 管理 › + + + + + + 计提参数 + {{ paramCount ?? '—' }}项 + + 维护 › + + + + + + 常用操作 + + + 计提参数 + + + 岗位角色 + + + 操作日志 + + 录入回款 + + + + + + T+ 同步 + 待接入 + 每周一次 · 手动触发 + + + diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 31e6e7b..244dc6a 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -77,53 +77,29 @@ onMounted(refreshCaptcha) - - - - - - - - - - - - - - - + + + + - - - - 衍水集团 - - 营销人员工资管理系统 - - - - 每一笔回款, - 都算得清楚 - - 回款 · 计提 · 核算 · 发放 + + + + 衍水集团 + 把每一笔回款,算成一份踏实。 + - - - - - - 登录 - 请使用管理员分配的账号 + + 欢迎回来 + 请输入账号密码进入系统 + @@ -173,175 +149,149 @@ onMounted(refreshCaptcha) - - 衍水集团 · 内部系统 - + + © 衍水集团 · 内部系统 +
系统概览 · 计提参数与岗位配置就绪,业务数据管理上线后接入核算统计
营销人员工资管理系统
- 每一笔回款, - 都算得清楚 -
回款 · 计提 · 核算 · 发放
把每一笔回款,算成一份踏实。
请使用管理员分配的账号
请输入账号密码进入系统
衍水集团 · 内部系统
© 衍水集团 · 内部系统