HEL-342: 全站切换霜曜日间与黑金夜间主题
按定稿把运行时 token 换成霜曜/黑金双主题,登录与壳层接入官方 Logo 与主题记忆,不改业务接口与金额计算。 Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
co-authored by
Cursor
multica-agent
parent
2d0ae4d7d1
commit
b905cba52c
+48
-13
@@ -5,16 +5,26 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="description" content="金牛集团公司业务端" />
|
||||
<title>公司业务端 · 金牛集团</title>
|
||||
<link rel="stylesheet" href="design-system.css?v=7" />
|
||||
<script>
|
||||
(function () {
|
||||
try { if (localStorage.getItem("jinniu-theme") === "night") document.documentElement.setAttribute("data-theme", "night"); } catch (e) {}
|
||||
document.documentElement.classList.add("v-fusion");
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="design-system.css?v=11" />
|
||||
</head>
|
||||
<body data-portal="company">
|
||||
<body class="is-app" data-portal="company">
|
||||
<a class="skip-link" href="#main-content">跳到主要内容</a>
|
||||
<div class="shell">
|
||||
<aside class="sidebar" id="sidebar" aria-label="公司业务导航">
|
||||
<div class="side-brand">
|
||||
<div class="brand-name">金牛实业 · 资金往来</div>
|
||||
<div class="brand-sub">HENAN JINNIU INDUSTRIAL GROUP</div>
|
||||
<span class="side-role company">公司业务端</span>
|
||||
<img class="brand-logo brand-logo-day" src="assets/logo-day.png" width="38" height="38" alt="金牛实业" />
|
||||
<img class="brand-logo brand-logo-night" src="assets/logo-night.png" width="38" height="38" alt="" />
|
||||
<div class="brand-text">
|
||||
<div class="brand-name">金牛实业 · 资金往来</div>
|
||||
<div class="brand-sub">HENAN JINNIU INDUSTRIAL GROUP</div>
|
||||
<span class="side-role company">公司业务端</span>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="side-nav">
|
||||
<div class="nav-group">业务</div>
|
||||
@@ -28,14 +38,22 @@
|
||||
<a data-view="accounts" href="#accounts"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M3 10h18"/></svg><span class="nav-label">银行账户</span></a>
|
||||
<a data-view="notifications" href="#notifications"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7"><path d="M6 9a6 6 0 1 1 12 0c0 5 2 6 2 6H4s2-1 2-6"/><path d="M10 19a2 2 0 0 0 4 0"/></svg><span class="nav-label">通知</span><span class="nav-badge" id="notice-nav-badge" style="display: none;">0</span></a>
|
||||
</nav>
|
||||
<div class="side-foot">
|
||||
<div class="user-row">
|
||||
<span class="avatar">牛</span>
|
||||
<div>
|
||||
<div class="user-name">牛女士</div>
|
||||
<div class="user-meta">金牛煤业 · 煤业出纳</div>
|
||||
<div class="side-foot sidebar-account">
|
||||
<div class="theme-seg" role="group" aria-label="主题">
|
||||
<button type="button" data-theme-set="day" class="is-active" aria-pressed="true">日间</button>
|
||||
<button type="button" data-theme-set="night" aria-pressed="false">夜间</button>
|
||||
</div>
|
||||
<div class="account-box">
|
||||
<div class="user-row">
|
||||
<span class="avatar">牛</span>
|
||||
<div>
|
||||
<div class="user-name">牛女士</div>
|
||||
</div>
|
||||
<button class="logout icon-btn" type="button" aria-label="退出登录" title="退出登录">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M10 6H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4"/><path d="M15 16l4-4-4-4"/><path d="M10 12h9"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<button class="logout" type="button">退出</button>
|
||||
<div class="user-meta">金牛煤业 · 仅本公司数据</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
@@ -175,6 +193,22 @@
|
||||
<div class="ms-value" id="wsTfPending" style="color: var(--warn);">—</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="xfer-split" id="workspaceConfirmSplit" style="margin-top: 12px;">
|
||||
<div class="xfer-split-pane confirmed">
|
||||
<div class="xfer-split-head">
|
||||
<span class="pill pill-success">已确认</span>
|
||||
</div>
|
||||
<div class="xfer-split-value num" id="wsTfConfirmedSplit">—</div>
|
||||
<div class="xfer-split-note">计入上方合计与期间净变动</div>
|
||||
</div>
|
||||
<div class="xfer-split-pane pending">
|
||||
<div class="xfer-split-head">
|
||||
<span class="pill pill-warn">待确认</span>
|
||||
</div>
|
||||
<div class="xfer-split-value num" id="wsTfPendingSplit">—</div>
|
||||
<div class="xfer-split-note">单列展示,不计入已确认合计</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-ghost" data-view-link="transfers" style="width: 100%; margin-top: 12px;">查看转账往来明细 →</button>
|
||||
</div>
|
||||
|
||||
@@ -1009,6 +1043,7 @@
|
||||
</aside>
|
||||
|
||||
<div class="toast-region" id="toastRegion" aria-live="polite"></div>
|
||||
<script src="app.js?v=15"></script>
|
||||
<script src="theme.js?v=1"></script>
|
||||
<script src="app.js?v=16"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user