Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 46304ab961 | |||
| d1260e8258 | |||
| 5b980ec58b |
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.0.23] - 2026-06-07
|
||||
|
||||
### 修复
|
||||
- 官网功能详情页(库存管理/审核流)导航栏现与主站完全一致,不再缺少「库存」「审核流」入口
|
||||
|
||||
### 改进
|
||||
- 官网功能详情页接入统一模板系统,导航/页脚/版权信息改一处自动同步全站
|
||||
|
||||
## [1.0.22] - 2026-06-07
|
||||
|
||||
### 新功能
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ module.exports = function(cfg) {
|
||||
|
||||
// scan.html 面向消费者,独立维护,直接复制不经模板
|
||||
cfg.addPassthroughCopy("scan.html");
|
||||
cfg.addPassthroughCopy("features");
|
||||
// features/ 已改为 .njk 模板,不再需要 passthrough
|
||||
|
||||
return {
|
||||
dir: {
|
||||
|
||||
@@ -0,0 +1,915 @@
|
||||
* { box-sizing: border-box; }
|
||||
html, body {
|
||||
margin: 0; padding: 0;
|
||||
font-family: var(--font-sans); color: var(--fg-default);
|
||||
background: var(--bg-surface);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-feature-settings: "tnum" 1;
|
||||
}
|
||||
img, svg { display: block; max-width: 100%; }
|
||||
a { color: inherit; text-decoration: none; }
|
||||
button { font-family: inherit; cursor: pointer; }
|
||||
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
height: 40px; padding: 0 18px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-md); font-weight: 500;
|
||||
border: 1px solid transparent;
|
||||
transition: background var(--duration-fast) var(--ease-standard);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.btn-primary { background: var(--brand-500); color: #fff; }
|
||||
.btn-primary:hover { background: var(--brand-600); }
|
||||
.btn-secondary { background: var(--gray-0); color: var(--brand-900); border-color: var(--border-default); }
|
||||
.btn-secondary:hover { background: var(--gray-50); border-color: var(--border-strong); }
|
||||
.btn-ghost { background: transparent; color: var(--fg-default); }
|
||||
.btn-ghost:hover { background: var(--gray-100); }
|
||||
.btn-lg { height: 48px; padding: 0 24px; font-size: var(--text-lg); }
|
||||
.btn .icon { width: 18px; height: 18px; }
|
||||
|
||||
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
|
||||
.section { padding: 96px 0; }
|
||||
.eyebrow {
|
||||
font-size: var(--text-xs); font-weight: 600;
|
||||
letter-spacing: 0.12em; text-transform: uppercase;
|
||||
color: var(--brand-500); margin: 0 0 12px;
|
||||
}
|
||||
|
||||
/* Top Nav */
|
||||
.topnav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
|
||||
.topnav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
|
||||
.topnav-brand { display: flex; align-items: center; gap: 10px; }
|
||||
.topnav-brand img { height: 32px; }
|
||||
.topnav-links { display: flex; align-items: center; gap: 4px; font-size: var(--text-md); color: var(--gray-700); }
|
||||
.topnav-links a { padding: 8px 14px; border-radius: var(--radius-md); transition: background var(--duration-fast) var(--ease-standard); }
|
||||
.topnav-links a:hover { background: var(--gray-100); color: var(--brand-900); }
|
||||
.topnav-links a.active { color: var(--brand-500); background: var(--brand-50); }
|
||||
.topnav-cta { display: flex; gap: 10px; align-items: center; }
|
||||
|
||||
/* Nav user dropdown */
|
||||
.nav-user { position: relative; }
|
||||
.nav-user-btn {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
height: 36px; padding: 0 12px 0 8px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid var(--border-default);
|
||||
background: var(--gray-0);
|
||||
font-size: var(--text-sm); color: var(--gray-800);
|
||||
cursor: pointer;
|
||||
transition: background var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
.nav-user-btn:hover { background: var(--gray-50); }
|
||||
.nav-avatar {
|
||||
width: 22px; height: 22px; border-radius: 50%;
|
||||
background: var(--brand-500); color: #fff;
|
||||
font-size: 11px; font-weight: 700;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.nav-user-btn .icon { width: 14px; height: 14px; color: var(--fg-muted); }
|
||||
.nav-dropdown {
|
||||
display: none; position: absolute; top: calc(100% + 8px); right: 0;
|
||||
min-width: 200px;
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 6px;
|
||||
z-index: 100;
|
||||
}
|
||||
.nav-dropdown.open { display: block; }
|
||||
.nav-dropdown-info {
|
||||
padding: 8px 10px 10px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.nav-dropdown-name { font-size: var(--text-sm); font-weight: 600; color: var(--brand-900); }
|
||||
.nav-dropdown-role { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }
|
||||
.nav-dropdown a, .nav-dropdown button {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
width: 100%; padding: 8px 10px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-sm); color: var(--gray-700);
|
||||
background: none; border: none; text-align: left; cursor: pointer;
|
||||
transition: background var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
.nav-dropdown a:hover, .nav-dropdown button:hover { background: var(--gray-50); color: var(--brand-900); }
|
||||
.nav-dropdown .icon { width: 15px; height: 15px; color: var(--fg-muted); }
|
||||
.nav-dropdown .logout { color: var(--danger-600); }
|
||||
.nav-dropdown .logout .icon { color: var(--danger-400); }
|
||||
|
||||
/* ====================================================================
|
||||
HERO
|
||||
==================================================================== */
|
||||
.feat-hero {
|
||||
position: relative; overflow: hidden;
|
||||
padding: 80px 0 72px;
|
||||
background:
|
||||
radial-gradient(900px 480px at 10% 30%, rgba(37, 99, 172, 0.06), transparent 60%),
|
||||
radial-gradient(900px 480px at 90% 90%, rgba(139, 35, 49, 0.04), transparent 60%),
|
||||
linear-gradient(180deg, #FBFCFD 0%, #FFFFFF 80%);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.feat-hero-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1.2fr;
|
||||
gap: 64px;
|
||||
align-items: center;
|
||||
}
|
||||
.feat-breadcrumb {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
font-size: var(--text-sm); color: var(--fg-muted);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.feat-breadcrumb a { color: var(--fg-muted); }
|
||||
.feat-breadcrumb a:hover { color: var(--brand-500); }
|
||||
.feat-breadcrumb .icon { width: 14px; height: 14px; color: var(--gray-300); }
|
||||
.feat-hero h1 {
|
||||
font-size: 48px; line-height: 1.15;
|
||||
letter-spacing: var(--tracking-cn-display);
|
||||
color: var(--brand-900); margin: 0 0 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.feat-hero h1 em {
|
||||
font-style: normal; color: var(--accent-500);
|
||||
}
|
||||
.feat-hero p.lead {
|
||||
font-size: var(--text-xl); line-height: 1.6;
|
||||
color: var(--gray-600); margin: 0 0 28px;
|
||||
}
|
||||
.feat-hero .actions { display: flex; gap: 12px; margin-bottom: 28px; }
|
||||
.feat-hero .quick-stats {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr);
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
padding-top: 20px;
|
||||
}
|
||||
.feat-hero .quick-stat-label { font-size: 11px; color: var(--fg-subtle); letter-spacing: 0.04em; }
|
||||
.feat-hero .quick-stat-val { font-size: var(--text-xl); font-weight: 600; color: var(--brand-900); font-variant-numeric: tabular-nums; margin-top: 4px; }
|
||||
|
||||
/* ====================================================================
|
||||
HERO STAMP / DOCUMENT VISUAL
|
||||
==================================================================== */
|
||||
.hero-doc-stack {
|
||||
position: relative;
|
||||
height: 520px;
|
||||
}
|
||||
.hero-doc {
|
||||
position: absolute;
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 24px;
|
||||
transform-origin: center;
|
||||
}
|
||||
.hero-doc-back-2 {
|
||||
top: 36px; left: 24px; right: 64px; bottom: 64px;
|
||||
transform: rotate(-2deg);
|
||||
opacity: 0.6;
|
||||
background: var(--gray-50);
|
||||
}
|
||||
.hero-doc-back-1 {
|
||||
top: 18px; left: 12px; right: 80px; bottom: 80px;
|
||||
transform: rotate(2deg);
|
||||
opacity: 0.85;
|
||||
background: var(--gray-25);
|
||||
}
|
||||
.hero-doc-main {
|
||||
top: 0; left: 60px; right: 0; bottom: 60px;
|
||||
box-shadow: var(--shadow-xl);
|
||||
}
|
||||
.hero-doc-head {
|
||||
display: flex; justify-content: space-between; align-items: flex-start;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.hero-doc-id {
|
||||
font-family: var(--font-mono); font-size: var(--text-md);
|
||||
color: var(--brand-500); font-weight: 600;
|
||||
}
|
||||
.hero-doc-meta { font-size: 11px; color: var(--fg-muted); margin-top: 4px; font-family: var(--font-mono); }
|
||||
.hero-doc-status {
|
||||
background: var(--success-50); color: var(--success-700);
|
||||
font-size: 12px; font-weight: 600;
|
||||
padding: 4px 12px; border-radius: var(--radius-pill);
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
}
|
||||
.hero-doc-status .icon { width: 14px; height: 14px; }
|
||||
|
||||
.hero-doc-row {
|
||||
display: grid; grid-template-columns: 1fr 60px 80px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px dashed var(--border-subtle);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--gray-700);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.hero-doc-row:last-of-type { border-bottom: 1px solid var(--border-default); }
|
||||
.hero-doc-foot {
|
||||
display: grid; grid-template-columns: 1fr 60px 80px;
|
||||
padding-top: 10px;
|
||||
font-weight: 600;
|
||||
color: var(--brand-900);
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
/* Stamp visual on hero */
|
||||
.hero-stamp {
|
||||
position: absolute;
|
||||
right: -10px; bottom: 20px;
|
||||
width: 130px; height: 130px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid var(--accent-500);
|
||||
background: rgba(139, 35, 49, 0.04);
|
||||
transform: rotate(-12deg);
|
||||
display: grid; place-items: center;
|
||||
z-index: 10;
|
||||
box-shadow: 0 6px 18px rgba(139, 35, 49, 0.15);
|
||||
}
|
||||
.hero-stamp::before {
|
||||
content: '';
|
||||
position: absolute; inset: 8px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--accent-500);
|
||||
}
|
||||
.hero-stamp svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
|
||||
.hero-stamp-core {
|
||||
font-family: var(--font-sans);
|
||||
color: var(--accent-500);
|
||||
text-align: center;
|
||||
font-weight: 700;
|
||||
z-index: 1;
|
||||
}
|
||||
.hero-stamp-core .big { font-size: 22px; letter-spacing: 0.06em; }
|
||||
.hero-stamp-core .sub { font-size: 9px; letter-spacing: 0.16em; margin-top: 2px; font-weight: 600; }
|
||||
.hero-stamp-core .date { font-family: var(--font-mono); font-size: 10px; margin-top: 4px; color: var(--accent-700); font-weight: 500; }
|
||||
|
||||
/* ====================================================================
|
||||
FEATURE BLOCKS — alternating
|
||||
==================================================================== */
|
||||
.feat-block {
|
||||
padding: 96px 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.feat-block:nth-child(even) { background: var(--gray-25); }
|
||||
.feat-block-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 5fr 7fr;
|
||||
gap: 64px;
|
||||
align-items: center;
|
||||
}
|
||||
.feat-block.reverse .feat-block-inner { grid-template-columns: 7fr 5fr; }
|
||||
.feat-block.reverse .feat-text { order: 2; }
|
||||
.feat-block.reverse .feat-visual { order: 1; }
|
||||
|
||||
.feat-tag {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
background: var(--brand-50);
|
||||
color: var(--brand-700);
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.feat-tag.danger { background: var(--danger-50); color: var(--danger-700); }
|
||||
.feat-tag.success { background: var(--success-50); color: var(--success-700); }
|
||||
.feat-tag .icon { width: 14px; height: 14px; }
|
||||
|
||||
.feat-text h2 {
|
||||
font-size: 36px; font-weight: 600;
|
||||
line-height: 1.18; letter-spacing: var(--tracking-cn-display);
|
||||
color: var(--brand-900); margin: 0 0 16px;
|
||||
}
|
||||
.feat-text p.lead {
|
||||
font-size: var(--text-lg); line-height: 1.7;
|
||||
color: var(--gray-600); margin: 0 0 24px;
|
||||
}
|
||||
.feat-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
|
||||
.feat-bullets li {
|
||||
display: grid; grid-template-columns: 22px 1fr;
|
||||
gap: 12px;
|
||||
font-size: var(--text-md); color: var(--gray-700);
|
||||
line-height: 1.6; align-items: start;
|
||||
}
|
||||
.feat-bullets li .icon { width: 18px; height: 18px; color: var(--brand-500); margin-top: 2px; }
|
||||
.feat-bullets li strong { color: var(--brand-900); font-weight: 600; display: block; margin-bottom: 2px; }
|
||||
|
||||
/* ====================================================================
|
||||
BLOCK 1: STATE MACHINE
|
||||
==================================================================== */
|
||||
.state-machine {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: 48px 36px 40px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.state-machine-tabs {
|
||||
position: absolute; top: 16px; left: 16px;
|
||||
display: flex; gap: 2px;
|
||||
background: var(--gray-50);
|
||||
padding: 3px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid var(--border-default);
|
||||
}
|
||||
.state-tab {
|
||||
padding: 4px 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: var(--fg-muted);
|
||||
border-radius: var(--radius-sm);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.state-tab.active {
|
||||
background: var(--brand-500); color: #fff;
|
||||
}
|
||||
.state-machine-meta {
|
||||
position: absolute; top: 24px; right: 20px;
|
||||
font-size: 11px; color: var(--fg-subtle);
|
||||
font-family: var(--font-mono); letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
/* Diagram */
|
||||
.sm-diagram {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 50px 1fr 50px 1fr;
|
||||
gap: 0;
|
||||
align-items: center;
|
||||
margin-top: 24px;
|
||||
}
|
||||
.sm-node {
|
||||
display: flex; flex-direction: column;
|
||||
align-items: center; gap: 8px;
|
||||
}
|
||||
.sm-bubble {
|
||||
padding: 12px 18px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: var(--text-md);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
border: 2px solid;
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
background: var(--gray-0);
|
||||
}
|
||||
.sm-bubble .icon { width: 14px; height: 14px; }
|
||||
.sm-node.draft .sm-bubble { border-color: var(--gray-300); color: var(--gray-700); background: var(--gray-50); }
|
||||
.sm-node.pending .sm-bubble { border-color: var(--info-500); color: var(--info-700); background: var(--info-50); }
|
||||
.sm-node.approved .sm-bubble {
|
||||
border-color: var(--success-500); color: var(--success-700);
|
||||
background: var(--success-50);
|
||||
box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.10);
|
||||
}
|
||||
.sm-node.rejected .sm-bubble { border-color: var(--danger-500); color: var(--danger-700); background: var(--danger-50); }
|
||||
.sm-node small { font-size: 11px; color: var(--fg-muted); font-family: var(--font-mono); }
|
||||
|
||||
.sm-arrow {
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
color: var(--gray-400);
|
||||
position: relative;
|
||||
}
|
||||
.sm-arrow svg { width: 36px; height: 14px; }
|
||||
.sm-arrow-label {
|
||||
position: absolute; top: -22px;
|
||||
font-size: 10px; color: var(--fg-subtle);
|
||||
font-family: var(--font-mono); letter-spacing: 0.04em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sm-fork {
|
||||
display: flex; flex-direction: column; gap: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.sm-fork::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -28px; top: 50%; transform: translateY(-50%);
|
||||
width: 1px; height: 60%;
|
||||
background: var(--gray-300);
|
||||
}
|
||||
|
||||
/* applies-to legend */
|
||||
.sm-applies {
|
||||
margin-top: 32px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px dashed var(--border-default);
|
||||
display: flex; gap: 10px; align-items: center;
|
||||
flex-wrap: wrap;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--fg-muted);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.sm-applies-pill {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
padding: 4px 10px;
|
||||
background: var(--gray-50);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 11px;
|
||||
color: var(--gray-700);
|
||||
font-weight: 500;
|
||||
}
|
||||
.sm-applies-pill .icon { width: 12px; height: 12px; color: var(--brand-500); }
|
||||
|
||||
/* ====================================================================
|
||||
BLOCK 2: AUTO-LINKING — Before/After
|
||||
==================================================================== */
|
||||
.linking-visual {
|
||||
display: flex; flex-direction: column; gap: 0;
|
||||
}
|
||||
.linking-doc {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: 20px 24px;
|
||||
position: relative;
|
||||
}
|
||||
.linking-doc-head {
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.linking-doc-id {
|
||||
font-family: var(--font-mono); font-size: var(--text-md);
|
||||
color: var(--brand-700); font-weight: 600;
|
||||
}
|
||||
.linking-doc-action {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
padding: 6px 14px;
|
||||
background: var(--success-500); color: #fff;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 12px; font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.linking-doc-action .icon { width: 14px; height: 14px; }
|
||||
|
||||
.linking-arrow {
|
||||
width: 100%;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
padding: 16px 0;
|
||||
position: relative;
|
||||
}
|
||||
.linking-arrow::before, .linking-arrow::after {
|
||||
content: ''; height: 1px; flex: 1;
|
||||
background: var(--gray-200);
|
||||
}
|
||||
.linking-arrow-label {
|
||||
margin: 0 14px;
|
||||
padding: 4px 14px;
|
||||
background: var(--success-50);
|
||||
color: var(--success-700);
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
}
|
||||
.linking-arrow-label .icon { width: 13px; height: 13px; }
|
||||
|
||||
.linking-effects {
|
||||
display: grid; grid-template-columns: 1fr 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
.linking-effect {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.linking-effect-label {
|
||||
font-size: 11px; color: var(--fg-muted);
|
||||
font-weight: 600; letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 12px;
|
||||
display: flex; align-items: center; gap: 6px;
|
||||
}
|
||||
.linking-effect-label .icon { width: 14px; height: 14px; color: var(--brand-500); }
|
||||
.linking-effect-num {
|
||||
font-size: 28px; font-weight: 700;
|
||||
color: var(--brand-900);
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
.linking-effect-from {
|
||||
font-size: 12px; color: var(--fg-subtle);
|
||||
font-family: var(--font-mono);
|
||||
margin-top: 4px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.linking-effect-from .delta { color: var(--success-700); font-weight: 600; }
|
||||
|
||||
/* ====================================================================
|
||||
BLOCK 3: STOCK VALIDATION — Error visual
|
||||
==================================================================== */
|
||||
.validation-card {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
overflow: hidden;
|
||||
}
|
||||
.validation-head {
|
||||
padding: 16px 20px;
|
||||
background: var(--gray-50);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
}
|
||||
.validation-title { font-size: var(--text-sm); font-weight: 600; color: var(--brand-900); }
|
||||
.validation-meta { font-size: 11px; color: var(--fg-muted); font-family: var(--font-mono); }
|
||||
|
||||
.validation-body { padding: 20px; }
|
||||
.validation-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 60px 60px 80px;
|
||||
gap: 12px;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
font-size: var(--text-sm);
|
||||
align-items: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.validation-row.head { font-size: 11px; color: var(--fg-muted); font-weight: 500; padding-top: 0; }
|
||||
.validation-row .qty-req { font-weight: 600; color: var(--gray-900); }
|
||||
.validation-row .qty-stock { color: var(--gray-700); }
|
||||
.validation-row .qty-shortage {
|
||||
background: var(--danger-50);
|
||||
color: var(--danger-700);
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
.validation-row.invalid .qty-req { color: var(--danger-700); }
|
||||
|
||||
.error-toast {
|
||||
margin: 16px 0 0;
|
||||
padding: 14px 16px;
|
||||
background: var(--danger-50);
|
||||
border: 1px solid #F8B4B4;
|
||||
border-left: 3px solid var(--danger-500);
|
||||
border-radius: var(--radius-md);
|
||||
display: grid; grid-template-columns: 22px 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
.error-toast .icon { width: 18px; height: 18px; color: var(--danger-700); margin-top: 1px; }
|
||||
.error-toast-title {
|
||||
font-size: var(--text-sm); font-weight: 600;
|
||||
color: var(--danger-700);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.error-toast-body { font-size: 12px; color: var(--gray-700); line-height: 1.55; }
|
||||
|
||||
.api-response {
|
||||
background: var(--gray-900);
|
||||
color: #DCE2EB;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
padding: 16px 18px;
|
||||
border-radius: var(--radius-md);
|
||||
margin-top: 16px;
|
||||
line-height: 1.7;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.api-response .key { color: #ADC9EA; }
|
||||
.api-response .str { color: #C97B86; }
|
||||
.api-response .num { color: #FFD9A6; }
|
||||
.api-response .bool { color: #C97B86; font-weight: 500; }
|
||||
|
||||
/* ====================================================================
|
||||
BLOCK 4: AUDIT LOG TIMELINE
|
||||
==================================================================== */
|
||||
.audit-timeline {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
overflow: hidden;
|
||||
}
|
||||
.audit-head {
|
||||
padding: 14px 18px;
|
||||
background: var(--gray-50);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
}
|
||||
.audit-doc-id { font-family: var(--font-mono); color: var(--brand-700); font-size: var(--text-sm); font-weight: 600; }
|
||||
.audit-doc-status {
|
||||
padding: 3px 10px; border-radius: var(--radius-pill);
|
||||
background: var(--success-50); color: var(--success-700);
|
||||
font-size: 11px; font-weight: 600;
|
||||
}
|
||||
|
||||
.audit-events { padding: 4px 18px 18px; }
|
||||
.audit-event {
|
||||
display: grid;
|
||||
grid-template-columns: 32px 1fr;
|
||||
gap: 14px;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
position: relative;
|
||||
}
|
||||
.audit-event:last-child { border-bottom: none; }
|
||||
|
||||
.audit-event-marker {
|
||||
width: 32px; height: 32px;
|
||||
border-radius: 50%;
|
||||
display: grid; place-items: center;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.audit-event-marker .icon { width: 16px; height: 16px; }
|
||||
.audit-event.create .audit-event-marker { background: var(--gray-100); color: var(--gray-700); }
|
||||
.audit-event.submit .audit-event-marker { background: var(--info-50); color: var(--info-700); border: 1px solid var(--info-500); }
|
||||
.audit-event.approve .audit-event-marker { background: var(--success-50); color: var(--success-700); border: 1px solid var(--success-500); }
|
||||
.audit-event.reject .audit-event-marker { background: var(--danger-50); color: var(--danger-700); border: 1px solid var(--danger-500); }
|
||||
.audit-event.settle .audit-event-marker { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-500); }
|
||||
|
||||
.audit-event::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 15px; top: 32px; bottom: -14px;
|
||||
width: 1px;
|
||||
background: var(--gray-200);
|
||||
}
|
||||
.audit-event:last-child::before { display: none; }
|
||||
|
||||
.audit-event-body { padding-top: 5px; }
|
||||
.audit-event-action {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 600;
|
||||
color: var(--brand-900);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.audit-event-meta {
|
||||
font-size: 12px; color: var(--fg-muted);
|
||||
display: flex; gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.audit-event-meta strong { color: var(--gray-800); font-weight: 500; }
|
||||
.audit-event-meta .time { font-family: var(--font-mono); font-size: 11px; }
|
||||
.audit-event-comment {
|
||||
margin-top: 6px;
|
||||
padding: 8px 12px;
|
||||
background: var(--gray-25);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 12px;
|
||||
color: var(--gray-700);
|
||||
line-height: 1.55;
|
||||
font-style: italic;
|
||||
border-left: 2px solid var(--gray-300);
|
||||
}
|
||||
|
||||
/* ====================================================================
|
||||
REVERSAL STYLES (unused, kept for possible future use)
|
||||
==================================================================== */
|
||||
.reversal-pair {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 60px 1fr;
|
||||
gap: 0;
|
||||
align-items: center;
|
||||
}
|
||||
.reversal-doc {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: 18px;
|
||||
position: relative;
|
||||
}
|
||||
.reversal-doc.original .reversal-stamp-mini { color: var(--success-500); border-color: var(--success-500); }
|
||||
.reversal-doc.reversal {
|
||||
background: linear-gradient(135deg, #FDFAFA 0%, #FFF 100%);
|
||||
border-color: #F1D2D7;
|
||||
}
|
||||
.reversal-stamp-mini {
|
||||
position: absolute;
|
||||
top: 14px; right: 14px;
|
||||
font-size: 10px;
|
||||
border: 1.5px solid var(--accent-500);
|
||||
color: var(--accent-500);
|
||||
padding: 2px 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
transform: rotate(-4deg);
|
||||
}
|
||||
.reversal-doc-id {
|
||||
font-family: var(--font-mono); font-size: 13px;
|
||||
color: var(--brand-700); font-weight: 600;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.reversal-doc-meta {
|
||||
font-size: 11px; color: var(--fg-muted);
|
||||
font-family: var(--font-mono);
|
||||
margin-bottom: 12px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.reversal-doc-row {
|
||||
display: grid; grid-template-columns: 1fr 60px;
|
||||
font-size: 12px;
|
||||
padding: 5px 0;
|
||||
color: var(--gray-700);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.reversal-doc.reversal .reversal-doc-row { color: var(--accent-700); }
|
||||
.reversal-doc-foot {
|
||||
margin-top: 12px; padding-top: 10px;
|
||||
border-top: 1px solid var(--border-default);
|
||||
font-size: var(--text-sm); font-weight: 700;
|
||||
color: var(--brand-900);
|
||||
display: grid; grid-template-columns: 1fr 70px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.reversal-doc.reversal .reversal-doc-foot { color: var(--accent-500); }
|
||||
.reversal-arrow {
|
||||
display: flex; flex-direction: column;
|
||||
align-items: center; gap: 6px;
|
||||
color: var(--accent-500);
|
||||
font-size: 10px;
|
||||
font-family: var(--font-mono);
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
.reversal-arrow svg { width: 24px; height: 24px; }
|
||||
.reversal-arrow-label {
|
||||
background: var(--accent-50);
|
||||
color: var(--accent-700);
|
||||
padding: 3px 10px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.reversal-net {
|
||||
margin-top: 24px;
|
||||
padding: 16px 20px;
|
||||
background: var(--brand-900);
|
||||
color: #fff;
|
||||
border-radius: var(--radius-md);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
.reversal-net-item { text-align: center; }
|
||||
.reversal-net-label {
|
||||
font-size: 11px; color: #ADC9EA;
|
||||
letter-spacing: 0.06em; margin-bottom: 4px;
|
||||
}
|
||||
.reversal-net-val {
|
||||
font-size: var(--text-xl); font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
/* ====================================================================
|
||||
BLOCK 6: PERMISSION MATRIX
|
||||
==================================================================== */
|
||||
.perm-matrix {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
.perm-row {
|
||||
display: grid;
|
||||
grid-template-columns: 200px repeat(4, 1fr);
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.perm-row.head {
|
||||
background: var(--brand-900); color: #fff;
|
||||
font-size: 12px; font-weight: 500;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.perm-row.head > div { padding: 14px 16px; }
|
||||
.perm-row.head > div:not(:first-child) { text-align: center; border-left: 1px solid rgba(255,255,255,0.08); }
|
||||
.perm-row:last-child { border-bottom: none; }
|
||||
.perm-role {
|
||||
padding: 16px 20px;
|
||||
background: var(--gray-25);
|
||||
font-weight: 600;
|
||||
color: var(--brand-900);
|
||||
}
|
||||
.perm-role small {
|
||||
display: block; font-weight: 400;
|
||||
color: var(--fg-muted);
|
||||
font-size: 11px;
|
||||
margin-top: 2px;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.perm-cell {
|
||||
padding: 16px;
|
||||
text-align: center;
|
||||
border-left: 1px solid var(--border-subtle);
|
||||
}
|
||||
.perm-cell .icon { width: 18px; height: 18px; display: inline-block; }
|
||||
.perm-cell.yes .icon { color: var(--success-500); }
|
||||
.perm-cell.no .icon { color: var(--gray-300); }
|
||||
.perm-cell.partial { color: var(--warning-500); font-size: 11px; font-weight: 500; }
|
||||
|
||||
/* ====================================================================
|
||||
USE CASES
|
||||
==================================================================== */
|
||||
.usecases-grid {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
|
||||
margin-top: 48px;
|
||||
}
|
||||
.usecase-card {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 28px;
|
||||
}
|
||||
.usecase-card .icon { width: 36px; height: 36px; color: var(--brand-500); margin-bottom: 16px; }
|
||||
.usecase-card h4 { margin: 0 0 8px; font-size: var(--text-lg); font-weight: 600; color: var(--brand-900); }
|
||||
.usecase-card p { margin: 0; font-size: var(--text-sm); color: var(--gray-700); line-height: 1.65; }
|
||||
.usecase-card .quote {
|
||||
margin-top: 14px;
|
||||
font-size: 12px;
|
||||
color: var(--fg-muted);
|
||||
font-style: italic;
|
||||
border-left: 2px solid var(--brand-300);
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
/* Final CTA */
|
||||
.cta-strip {
|
||||
background:
|
||||
radial-gradient(800px 360px at 20% 30%, rgba(139, 35, 49, 0.20), transparent 60%),
|
||||
linear-gradient(135deg, #0A1F3B 0%, #15407D 100%);
|
||||
color: #fff;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 56px 48px;
|
||||
display: grid;
|
||||
grid-template-columns: 1.4fr 1fr;
|
||||
gap: 32px;
|
||||
align-items: center;
|
||||
margin: 0 0 96px;
|
||||
}
|
||||
.cta-strip h2 { font-size: 32px; font-weight: 600; letter-spacing: var(--tracking-cn-display); color: #fff; margin: 0 0 12px; line-height: 1.25; }
|
||||
.cta-strip p { font-size: var(--text-md); color: #ADC9EA; margin: 0; line-height: 1.6; }
|
||||
.cta-strip-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
|
||||
.cta-strip .btn-primary { background: #fff; color: var(--brand-700); }
|
||||
.cta-strip .btn-primary:hover { background: #DCE2EB; }
|
||||
.cta-strip .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.30); }
|
||||
.cta-strip .btn-secondary:hover { background: rgba(255,255,255,0.10); }
|
||||
|
||||
/* Footer */
|
||||
footer { background: var(--gray-25); border-top: 1px solid var(--border-subtle); padding: 64px 0 32px; color: var(--fg-muted); font-size: var(--text-sm); }
|
||||
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
|
||||
.footer-brand img { height: 32px; margin-bottom: 16px; }
|
||||
.footer-brand p { margin: 0 0 16px; max-width: 320px; line-height: 1.6; color: var(--fg-muted); }
|
||||
.footer-contact { font-size: var(--text-sm); color: var(--gray-700); line-height: 1.8; }
|
||||
.footer-col h5 { font-size: var(--text-xs); font-weight: 600; color: var(--brand-900); letter-spacing: 0.06em; margin: 0 0 16px; text-transform: uppercase; }
|
||||
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
|
||||
.footer-col li a { color: var(--gray-600); }
|
||||
.footer-col li a:hover { color: var(--brand-500); }
|
||||
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 24px; display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--fg-subtle); }
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.feat-hero-inner, .feat-block-inner, .feat-block.reverse .feat-block-inner, .cta-strip, .linking-effects, .reversal-pair { grid-template-columns: 1fr; gap: 24px; }
|
||||
.feat-block.reverse .feat-text, .feat-block.reverse .feat-visual { order: initial; }
|
||||
.usecases-grid { grid-template-columns: 1fr 1fr; }
|
||||
.footer-grid { grid-template-columns: 1fr 1fr; }
|
||||
.feat-hero h1 { font-size: 36px; }
|
||||
.sm-diagram { grid-template-columns: 1fr; gap: 16px; }
|
||||
.sm-arrow { transform: rotate(90deg); }
|
||||
.perm-row { grid-template-columns: 130px repeat(4, 1fr); }
|
||||
.reversal-arrow { transform: rotate(90deg); padding: 16px 0; }
|
||||
}
|
||||
/* Hamburger */
|
||||
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer; border-radius: 8px; }
|
||||
.nav-hamburger span { display: block; height: 2px; width: 22px; background: var(--gray-700); border-radius: 2px; }
|
||||
.nav-mobile-menu { display: none; flex-direction: column; background: var(--gray-0); border-top: 1px solid var(--border-subtle); padding: 8px 0 16px; }
|
||||
.nav-mobile-menu.open { display: flex; }
|
||||
.nav-mobile-menu a { padding: 12px 24px; font-size: var(--text-md); color: var(--gray-700); font-weight: 500; }
|
||||
.nav-mobile-menu a:hover { background: var(--gray-50); color: var(--brand-900); }
|
||||
.nav-mobile-cta { display: flex; flex-direction: column; gap: 8px; padding: 12px 24px 0; border-top: 1px solid var(--border-subtle); margin-top: 8px; }
|
||||
@media (max-width: 768px) {
|
||||
.nav-hamburger { display: flex; }
|
||||
.topnav-links, .topnav-cta { display: none; }
|
||||
.feat-hero-inner { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.topnav-inner { padding: 0 16px; }
|
||||
.feat-hero h1 { font-size: 28px; }
|
||||
.footer-grid { grid-template-columns: 1fr; gap: 32px; }
|
||||
.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
|
||||
.usecases-grid { grid-template-columns: 1fr; }
|
||||
.perm-row { overflow-x: auto; }
|
||||
.container { padding: 0 16px; }
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,657 @@
|
||||
* { box-sizing: border-box; }
|
||||
html, body {
|
||||
margin: 0; padding: 0;
|
||||
font-family: var(--font-sans); color: var(--fg-default);
|
||||
background: var(--bg-surface);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-feature-settings: "tnum" 1;
|
||||
}
|
||||
img, svg { display: block; max-width: 100%; }
|
||||
a { color: inherit; text-decoration: none; }
|
||||
button { font-family: inherit; cursor: pointer; }
|
||||
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
height: 40px; padding: 0 18px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-md); font-weight: 500;
|
||||
border: 1px solid transparent;
|
||||
transition: background var(--duration-fast) var(--ease-standard);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.btn-primary { background: var(--brand-500); color: #fff; }
|
||||
.btn-primary:hover { background: var(--brand-600); }
|
||||
.btn-secondary { background: var(--gray-0); color: var(--brand-900); border-color: var(--border-default); }
|
||||
.btn-secondary:hover { background: var(--gray-50); border-color: var(--border-strong); }
|
||||
.btn-ghost { background: transparent; color: var(--fg-default); }
|
||||
.btn-ghost:hover { background: var(--gray-100); }
|
||||
.btn-lg { height: 48px; padding: 0 24px; font-size: var(--text-lg); }
|
||||
.btn .icon { width: 18px; height: 18px; }
|
||||
|
||||
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
|
||||
.section { padding: 96px 0; }
|
||||
.eyebrow {
|
||||
font-size: var(--text-xs); font-weight: 600;
|
||||
letter-spacing: 0.12em; text-transform: uppercase;
|
||||
color: var(--brand-500); margin: 0 0 12px;
|
||||
}
|
||||
|
||||
/* Top Nav */
|
||||
.topnav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
|
||||
.topnav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
|
||||
.topnav-brand { display: flex; align-items: center; gap: 10px; }
|
||||
.topnav-brand img { height: 32px; }
|
||||
.topnav-links { display: flex; align-items: center; gap: 4px; font-size: var(--text-md); color: var(--gray-700); }
|
||||
.topnav-links a { padding: 8px 14px; border-radius: var(--radius-md); transition: background var(--duration-fast) var(--ease-standard); }
|
||||
.topnav-links a:hover { background: var(--gray-100); color: var(--brand-900); }
|
||||
.topnav-links a.active { color: var(--brand-500); background: var(--brand-50); }
|
||||
.topnav-cta { display: flex; gap: 10px; align-items: center; }
|
||||
|
||||
/* Nav user dropdown */
|
||||
.nav-user { position: relative; }
|
||||
.nav-user-btn {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
height: 36px; padding: 0 12px 0 8px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid var(--border-default);
|
||||
background: var(--gray-0);
|
||||
font-size: var(--text-sm); color: var(--gray-800);
|
||||
cursor: pointer;
|
||||
transition: background var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
.nav-user-btn:hover { background: var(--gray-50); }
|
||||
.nav-avatar {
|
||||
width: 22px; height: 22px; border-radius: 50%;
|
||||
background: var(--brand-500); color: #fff;
|
||||
font-size: 11px; font-weight: 700;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.nav-user-btn .icon { width: 14px; height: 14px; color: var(--fg-muted); }
|
||||
.nav-dropdown {
|
||||
display: none; position: absolute; top: calc(100% + 8px); right: 0;
|
||||
min-width: 200px;
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 6px;
|
||||
z-index: 100;
|
||||
}
|
||||
.nav-dropdown.open { display: block; }
|
||||
.nav-dropdown-info {
|
||||
padding: 8px 10px 10px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.nav-dropdown-name { font-size: var(--text-sm); font-weight: 600; color: var(--brand-900); }
|
||||
.nav-dropdown-role { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }
|
||||
.nav-dropdown a, .nav-dropdown button {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
width: 100%; padding: 8px 10px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-sm); color: var(--gray-700);
|
||||
background: none; border: none; text-align: left; cursor: pointer;
|
||||
transition: background var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
.nav-dropdown a:hover, .nav-dropdown button:hover { background: var(--gray-50); color: var(--brand-900); }
|
||||
.nav-dropdown .icon { width: 15px; height: 15px; color: var(--fg-muted); }
|
||||
.nav-dropdown .logout { color: var(--danger-600); }
|
||||
.nav-dropdown .logout .icon { color: var(--danger-400); }
|
||||
|
||||
/* ====================================================================
|
||||
HERO
|
||||
==================================================================== */
|
||||
.feat-hero {
|
||||
position: relative; overflow: hidden;
|
||||
padding: 80px 0 72px;
|
||||
background:
|
||||
radial-gradient(1000px 480px at 88% 8%, rgba(37, 99, 172, 0.08), transparent 60%),
|
||||
linear-gradient(180deg, #FBFCFD 0%, #FFFFFF 80%);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.feat-hero-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1.15fr;
|
||||
gap: 56px;
|
||||
align-items: center;
|
||||
}
|
||||
.feat-breadcrumb {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
font-size: var(--text-sm); color: var(--fg-muted);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.feat-breadcrumb a { color: var(--fg-muted); }
|
||||
.feat-breadcrumb a:hover { color: var(--brand-500); }
|
||||
.feat-breadcrumb .icon { width: 14px; height: 14px; color: var(--gray-300); }
|
||||
.feat-hero h1 {
|
||||
font-size: 48px; line-height: 1.15;
|
||||
letter-spacing: var(--tracking-cn-display);
|
||||
color: var(--brand-900); margin: 0 0 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.feat-hero p.lead {
|
||||
font-size: var(--text-xl); line-height: 1.6;
|
||||
color: var(--gray-600); margin: 0 0 28px;
|
||||
}
|
||||
.feat-hero .actions { display: flex; gap: 12px; margin-bottom: 28px; }
|
||||
.feat-hero .quick-stats {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0; border-top: 1px solid var(--border-subtle);
|
||||
padding-top: 20px;
|
||||
}
|
||||
.feat-hero .quick-stat-label { font-size: 11px; color: var(--fg-subtle); letter-spacing: 0.04em; }
|
||||
.feat-hero .quick-stat-val { font-size: var(--text-xl); font-weight: 600; color: var(--brand-900); font-variant-numeric: tabular-nums; margin-top: 4px; }
|
||||
|
||||
/* Hero composite: stacked cards */
|
||||
.composite { position: relative; height: 540px; }
|
||||
.composite-card {
|
||||
position: absolute;
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
overflow: hidden;
|
||||
}
|
||||
.composite-main { top: 0; left: 0; right: 60px; bottom: 60px; box-shadow: var(--shadow-xl); }
|
||||
.composite-secondary { right: 0; top: 70px; width: 240px; padding: 16px; box-shadow: var(--shadow-lg); }
|
||||
.composite-tertiary { left: 80px; bottom: 0; right: 0; padding: 14px; box-shadow: var(--shadow-md); }
|
||||
|
||||
.mc-head {
|
||||
padding: 12px 16px;
|
||||
background: var(--gray-50);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
}
|
||||
.mc-title { font-size: 13px; font-weight: 600; color: var(--brand-900); }
|
||||
.mc-tabs { display: flex; gap: 4px; }
|
||||
.mc-tab { padding: 3px 10px; font-size: 11px; color: var(--fg-muted); border-radius: var(--radius-sm); }
|
||||
.mc-tab.active { background: var(--gray-0); color: var(--brand-700); border: 1px solid var(--brand-200); }
|
||||
|
||||
.mc-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 16px; gap: 10px; border-bottom: 1px solid var(--border-subtle); background: var(--gray-25); }
|
||||
.mc-stat-label { font-size: 10px; color: var(--fg-subtle); margin-bottom: 2px; }
|
||||
.mc-stat-val { font-size: 16px; font-weight: 600; color: var(--brand-900); font-variant-numeric: tabular-nums; }
|
||||
.mc-stat-val .delta { font-size: 10px; color: var(--success-500); margin-left: 4px; font-weight: 500; }
|
||||
|
||||
.mc-table { font-size: 11px; }
|
||||
.mc-thead, .mc-trow {
|
||||
display: grid;
|
||||
grid-template-columns: 88px 1fr 50px 60px 60px 70px;
|
||||
padding: 8px 16px;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.mc-thead { background: var(--gray-50); font-size: 10px; font-weight: 500; color: var(--fg-muted); border-bottom: 1px solid var(--border-subtle); }
|
||||
.mc-trow { border-bottom: 1px solid var(--border-subtle); color: var(--gray-800); }
|
||||
.mc-trow:last-child { border-bottom: none; }
|
||||
.mc-trow .sku { font-family: var(--font-mono); color: var(--brand-500); font-size: 10px; }
|
||||
.mc-pill { display: inline-block; padding: 1px 7px; border-radius: var(--radius-pill); font-size: 9px; font-weight: 500; }
|
||||
.mc-pill.ok { background: var(--success-50); color: var(--success-700); }
|
||||
.mc-pill.warn { background: var(--warning-50); color: var(--warning-700); }
|
||||
.mc-pill.low { background: var(--danger-50); color: var(--danger-700); }
|
||||
|
||||
/* Alert card secondary */
|
||||
.alert-card-title { font-size: 11px; color: var(--fg-muted); margin-bottom: 8px; letter-spacing: 0.04em; }
|
||||
.alert-row {
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
padding: 8px 10px;
|
||||
background: var(--warning-50);
|
||||
border-left: 2px solid var(--warning-500);
|
||||
border-radius: 3px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.alert-row.danger { background: var(--danger-50); border-color: var(--danger-500); }
|
||||
.alert-row .name { color: var(--gray-900); font-weight: 500; flex: 1; }
|
||||
.alert-row .qty { color: var(--gray-700); font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 11px; }
|
||||
|
||||
/* Batch card (tertiary) */
|
||||
.batch-title { font-size: 11px; color: var(--fg-muted); margin-bottom: 6px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 6px; }
|
||||
.batch-title .icon { width: 12px; height: 12px; color: var(--brand-500); }
|
||||
.batch-row {
|
||||
display: grid;
|
||||
grid-template-columns: 90px 1fr 60px 50px;
|
||||
font-size: 11px;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px dashed var(--border-subtle);
|
||||
align-items: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.batch-row:last-child { border-bottom: none; }
|
||||
.batch-row .lot { font-family: var(--font-mono); color: var(--brand-600); font-size: 10px; }
|
||||
.batch-row .meta { color: var(--fg-muted); font-size: 10px; }
|
||||
|
||||
/* ====================================================================
|
||||
FEATURE BLOCKS
|
||||
==================================================================== */
|
||||
.feat-block {
|
||||
padding: 96px 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.feat-block:nth-child(even) { background: var(--gray-25); }
|
||||
.feat-block-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 5fr 7fr;
|
||||
gap: 64px;
|
||||
align-items: center;
|
||||
}
|
||||
.feat-block.reverse .feat-block-inner { grid-template-columns: 7fr 5fr; }
|
||||
.feat-block.reverse .feat-text { order: 2; }
|
||||
.feat-block.reverse .feat-visual { order: 1; }
|
||||
|
||||
.feat-tag {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
background: var(--brand-50);
|
||||
color: var(--brand-700);
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.feat-tag .icon { width: 14px; height: 14px; }
|
||||
|
||||
.feat-text h2 {
|
||||
font-size: 36px;
|
||||
font-weight: 600;
|
||||
line-height: 1.18;
|
||||
letter-spacing: var(--tracking-cn-display);
|
||||
color: var(--brand-900);
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
.feat-text p.lead {
|
||||
font-size: var(--text-lg);
|
||||
line-height: 1.7;
|
||||
color: var(--gray-600);
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
.feat-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
|
||||
.feat-bullets li {
|
||||
display: grid;
|
||||
grid-template-columns: 22px 1fr;
|
||||
gap: 12px;
|
||||
font-size: var(--text-md);
|
||||
color: var(--gray-700);
|
||||
line-height: 1.6;
|
||||
align-items: start;
|
||||
}
|
||||
.feat-bullets li .icon { width: 18px; height: 18px; color: var(--brand-500); margin-top: 2px; }
|
||||
.feat-bullets li strong { color: var(--brand-900); font-weight: 600; display: block; margin-bottom: 2px; }
|
||||
|
||||
/* Visual primitives */
|
||||
.visual-card {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
overflow: hidden;
|
||||
}
|
||||
.visual-card-head {
|
||||
padding: 14px 18px;
|
||||
background: var(--gray-50);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
}
|
||||
.visual-card-title { font-size: var(--text-sm); font-weight: 600; color: var(--brand-900); }
|
||||
.visual-card-meta { font-size: 11px; color: var(--fg-muted); }
|
||||
|
||||
/* Inventory table visual */
|
||||
.inv-table { font-size: var(--text-sm); }
|
||||
.inv-table-row {
|
||||
display: grid;
|
||||
grid-template-columns: 110px 1fr 70px 80px 80px 110px;
|
||||
padding: 12px 18px;
|
||||
gap: 12px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
align-items: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.inv-table-row.head {
|
||||
background: var(--gray-50);
|
||||
font-size: 11px; font-weight: 500;
|
||||
color: var(--fg-muted);
|
||||
letter-spacing: 0.02em;
|
||||
padding: 10px 18px;
|
||||
}
|
||||
.inv-table-row:last-child { border-bottom: none; }
|
||||
.inv-table-row:hover:not(.head) { background: var(--gray-25); }
|
||||
.inv-table-row .sku { font-family: var(--font-mono); color: var(--brand-500); font-size: 12px; }
|
||||
.inv-table-row .name { color: var(--gray-900); font-weight: 500; }
|
||||
.inv-table-row .name small { display: block; color: var(--fg-muted); font-weight: 400; font-size: 11px; margin-top: 1px; }
|
||||
|
||||
/* Batch tracking visual — journey */
|
||||
.batch-journey {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: 28px;
|
||||
}
|
||||
.batch-journey-head {
|
||||
display: flex; justify-content: space-between; align-items: flex-start;
|
||||
margin-bottom: 24px;
|
||||
padding-bottom: 18px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.bj-meta-main { font-size: var(--text-sm); }
|
||||
.bj-lot { font-family: var(--font-mono); font-size: var(--text-xl); font-weight: 600; color: var(--brand-700); margin-bottom: 4px; }
|
||||
.bj-product { font-size: var(--text-md); color: var(--gray-900); font-weight: 500; }
|
||||
.bj-product small { color: var(--fg-muted); font-weight: 400; margin-left: 8px; }
|
||||
.bj-totals { text-align: right; }
|
||||
.bj-total-row { font-size: var(--text-xs); color: var(--fg-muted); display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 4px; }
|
||||
.bj-total-row strong { color: var(--gray-900); font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||
|
||||
.bj-progress {
|
||||
background: var(--gray-100);
|
||||
height: 8px;
|
||||
border-radius: var(--radius-pill);
|
||||
margin-bottom: 24px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.bj-progress-bar {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
|
||||
width: 67%;
|
||||
border-radius: var(--radius-pill);
|
||||
}
|
||||
.bj-progress-labels { display: flex; justify-content: space-between; margin-top: -16px; }
|
||||
.bj-progress-labels span { font-size: 11px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
|
||||
|
||||
.bj-timeline { display: flex; flex-direction: column; gap: 0; }
|
||||
.bj-event {
|
||||
display: grid;
|
||||
grid-template-columns: 16px 110px 1fr 80px 90px;
|
||||
gap: 16px;
|
||||
padding: 12px 0;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
position: relative;
|
||||
}
|
||||
.bj-event:last-child { border-bottom: none; }
|
||||
.bj-event-dot {
|
||||
width: 10px; height: 10px;
|
||||
border-radius: 50%;
|
||||
background: var(--gray-300);
|
||||
margin: 0 auto;
|
||||
}
|
||||
.bj-event.stockin .bj-event-dot { background: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-50); }
|
||||
.bj-event.stockout .bj-event-dot { background: var(--accent-500); }
|
||||
.bj-event.adjust .bj-event-dot { background: var(--warning-500); }
|
||||
.bj-event-date { font-size: 11px; color: var(--fg-muted); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
|
||||
.bj-event-desc { font-size: var(--text-sm); color: var(--gray-800); }
|
||||
.bj-event-desc small { display: block; color: var(--fg-muted); font-size: 11px; margin-top: 2px; }
|
||||
.bj-event-qty { font-size: var(--text-md); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
|
||||
.bj-event.stockin .bj-event-qty { color: var(--success-700); }
|
||||
.bj-event.stockout .bj-event-qty { color: var(--accent-500); }
|
||||
.bj-event-doc { font-size: 11px; color: var(--brand-500); font-family: var(--font-mono); text-align: right; }
|
||||
|
||||
/* Stocktake comparison */
|
||||
.stocktake-table {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
.st-summary {
|
||||
display: grid; grid-template-columns: repeat(4, 1fr);
|
||||
padding: 18px 20px;
|
||||
background: var(--brand-900);
|
||||
color: #fff;
|
||||
gap: 16px;
|
||||
}
|
||||
.st-summary-item .label { font-size: 11px; color: #ADC9EA; margin-bottom: 4px; letter-spacing: 0.04em; }
|
||||
.st-summary-item .val { font-size: var(--text-xl); font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||
.st-summary-item .val.neg { color: var(--danger-500); }
|
||||
|
||||
.st-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 70px 70px 80px 90px;
|
||||
padding: 12px 20px;
|
||||
gap: 12px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
font-size: var(--text-sm);
|
||||
align-items: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.st-row:last-child { border-bottom: none; }
|
||||
.st-row.head { background: var(--gray-50); font-size: 11px; color: var(--fg-muted); font-weight: 500; }
|
||||
.st-row.head > div { text-align: right; }
|
||||
.st-row.head > div:first-child { text-align: left; }
|
||||
.st-row .diff-pill {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.st-row .diff-pill.zero { background: var(--gray-100); color: var(--gray-700); }
|
||||
.st-row .diff-pill.neg { background: var(--danger-50); color: var(--danger-700); }
|
||||
.st-row .diff-pill.pos { background: var(--success-50); color: var(--success-700); }
|
||||
.st-row > div:not(:first-child) { text-align: right; }
|
||||
|
||||
/* Log timeline */
|
||||
.log-card {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
overflow: hidden;
|
||||
}
|
||||
.log-toolbar {
|
||||
display: flex; gap: 8px; padding: 12px 18px;
|
||||
background: var(--gray-50);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
align-items: center;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--fg-muted);
|
||||
}
|
||||
.log-filter-pill {
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 3px 10px;
|
||||
font-size: 11px;
|
||||
color: var(--gray-700);
|
||||
}
|
||||
.log-filter-pill.active { background: var(--brand-50); border-color: var(--brand-300); color: var(--brand-700); }
|
||||
.log-filter-pill .icon { width: 12px; height: 12px; }
|
||||
.log-row {
|
||||
display: grid;
|
||||
grid-template-columns: 100px 60px 1fr 60px 80px;
|
||||
padding: 12px 18px;
|
||||
gap: 14px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
font-size: var(--text-sm);
|
||||
align-items: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.log-row:last-child { border-bottom: none; }
|
||||
.log-time { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
|
||||
.log-type-pill {
|
||||
display: inline-block;
|
||||
padding: 1px 8px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.log-type-pill.in { background: var(--success-50); color: var(--success-700); }
|
||||
.log-type-pill.out { background: var(--accent-50); color: var(--accent-700); }
|
||||
.log-type-pill.check { background: var(--info-50); color: var(--info-700); }
|
||||
.log-desc { color: var(--gray-800); font-size: 13px; }
|
||||
.log-desc small { color: var(--fg-muted); display: block; font-size: 11px; margin-top: 1px; }
|
||||
.log-qty { text-align: right; font-weight: 600; }
|
||||
.log-qty.in { color: var(--success-700); }
|
||||
.log-qty.out { color: var(--accent-500); }
|
||||
.log-op { text-align: right; font-size: 12px; color: var(--gray-700); }
|
||||
|
||||
/* Alert config */
|
||||
.alert-config-card {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: 24px;
|
||||
}
|
||||
.alert-config-card h4 {
|
||||
margin: 0 0 4px;
|
||||
font-size: var(--text-md);
|
||||
font-weight: 600;
|
||||
color: var(--brand-900);
|
||||
}
|
||||
.alert-config-card p.sub { margin: 0 0 20px; font-size: var(--text-sm); color: var(--fg-muted); }
|
||||
|
||||
.threshold-bar {
|
||||
position: relative;
|
||||
height: 56px;
|
||||
margin: 28px 0 12px;
|
||||
}
|
||||
.threshold-track {
|
||||
position: absolute; top: 24px; left: 0; right: 0;
|
||||
height: 8px;
|
||||
background: linear-gradient(90deg, var(--danger-100, #FBC9C9) 0%, var(--danger-100, #FBC9C9) 18%, var(--warning-50) 18%, var(--warning-50) 42%, var(--success-50) 42%, var(--success-50) 100%);
|
||||
border-radius: var(--radius-pill);
|
||||
}
|
||||
.threshold-marker {
|
||||
position: absolute; top: 18px;
|
||||
width: 20px; height: 20px;
|
||||
border-radius: 50%;
|
||||
background: var(--gray-0);
|
||||
border: 3px solid var(--brand-500);
|
||||
transform: translateX(-50%);
|
||||
box-shadow: 0 2px 6px rgba(20,24,33,0.10);
|
||||
}
|
||||
.threshold-tick {
|
||||
position: absolute;
|
||||
top: 38px;
|
||||
transform: translateX(-50%);
|
||||
font-size: 10px;
|
||||
color: var(--fg-muted);
|
||||
font-family: var(--font-mono);
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.threshold-label {
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
transform: translateX(-50%);
|
||||
font-size: 10px;
|
||||
color: var(--fg-muted);
|
||||
letter-spacing: 0.04em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.alert-rules { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
|
||||
.alert-rule {
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
padding: 10px 14px;
|
||||
background: var(--gray-25);
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 13px;
|
||||
color: var(--gray-700);
|
||||
}
|
||||
.alert-rule strong { color: var(--brand-900); font-weight: 600; }
|
||||
.alert-rule .switch {
|
||||
width: 32px; height: 18px;
|
||||
background: var(--brand-500);
|
||||
border-radius: var(--radius-pill);
|
||||
position: relative;
|
||||
}
|
||||
.alert-rule .switch::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px; right: 2px;
|
||||
width: 14px; height: 14px;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.alert-rule .switch.off { background: var(--gray-300); }
|
||||
.alert-rule .switch.off::after { right: auto; left: 2px; }
|
||||
|
||||
/* Use cases */
|
||||
.usecases-grid {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
|
||||
margin-top: 48px;
|
||||
}
|
||||
.usecase-card {
|
||||
background: var(--gray-0);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 28px;
|
||||
}
|
||||
.usecase-card .icon {
|
||||
width: 36px; height: 36px; color: var(--brand-500); margin-bottom: 16px;
|
||||
}
|
||||
.usecase-card h4 { margin: 0 0 8px; font-size: var(--text-lg); font-weight: 600; color: var(--brand-900); }
|
||||
.usecase-card p { margin: 0; font-size: var(--text-sm); color: var(--gray-700); line-height: 1.65; }
|
||||
|
||||
/* Final CTA */
|
||||
.cta-strip {
|
||||
background: linear-gradient(135deg, #0A1F3B 0%, #15407D 100%);
|
||||
color: #fff;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 56px 48px;
|
||||
display: grid;
|
||||
grid-template-columns: 1.4fr 1fr;
|
||||
gap: 32px;
|
||||
align-items: center;
|
||||
margin: 0 0 96px;
|
||||
}
|
||||
.cta-strip h2 {
|
||||
font-size: 32px; font-weight: 600;
|
||||
letter-spacing: var(--tracking-cn-display);
|
||||
color: #fff; margin: 0 0 12px; line-height: 1.25;
|
||||
}
|
||||
.cta-strip p { font-size: var(--text-md); color: #ADC9EA; margin: 0; line-height: 1.6; }
|
||||
.cta-strip-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
|
||||
.cta-strip .btn-primary { background: #fff; color: var(--brand-700); }
|
||||
.cta-strip .btn-primary:hover { background: #DCE2EB; }
|
||||
.cta-strip .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.30); }
|
||||
.cta-strip .btn-secondary:hover { background: rgba(255,255,255,0.10); }
|
||||
|
||||
/* Footer */
|
||||
footer { background: var(--gray-25); border-top: 1px solid var(--border-subtle); padding: 64px 0 32px; color: var(--fg-muted); font-size: var(--text-sm); }
|
||||
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
|
||||
.footer-brand img { height: 32px; margin-bottom: 16px; }
|
||||
.footer-brand p { margin: 0 0 16px; max-width: 320px; line-height: 1.6; color: var(--fg-muted); }
|
||||
.footer-contact { font-size: var(--text-sm); color: var(--gray-700); line-height: 1.8; }
|
||||
.footer-col h5 { font-size: var(--text-xs); font-weight: 600; color: var(--brand-900); letter-spacing: 0.06em; margin: 0 0 16px; text-transform: uppercase; }
|
||||
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
|
||||
.footer-col li a { color: var(--gray-600); }
|
||||
.footer-col li a:hover { color: var(--brand-500); }
|
||||
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 24px; display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--fg-subtle); }
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.feat-hero-inner, .feat-block-inner, .feat-block.reverse .feat-block-inner, .cta-strip { grid-template-columns: 1fr; gap: 32px; }
|
||||
.feat-block.reverse .feat-text, .feat-block.reverse .feat-visual { order: initial; }
|
||||
.usecases-grid { grid-template-columns: 1fr 1fr; }
|
||||
.footer-grid { grid-template-columns: 1fr 1fr; }
|
||||
.feat-hero h1 { font-size: 36px; }
|
||||
.composite { height: 480px; }
|
||||
}
|
||||
/* Hamburger */
|
||||
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer; border-radius: 8px; }
|
||||
.nav-hamburger span { display: block; height: 2px; width: 22px; background: var(--gray-700); border-radius: 2px; }
|
||||
.nav-mobile-menu { display: none; flex-direction: column; background: var(--gray-0); border-top: 1px solid var(--border-subtle); padding: 8px 0 16px; }
|
||||
.nav-mobile-menu.open { display: flex; }
|
||||
.nav-mobile-menu a { padding: 12px 24px; font-size: var(--text-md); color: var(--gray-700); font-weight: 500; }
|
||||
.nav-mobile-menu a:hover { background: var(--gray-50); color: var(--brand-900); }
|
||||
.nav-mobile-cta { display: flex; flex-direction: column; gap: 8px; padding: 12px 24px 0; border-top: 1px solid var(--border-subtle); margin-top: 8px; }
|
||||
@media (max-width: 768px) {
|
||||
.nav-hamburger { display: flex; }
|
||||
.topnav-links, .topnav-cta { display: none; }
|
||||
.composite { display: none; }
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.topnav-inner { padding: 0 16px; }
|
||||
.feat-hero h1 { font-size: 28px; }
|
||||
.footer-grid { grid-template-columns: 1fr; gap: 32px; }
|
||||
.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
|
||||
.usecases-grid { grid-template-columns: 1fr; }
|
||||
.container { padding: 0 16px; }
|
||||
}
|
||||
</style>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,615 @@
|
||||
---
|
||||
layout: base.njk
|
||||
title: 审核驱动业务流
|
||||
description: 岩美酒库管理系统审核流功能:入库/出库/盘点单据全程审核,状态机驱动,多角色权限控制。
|
||||
permalink: /features/approval.html
|
||||
pageExtraCss: /assets/features-approval.css
|
||||
---
|
||||
|
||||
<!-- ============== HERO ============== -->
|
||||
<section class="feat-hero">
|
||||
<div class="container feat-hero-inner">
|
||||
<div>
|
||||
<div class="feat-breadcrumb">
|
||||
<a href="/">首页</a>
|
||||
<i data-lucide="chevron-right" class="icon"></i>
|
||||
<a href="/#modules">产品功能</a>
|
||||
<i data-lucide="chevron-right" class="icon"></i>
|
||||
<span style="color: var(--gray-900); font-weight: 500;">审核驱动业务流</span>
|
||||
</div>
|
||||
<p class="eyebrow">功能详情 · 审核驱动业务流</p>
|
||||
<h1>每一笔库存变动,<br/>都经过一次<em>签字</em>。</h1>
|
||||
<p class="lead">
|
||||
入库、出库、盘点 —— 统一状态机,统一审批界面。审批不仅是一个按钮,是一笔事务:库存动了,账款也跟着动,全程留痕。
|
||||
</p>
|
||||
<div class="actions">
|
||||
<a href="#" class="btn btn-primary btn-lg">免费试用 30 天</a>
|
||||
<a href="/docs/" class="btn btn-secondary btn-lg">
|
||||
<i data-lucide="book-open" class="icon"></i>查看文档
|
||||
</a>
|
||||
</div>
|
||||
<div class="quick-stats">
|
||||
<div>
|
||||
<div class="quick-stat-label">单据类型</div>
|
||||
<div class="quick-stat-val">3 种</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="quick-stat-label">操作留痕</div>
|
||||
<div class="quick-stat-val">全程</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="quick-stat-label">审批联动</div>
|
||||
<div class="quick-stat-val">库存 + 账款</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hero-doc-stack">
|
||||
<div class="hero-doc hero-doc-back-2"></div>
|
||||
<div class="hero-doc hero-doc-back-1"></div>
|
||||
|
||||
<div class="hero-doc hero-doc-main">
|
||||
<div class="hero-doc-head">
|
||||
<div>
|
||||
<div class="hero-doc-id">RK20260523000007</div>
|
||||
<div class="hero-doc-meta">入库审核 · A 仓 · 茅台经销华东</div>
|
||||
</div>
|
||||
<div class="hero-doc-status">
|
||||
<i data-lucide="check" class="icon"></i>已审批
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hero-doc-row">
|
||||
<div>茅台飞天 53° · 500ml×6</div><div>4</div><div>¥8,000</div>
|
||||
</div>
|
||||
<div class="hero-doc-row">
|
||||
<div>五粮液第八代 52°</div><div>20</div><div>¥18,400</div>
|
||||
</div>
|
||||
<div class="hero-doc-row">
|
||||
<div>剑南春水晶剑 52°</div><div>2</div><div>¥4,200</div>
|
||||
</div>
|
||||
<div class="hero-doc-row">
|
||||
<div>拉菲传奇波尔多</div><div>10</div><div>¥17,800</div>
|
||||
</div>
|
||||
|
||||
<div class="hero-doc-foot">
|
||||
<div>合计</div><div>36</div><div>¥48,400</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--border-default); font-size: 11px; color: var(--fg-muted); font-family: var(--font-mono); letter-spacing: 0.02em;">
|
||||
审批人 李建国 · 2026-05-23 14:32:08
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Stamp -->
|
||||
<div class="hero-stamp">
|
||||
<svg class="ring" viewBox="0 0 130 130">
|
||||
<defs>
|
||||
<path id="stampRing" d="M 65, 65 m -50, 0 a 50,50 0 1,1 100,0 a 50,50 0 1,1 -100,0" />
|
||||
</defs>
|
||||
<text fontSize="8" fill="#8B2331" fontFamily="'Noto Sans SC', sans-serif" fontWeight="600" letterSpacing="3">
|
||||
<textPath href="#stampRing" startOffset="2%">岩美 · 审批通过 · APPROVED · 岩美 ·</textPath>
|
||||
</text>
|
||||
</svg>
|
||||
<div class="hero-stamp-core">
|
||||
<div class="big">通过</div>
|
||||
<div class="sub">APPROVED</div>
|
||||
<div class="date">2026.05.23</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 1: State machine ============== -->
|
||||
<section class="feat-block">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="git-branch" class="icon"></i>统一状态机</div>
|
||||
<h2>四种状态,<br/>覆盖所有业务单据</h2>
|
||||
<p class="lead">
|
||||
入库、出库、盘点 —— 全部走同一套状态:草稿 → 待审核 → 已审批 / 已拒绝。员工学一次,全员通用。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="lock" class="icon"></i>
|
||||
<div>
|
||||
<strong>提交后即锁定</strong>
|
||||
从「草稿」进入「待审核」即不可编辑,避免审批人看到的与录入人提交的不一致。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="zap" class="icon"></i>
|
||||
<div>
|
||||
<strong>状态机由后端事务驱动</strong>
|
||||
状态变更与库存 / 账款变更在同一事务内,要么都成功,要么都回滚。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="layers" class="icon"></i>
|
||||
<div>
|
||||
<strong>一套界面,三种单据复用</strong>
|
||||
前端审批界面统一,节省培训成本,避免分模块状态差异。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="state-machine">
|
||||
<div class="state-machine-tabs">
|
||||
<div class="state-tab active">入库单</div>
|
||||
<div class="state-tab">出库单</div>
|
||||
<div class="state-tab">盘点单</div>
|
||||
</div>
|
||||
<div class="state-machine-meta">stock_in_orders.status</div>
|
||||
|
||||
<div class="sm-diagram">
|
||||
<div class="sm-node draft">
|
||||
<div class="sm-bubble">
|
||||
<i data-lucide="pencil" class="icon"></i>草稿
|
||||
</div>
|
||||
<small>draft</small>
|
||||
</div>
|
||||
|
||||
<div class="sm-arrow">
|
||||
<span class="sm-arrow-label">提交</span>
|
||||
<svg viewBox="0 0 36 14"><line x1="0" y1="7" x2="30" y2="7" stroke="currentColor" strokeWidth="1.5"/><polyline points="26 3 32 7 26 11" fill="none" stroke="currentColor" strokeWidth="1.5"/></svg>
|
||||
</div>
|
||||
|
||||
<div class="sm-node pending">
|
||||
<div class="sm-bubble">
|
||||
<i data-lucide="clock" class="icon"></i>待审核
|
||||
</div>
|
||||
<small>pending</small>
|
||||
</div>
|
||||
|
||||
<div class="sm-arrow">
|
||||
<span class="sm-arrow-label">审批</span>
|
||||
<svg viewBox="0 0 36 14"><line x1="0" y1="7" x2="30" y2="7" stroke="currentColor" strokeWidth="1.5"/><polyline points="26 3 32 7 26 11" fill="none" stroke="currentColor" strokeWidth="1.5"/></svg>
|
||||
</div>
|
||||
|
||||
<div class="sm-fork">
|
||||
<div class="sm-node approved">
|
||||
<div class="sm-bubble">
|
||||
<i data-lucide="check" class="icon"></i>已审批
|
||||
</div>
|
||||
<small>approved</small>
|
||||
</div>
|
||||
<div class="sm-node rejected">
|
||||
<div class="sm-bubble">
|
||||
<i data-lucide="x" class="icon"></i>已拒绝
|
||||
</div>
|
||||
<small>rejected</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sm-applies">
|
||||
<span>同一状态机适用于:</span>
|
||||
<span class="sm-applies-pill"><i data-lucide="package-plus" class="icon"></i>入库单</span>
|
||||
<span class="sm-applies-pill"><i data-lucide="package-minus" class="icon"></i>出库单</span>
|
||||
<span class="sm-applies-pill"><i data-lucide="clipboard-check" class="icon"></i>盘点单</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 2: Auto-linking ============== -->
|
||||
<section class="feat-block reverse">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag success"><i data-lucide="zap" class="icon"></i>自动联动</div>
|
||||
<h2>按一次"通过",<br/>库存与账款都跟着动</h2>
|
||||
<p class="lead">
|
||||
审批通过不是一个"标记",而是一组真实的数据库写入。库存增减、应付应收、批次创建 —— 在同一事务内完成。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="database" class="icon"></i>
|
||||
<div>
|
||||
<strong>事务级一致性</strong>
|
||||
底层用 <code style="font-family: var(--font-mono); font-size: 0.9em; background: var(--gray-100); padding: 1px 5px; border-radius: 3px;">FOR UPDATE</code> 锁住库存行,杜绝并发超卖。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="link-2" class="icon"></i>
|
||||
<div>
|
||||
<strong>账款自动落地</strong>
|
||||
入库审批 → 自动生成应付;出库审批 → 自动生成应收。挂在对应往来单位名下,可逐月对账。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="git-merge" class="icon"></i>
|
||||
<div>
|
||||
<strong>批次自动建立</strong>
|
||||
每笔入库审批通过即创建一个新批次,后续出库按 FIFO 自动扣减。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="linking-visual">
|
||||
<div class="linking-doc">
|
||||
<div class="linking-doc-head">
|
||||
<div>
|
||||
<div class="linking-doc-id">RK20260523000007</div>
|
||||
<div style="font-size: 11px; color: var(--fg-muted); margin-top: 2px; font-family: var(--font-mono);">36 瓶 · ¥48,400 · 待审核</div>
|
||||
</div>
|
||||
<button class="linking-doc-action">
|
||||
<i data-lucide="check" class="icon"></i>审批通过
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="linking-arrow">
|
||||
<span class="linking-arrow-label">
|
||||
<i data-lucide="zap" class="icon"></i>事务内同步执行
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="linking-effects">
|
||||
<div class="linking-effect">
|
||||
<div class="linking-effect-label">
|
||||
<i data-lucide="package" class="icon"></i>库存
|
||||
</div>
|
||||
<div class="linking-effect-num">+36 瓶</div>
|
||||
<div class="linking-effect-from">A 仓 · 2,780 <span class="delta">→ 2,816</span></div>
|
||||
</div>
|
||||
<div class="linking-effect">
|
||||
<div class="linking-effect-label">
|
||||
<i data-lucide="wallet" class="icon"></i>应付账款
|
||||
</div>
|
||||
<div class="linking-effect-num">+¥48,400</div>
|
||||
<div class="linking-effect-from">茅台经销华东 · 新增 1 笔</div>
|
||||
</div>
|
||||
<div class="linking-effect">
|
||||
<div class="linking-effect-label">
|
||||
<i data-lucide="layers" class="icon"></i>批次
|
||||
</div>
|
||||
<div class="linking-effect-num">+4 个</div>
|
||||
<div class="linking-effect-from">L-2026-05-001 ~ L-2026-05-004</div>
|
||||
</div>
|
||||
<div class="linking-effect">
|
||||
<div class="linking-effect-label">
|
||||
<i data-lucide="scroll-text" class="icon"></i>库存流水
|
||||
</div>
|
||||
<div class="linking-effect-num">+4 条</div>
|
||||
<div class="linking-effect-from">逐 SKU 写入 inventory_logs</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 3: Stock validation ============== -->
|
||||
<section class="feat-block">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag danger"><i data-lucide="shield-alert" class="icon"></i>出库库存校验</div>
|
||||
<h2>库存不足,<br/>审批直接被拦下</h2>
|
||||
<p class="lead">
|
||||
出库单审批前,系统按 SKU 实时核对库存。任一行不足,整单审批失败、库存与账款均不变。永远不会超卖。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="search-check" class="icon"></i>
|
||||
<div>
|
||||
<strong>逐行校验</strong>
|
||||
按出库单每一行的 商品 × 仓库 × 数量 校验,失败明确指出是哪一行。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="undo-2" class="icon"></i>
|
||||
<div>
|
||||
<strong>整单回滚</strong>
|
||||
校验失败时单据状态回到「待审核」,无需重新录入。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="validation-card">
|
||||
<div class="validation-head">
|
||||
<div class="validation-title">出库单 CK20260523000012 · 审批前校验</div>
|
||||
<div class="validation-meta">客户 北辰大酒店 · B 仓</div>
|
||||
</div>
|
||||
<div class="validation-body">
|
||||
<div class="validation-row head">
|
||||
<div>商品</div><div>需出</div><div>库存</div><div>状态</div>
|
||||
</div>
|
||||
<div class="validation-row">
|
||||
<div>茅台飞天 53° · 500ml×6</div>
|
||||
<div class="qty-req">24</div>
|
||||
<div class="qty-stock">148</div>
|
||||
<div style="text-align: right;"><span style="background: var(--success-50); color: var(--success-700); font-size: 11px; padding: 2px 8px; border-radius: var(--radius-pill); font-weight: 500;">充足</span></div>
|
||||
</div>
|
||||
<div class="validation-row invalid">
|
||||
<div>剑南春水晶剑 52°</div>
|
||||
<div class="qty-req">20</div>
|
||||
<div class="qty-stock">12</div>
|
||||
<div style="text-align: right;"><span class="qty-shortage">短缺 8</span></div>
|
||||
</div>
|
||||
<div class="validation-row">
|
||||
<div>拉菲传奇波尔多 · 750ml</div>
|
||||
<div class="qty-req">6</div>
|
||||
<div class="qty-stock">64</div>
|
||||
<div style="text-align: right;"><span style="background: var(--success-50); color: var(--success-700); font-size: 11px; padding: 2px 8px; border-radius: var(--radius-pill); font-weight: 500;">充足</span></div>
|
||||
</div>
|
||||
|
||||
<div class="error-toast">
|
||||
<i data-lucide="x-circle" class="icon"></i>
|
||||
<div>
|
||||
<div class="error-toast-title">审批已拒绝 · 库存不足</div>
|
||||
<div class="error-toast-body">
|
||||
第 2 行「剑南春水晶剑」B 仓库存仅 12 瓶,本单需 20 瓶,短缺 8 瓶。请补足库存后重新提交,或修改出库数量。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="api-response">
|
||||
<span style="color: #888;">// HTTP/1.1 422 Unprocessable Entity</span><br/>
|
||||
{<br/>
|
||||
<span class="key">"ok"</span>: <span class="bool">false</span>,<br/>
|
||||
<span class="key">"error"</span>: <span class="str">"insufficient_inventory"</span>,<br/>
|
||||
<span class="key">"items"</span>: [<br/>
|
||||
{ <span class="key">"sku"</span>: <span class="str">"XJ-330-024"</span>, <span class="key">"required"</span>: <span class="num">20</span>, <span class="key">"available"</span>: <span class="num">12</span> }<br/>
|
||||
]<br/>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 4: Audit log ============== -->
|
||||
<section class="feat-block reverse">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="file-clock" class="icon"></i>审计留痕</div>
|
||||
<h2>每一步操作,<br/>都签着人名、贴着时间</h2>
|
||||
<p class="lead">
|
||||
从录入到结清,每一次状态变更都记录经办人、时间、决策、备注。是单据的完整生命周期,也是合规审计的完整证据。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="user-check" class="icon"></i>
|
||||
<div>
|
||||
<strong>谁动的、什么时候动的</strong>
|
||||
14 个字段:actor / role / device / IP / 时间 / 备注 / 旧值 / 新值 / 原因 …
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="hard-drive" class="icon"></i>
|
||||
<div>
|
||||
<strong>永久保留</strong>
|
||||
审计日志不会被任何角色(含超级管理员)删除或修改。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="file-down" class="icon"></i>
|
||||
<div>
|
||||
<strong>可导出</strong>
|
||||
按单据 / 时间段 / 经办人 任意组合筛选导出,应对税务、内审、合规检查。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="audit-timeline">
|
||||
<div class="audit-head">
|
||||
<div class="audit-doc-id">RK20260523000007</div>
|
||||
<div class="audit-doc-status">已审批</div>
|
||||
</div>
|
||||
<div class="audit-events">
|
||||
<div class="audit-event create">
|
||||
<div class="audit-event-marker"><i data-lucide="plus" class="icon"></i></div>
|
||||
<div class="audit-event-body">
|
||||
<div class="audit-event-action">创建草稿</div>
|
||||
<div class="audit-event-meta">
|
||||
<span><strong>王芳</strong> · 操作员</span>
|
||||
<span class="time">2026-05-23 11:24:08</span>
|
||||
<span>192.168.10.42 · 入库 PC</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="audit-event create">
|
||||
<div class="audit-event-marker"><i data-lucide="pencil" class="icon"></i></div>
|
||||
<div class="audit-event-body">
|
||||
<div class="audit-event-action">编辑明细</div>
|
||||
<div class="audit-event-meta">
|
||||
<span><strong>王芳</strong></span>
|
||||
<span class="time">2026-05-23 13:02:51</span>
|
||||
<span>修改 4 项 · 新增 1 项</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="audit-event submit">
|
||||
<div class="audit-event-marker"><i data-lucide="upload" class="icon"></i></div>
|
||||
<div class="audit-event-body">
|
||||
<div class="audit-event-action">提交审核</div>
|
||||
<div class="audit-event-meta">
|
||||
<span><strong>王芳</strong></span>
|
||||
<span class="time">2026-05-23 13:15:22</span>
|
||||
<span>状态 · 草稿 → 待审核</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="audit-event approve">
|
||||
<div class="audit-event-marker"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="audit-event-body">
|
||||
<div class="audit-event-action">审批通过</div>
|
||||
<div class="audit-event-meta">
|
||||
<span><strong>李建国</strong> · 管理员</span>
|
||||
<span class="time">2026-05-23 14:32:08</span>
|
||||
<span>库存 +36 · 应付 +¥48,400</span>
|
||||
</div>
|
||||
<div class="audit-event-comment">已核对数量与单价,可入库。</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="audit-event settle">
|
||||
<div class="audit-event-marker"><i data-lucide="wallet" class="icon"></i></div>
|
||||
<div class="audit-event-body">
|
||||
<div class="audit-event-action">应付结清</div>
|
||||
<div class="audit-event-meta">
|
||||
<span><strong>张磊</strong> · 财务</span>
|
||||
<span class="time">2026-05-26 10:08:33</span>
|
||||
<span>AP20260523000012 · 全额结清</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 6: Permission matrix ============== -->
|
||||
<section class="feat-block reverse">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="users" class="icon"></i>权限矩阵</div>
|
||||
<h2>四级角色,<br/>各干各的事</h2>
|
||||
<p class="lead">
|
||||
系统内置四个角色,按岗位职责拆分审批权。最小权限原则 —— 不该看的看不到,不该签的签不了。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="user" class="icon"></i>
|
||||
<div>
|
||||
<strong>角色绑定门店</strong>
|
||||
一个用户只属于一个门店(<code style="font-family: var(--font-mono); font-size: 0.9em; background: var(--gray-100); padding: 1px 5px; border-radius: 3px;">shop_id</code>),跨店访问数据天然隔离。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="shield" class="icon"></i>
|
||||
<div>
|
||||
<strong>角色升降随时生效</strong>
|
||||
管理员调整角色后,下一次请求即按新权限校验,无需重新登录。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="eye" class="icon"></i>
|
||||
<div>
|
||||
<strong>只读角色可看不可改</strong>
|
||||
适合财务、税务、内审岗位 —— 看见全部数据,但不能产生任何变更。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="perm-matrix">
|
||||
<div class="perm-row head">
|
||||
<div>角色</div>
|
||||
<div>查看</div>
|
||||
<div>录入</div>
|
||||
<div>审批</div>
|
||||
<div>设置</div>
|
||||
</div>
|
||||
<div class="perm-row">
|
||||
<div class="perm-role">超级管理员<small>superadmin · 系统最高</small></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
</div>
|
||||
<div class="perm-row">
|
||||
<div class="perm-role">管理员<small>admin · 门店负责人</small></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
</div>
|
||||
<div class="perm-row">
|
||||
<div class="perm-role">操作员<small>operator · 日常录入</small></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell no"><i data-lucide="minus" class="icon"></i></div>
|
||||
</div>
|
||||
<div class="perm-row">
|
||||
<div class="perm-role">只读<small>readonly · 财务 / 内审</small></div>
|
||||
<div class="perm-cell yes"><i data-lucide="check" class="icon"></i></div>
|
||||
<div class="perm-cell no"><i data-lucide="minus" class="icon"></i></div>
|
||||
<div class="perm-cell no"><i data-lucide="minus" class="icon"></i></div>
|
||||
<div class="perm-cell no"><i data-lucide="minus" class="icon"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 14px; font-size: 12px; color: var(--fg-muted); display: flex; gap: 14px; padding: 0 4px;">
|
||||
<span style="display: flex; align-items: center; gap: 6px;">
|
||||
<i data-lucide="check" style="width: 12px; height: 12px; color: var(--success-500);"></i>允许
|
||||
</span>
|
||||
<span style="display: flex; align-items: center; gap: 6px;">
|
||||
<i data-lucide="minus" style="width: 12px; height: 12px; color: var(--gray-300);"></i>禁止
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== Use cases ============== -->
|
||||
<section class="section" style="background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle);">
|
||||
<div class="container">
|
||||
<p class="eyebrow">典型场景</p>
|
||||
<h2 style="font-size: 36px; font-weight: 600; color: var(--brand-900); margin: 0 0 12px; letter-spacing: var(--tracking-cn-display);">
|
||||
审核驱动业务流,落到实际操作里是什么样
|
||||
</h2>
|
||||
<p style="font-size: var(--text-lg); color: var(--fg-muted); max-width: 640px; margin: 0;">
|
||||
三个常见门店场景,看审核流如何把日常工作中的失误拦在事前。
|
||||
</p>
|
||||
|
||||
<div class="usecases-grid">
|
||||
<div class="usecase-card">
|
||||
<i data-lucide="package-x" class="icon"></i>
|
||||
<h4>避免超卖发不了货</h4>
|
||||
<p>大客户来订 24 瓶飞天,操作员录了出库单。审批时系统提示某 SKU 库存只剩 12 瓶 —— 提前发现,先补货后出库。</p>
|
||||
<div class="quote">"以前是发了货才发现没库存,半夜紧急调货。现在审批就拦下,省事多了。"</div>
|
||||
</div>
|
||||
<div class="usecase-card">
|
||||
<i data-lucide="file-search" class="icon"></i>
|
||||
<h4>财务来对账,3 秒定位</h4>
|
||||
<p>财务问"这批拉菲是哪个供应商进的,谁审的",打开单据点击「审计链」,从草稿、提交、审批到结清的每一步都列得清清楚楚。</p>
|
||||
<div class="quote">"以前要翻三个 Excel 表对照,现在一张图就讲完了。"</div>
|
||||
</div>
|
||||
<div class="usecase-card">
|
||||
<i data-lucide="rotate-ccw" class="icon"></i>
|
||||
<h4>录错了不慌</h4>
|
||||
<p>审批通过的单据不可撤销,但可补录一张方向相反的修正单提交审核,两笔记录都完整保留在审计链中,库存与账款同步修正。</p>
|
||||
<div class="quote">"原始数据保留,修正也留痕,内审完全不会有问题。"</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== Final CTA ============== -->
|
||||
<section>
|
||||
<div class="container" style="padding-top: 80px;">
|
||||
<div class="cta-strip">
|
||||
<div>
|
||||
<h2>每一笔库存变动都有人负责,<br/>就从一次审批开始。</h2>
|
||||
<p>30 天免费试用,无需绑定支付方式。所有审批与审计数据可随时导出。</p>
|
||||
</div>
|
||||
<div class="cta-strip-actions">
|
||||
<a href="/register/" class="btn btn-primary btn-lg">
|
||||
免费开通试用<i data-lucide="arrow-right" class="icon"></i>
|
||||
</a>
|
||||
<a href="/features/inventory.html" class="btn btn-secondary btn-lg">
|
||||
← 上一个功能:库存管理
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,652 @@
|
||||
---
|
||||
layout: base.njk
|
||||
title: 库存管理
|
||||
description: 岩美酒库管理系统库存管理功能:实时库存查询、批次追踪、全仓盘点、库存流水审计。
|
||||
permalink: /features/inventory.html
|
||||
pageExtraCss: /assets/features-inventory.css
|
||||
---
|
||||
|
||||
<!-- ============== HERO ============== -->
|
||||
<section class="feat-hero">
|
||||
<div class="container feat-hero-inner">
|
||||
<div>
|
||||
<div class="feat-breadcrumb">
|
||||
<a href="/">首页</a>
|
||||
<i data-lucide="chevron-right" class="icon"></i>
|
||||
<a href="/#modules">产品功能</a>
|
||||
<i data-lucide="chevron-right" class="icon"></i>
|
||||
<span style="color: var(--gray-900); font-weight: 500;">库存管理</span>
|
||||
</div>
|
||||
<p class="eyebrow">功能详情 · 库存管理</p>
|
||||
<h1>实时库存,<br/>跨多仓追溯每一瓶酒。</h1>
|
||||
<p class="lead">
|
||||
从入库到售出,每一次库存变动都有记录、可追溯、可回放。多仓库统一管理、批次级追踪、账实差异自动核算 — 不止是库存表。
|
||||
</p>
|
||||
<div class="actions">
|
||||
<a href="#" class="btn btn-primary btn-lg">免费试用 30 天</a>
|
||||
<a href="/docs/" class="btn btn-secondary btn-lg">
|
||||
<i data-lucide="book-open" class="icon"></i>查看文档
|
||||
</a>
|
||||
</div>
|
||||
<div class="quick-stats">
|
||||
<div>
|
||||
<div class="quick-stat-label">SKU 上限</div>
|
||||
<div class="quick-stat-val">无限</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="quick-stat-label">仓库支持</div>
|
||||
<div class="quick-stat-val">多仓库</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="quick-stat-label">流水保留</div>
|
||||
<div class="quick-stat-val">永久</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="composite">
|
||||
<!-- Main inventory card -->
|
||||
<div class="composite-card composite-main">
|
||||
<div class="mc-head">
|
||||
<div class="mc-title">库存列表 · A 仓</div>
|
||||
<div class="mc-tabs">
|
||||
<div class="mc-tab active">列表</div>
|
||||
<div class="mc-tab">流水</div>
|
||||
<div class="mc-tab">盘点</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mc-stats">
|
||||
<div>
|
||||
<div class="mc-stat-label">库存总量</div>
|
||||
<div class="mc-stat-val">2,816<span class="delta">↑ 4.2%</span></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="mc-stat-label">库存金额</div>
|
||||
<div class="mc-stat-val">¥486K<span class="delta">↑ 2.8%</span></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="mc-stat-label">预警 SKU</div>
|
||||
<div class="mc-stat-val" style="color: var(--warning-500);">7</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mc-table">
|
||||
<div class="mc-thead">
|
||||
<div>SKU</div><div>商品</div><div>仓库</div><div>库存</div><div>批次</div><div>状态</div>
|
||||
</div>
|
||||
<div class="mc-trow">
|
||||
<div class="sku">WT-501-006</div>
|
||||
<div>茅台飞天 53°</div>
|
||||
<div>A 仓</div>
|
||||
<div>148</div>
|
||||
<div>L-2026-04</div>
|
||||
<div><span class="mc-pill ok">充足</span></div>
|
||||
</div>
|
||||
<div class="mc-trow">
|
||||
<div class="sku">XJ-468-001</div>
|
||||
<div>五粮液第八代</div>
|
||||
<div>A 仓</div>
|
||||
<div>92</div>
|
||||
<div>L-2026-03</div>
|
||||
<div><span class="mc-pill ok">充足</span></div>
|
||||
</div>
|
||||
<div class="mc-trow">
|
||||
<div class="sku">XJ-330-024</div>
|
||||
<div>剑南春水晶剑</div>
|
||||
<div>B 仓</div>
|
||||
<div style="color: var(--warning-700); font-weight: 500;">12</div>
|
||||
<div>L-2026-02</div>
|
||||
<div><span class="mc-pill warn">偏低</span></div>
|
||||
</div>
|
||||
<div class="mc-trow">
|
||||
<div class="sku">PJ-750-012</div>
|
||||
<div>拉菲传奇波尔多</div>
|
||||
<div>A 仓</div>
|
||||
<div>64</div>
|
||||
<div>L-2026-05</div>
|
||||
<div><span class="mc-pill ok">充足</span></div>
|
||||
</div>
|
||||
<div class="mc-trow">
|
||||
<div class="sku">PJ-700-008</div>
|
||||
<div>轩尼诗 VSOP</div>
|
||||
<div>B 仓</div>
|
||||
<div style="color: var(--danger-700); font-weight: 500;">3</div>
|
||||
<div>L-2026-01</div>
|
||||
<div><span class="mc-pill low">告急</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Floating alert card -->
|
||||
<div class="composite-card composite-secondary">
|
||||
<div class="alert-card-title" style="display: flex; align-items: center; gap: 6px;">
|
||||
<i data-lucide="alert-triangle" class="icon" style="width: 12px; height: 12px; color: var(--warning-500);"></i>
|
||||
低库存商品
|
||||
</div>
|
||||
<div class="alert-row danger">
|
||||
<div class="name">轩尼诗 VSOP</div>
|
||||
<div class="qty">仅 3 瓶</div>
|
||||
</div>
|
||||
<div class="alert-row">
|
||||
<div class="name">剑南春水晶剑</div>
|
||||
<div class="qty">12 瓶</div>
|
||||
</div>
|
||||
<div class="alert-row">
|
||||
<div class="name">人头马 X.O</div>
|
||||
<div class="qty">8 瓶</div>
|
||||
</div>
|
||||
<div style="text-align: right; margin-top: 8px; font-size: 11px;">
|
||||
<a href="#" style="color: var(--brand-500);">查看全部 7 条 →</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Floating batch card -->
|
||||
<div class="composite-card composite-tertiary">
|
||||
<div class="batch-title">
|
||||
<i data-lucide="layers" class="icon"></i>
|
||||
批次追踪 · L-2026-05
|
||||
</div>
|
||||
<div class="batch-row">
|
||||
<div class="lot">入库 04-28</div>
|
||||
<div>初始 50 瓶</div>
|
||||
<div class="meta">A 仓</div>
|
||||
<div>+50</div>
|
||||
</div>
|
||||
<div class="batch-row">
|
||||
<div class="lot">出库 05-12</div>
|
||||
<div>客户 · 春和宴</div>
|
||||
<div class="meta">8 瓶</div>
|
||||
<div>-8</div>
|
||||
</div>
|
||||
<div class="batch-row">
|
||||
<div class="lot">出库 05-19</div>
|
||||
<div>客户 · 北辰大酒店</div>
|
||||
<div class="meta">12 瓶</div>
|
||||
<div>-12</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 1: Real-time inventory ============== -->
|
||||
<section class="feat-block">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="layout-list" class="icon"></i>实时库存查询</div>
|
||||
<h2>不止是库存表,是一个可筛选的工作面板</h2>
|
||||
<p class="lead">
|
||||
库存数据自动跟随入库、出库、盘点变动 — 每一次写入都是一次事务,不存在「待同步」状态。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="filter" class="icon"></i>
|
||||
<div>
|
||||
<strong>多维筛选与列控制</strong>
|
||||
按仓库、商品系列、库存状态、批次任意组合筛选,列可隐藏或重排。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="search" class="icon"></i>
|
||||
<div>
|
||||
<strong>模糊搜索与拼音匹配</strong>
|
||||
支持商品名、SKU、拼音首字母混合搜索,与你输入"飞天"同等结果。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="pencil-line" class="icon"></i>
|
||||
<div>
|
||||
<strong>行内编辑备注</strong>
|
||||
点击「备注」列即可弹出编辑框,不必进入详情页改字段。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="file-spreadsheet" class="icon"></i>
|
||||
<div>
|
||||
<strong>一键导出 Excel</strong>
|
||||
筛选后的视图与数据一同导出,可直接发给会计、税务。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="visual-card">
|
||||
<div class="visual-card-head">
|
||||
<div class="visual-card-title">库存列表 · 全部仓库</div>
|
||||
<div class="visual-card-meta">共 2,816 瓶 · ¥486,290</div>
|
||||
</div>
|
||||
<div class="inv-table">
|
||||
<div class="inv-table-row head">
|
||||
<div>SKU</div><div>商品名称 / 规格</div><div>仓库</div><div>库存</div><div>金额</div><div>状态</div>
|
||||
</div>
|
||||
<div class="inv-table-row">
|
||||
<div class="sku">WT-501-006</div>
|
||||
<div class="name">茅台飞天 53°<small>500ml×6 · L-2026-04</small></div>
|
||||
<div>A 仓</div>
|
||||
<div>148</div>
|
||||
<div>¥298,400</div>
|
||||
<div><span class="mc-pill ok">充足</span></div>
|
||||
</div>
|
||||
<div class="inv-table-row">
|
||||
<div class="sku">XJ-468-001</div>
|
||||
<div class="name">五粮液第八代 52°<small>500ml · L-2026-03</small></div>
|
||||
<div>A 仓</div>
|
||||
<div>92</div>
|
||||
<div>¥92,920</div>
|
||||
<div><span class="mc-pill ok">充足</span></div>
|
||||
</div>
|
||||
<div class="inv-table-row">
|
||||
<div class="sku">XJ-330-024</div>
|
||||
<div class="name">剑南春水晶剑 52°<small>500ml×6 · L-2026-02</small></div>
|
||||
<div>B 仓</div>
|
||||
<div style="color: var(--warning-700); font-weight: 500;">12</div>
|
||||
<div>¥4,560</div>
|
||||
<div><span class="mc-pill warn">偏低</span></div>
|
||||
</div>
|
||||
<div class="inv-table-row">
|
||||
<div class="sku">PJ-750-012</div>
|
||||
<div class="name">拉菲传奇波尔多<small>750ml · L-2026-05</small></div>
|
||||
<div>A 仓</div>
|
||||
<div>64</div>
|
||||
<div>¥18,560</div>
|
||||
<div><span class="mc-pill ok">充足</span></div>
|
||||
</div>
|
||||
<div class="inv-table-row">
|
||||
<div class="sku">PJ-700-008</div>
|
||||
<div class="name">轩尼诗 VSOP<small>700ml · L-2026-01</small></div>
|
||||
<div>B 仓</div>
|
||||
<div style="color: var(--danger-700); font-weight: 500;">3</div>
|
||||
<div>¥1,770</div>
|
||||
<div><span class="mc-pill low">告急</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 2: Batch tracking ============== -->
|
||||
<section class="feat-block reverse">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="layers" class="icon"></i>批次追踪</div>
|
||||
<h2>每一批货的命运,<br/>都可以回放给你看</h2>
|
||||
<p class="lead">
|
||||
每张审批通过的入库单都会自动形成一个独立批次,可追踪其后续被谁出库、剩余多少、还在哪个仓库。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="git-branch" class="icon"></i>
|
||||
<div>
|
||||
<strong>批次自动生成</strong>
|
||||
入库审批通过即建立批次,无需手动维护。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="map-pin" class="icon"></i>
|
||||
<div>
|
||||
<strong>逐瓶溯源</strong>
|
||||
出库时按"先进先出"自动从最早批次扣减,留下完整的批次→客户对应关系。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="qr-code" class="icon"></i>
|
||||
<div>
|
||||
<strong>标签二维码</strong>
|
||||
每个批次都可打印含二维码的标签,扫码即查批次详情。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="batch-journey">
|
||||
<div class="batch-journey-head">
|
||||
<div class="bj-meta-main">
|
||||
<div class="bj-lot">L-2026-05</div>
|
||||
<div class="bj-product">茅台飞天 53°<small>500ml×6 · A 仓</small></div>
|
||||
</div>
|
||||
<div class="bj-totals">
|
||||
<div class="bj-total-row">初始入库 <strong>50 瓶</strong></div>
|
||||
<div class="bj-total-row">累计出库 <strong style="color: var(--accent-500);">20 瓶</strong></div>
|
||||
<div class="bj-total-row">剩余 <strong style="color: var(--success-700);">30 瓶</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bj-progress">
|
||||
<div class="bj-progress-bar" style="width: 60%;"></div>
|
||||
</div>
|
||||
<div class="bj-progress-labels">
|
||||
<span>已出库 60%</span>
|
||||
<span>40% 库存</span>
|
||||
</div>
|
||||
|
||||
<div class="bj-timeline">
|
||||
<div class="bj-event stockin">
|
||||
<div class="bj-event-dot"></div>
|
||||
<div class="bj-event-date">2026-04-28</div>
|
||||
<div class="bj-event-desc">入库 · 供应商 茅台经销华东<small>经办人:李建国</small></div>
|
||||
<div class="bj-event-qty">+50</div>
|
||||
<div class="bj-event-doc">RK0007</div>
|
||||
</div>
|
||||
<div class="bj-event stockout">
|
||||
<div class="bj-event-dot"></div>
|
||||
<div class="bj-event-date">2026-05-12</div>
|
||||
<div class="bj-event-desc">出库 · 客户 春和宴酒楼<small>经办人:王芳</small></div>
|
||||
<div class="bj-event-qty">−8</div>
|
||||
<div class="bj-event-doc">CK0034</div>
|
||||
</div>
|
||||
<div class="bj-event stockout">
|
||||
<div class="bj-event-dot"></div>
|
||||
<div class="bj-event-date">2026-05-19</div>
|
||||
<div class="bj-event-desc">出库 · 客户 北辰大酒店<small>经办人:王芳</small></div>
|
||||
<div class="bj-event-qty">−12</div>
|
||||
<div class="bj-event-doc">CK0041</div>
|
||||
</div>
|
||||
<div class="bj-event">
|
||||
<div class="bj-event-dot"></div>
|
||||
<div class="bj-event-date">— 当前 —</div>
|
||||
<div class="bj-event-desc" style="color: var(--gray-900); font-weight: 500;">剩余 30 瓶<small>预计 6 月底前售完</small></div>
|
||||
<div class="bj-event-qty" style="color: var(--brand-700);">30</div>
|
||||
<div class="bj-event-doc"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 3: Stocktake ============== -->
|
||||
<section class="feat-block">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="clipboard-check" class="icon"></i>全仓盘点</div>
|
||||
<h2>账面 vs 实际,差异一目了然</h2>
|
||||
<p class="lead">
|
||||
逐 SKU 录入实盘数量,系统自动核算账实差异、损耗金额,并一键转为盘亏调整单。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="warehouse" class="icon"></i>
|
||||
<div>
|
||||
<strong>跨多仓库联动</strong>
|
||||
一次盘点可同步多仓库,避免分仓时数据不一致。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="calculator" class="icon"></i>
|
||||
<div>
|
||||
<strong>差异自动核算</strong>
|
||||
实盘填好后立即显示账面、实际、差异数量与金额。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="history" class="icon"></i>
|
||||
<div>
|
||||
<strong>历史盘点对比</strong>
|
||||
可对比上一次盘点结果,识别长期偏差最大的 SKU。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="stocktake-table">
|
||||
<div class="st-summary">
|
||||
<div class="st-summary-item">
|
||||
<div class="label">盘点商品</div>
|
||||
<div class="val">128</div>
|
||||
</div>
|
||||
<div class="st-summary-item">
|
||||
<div class="label">账面合计</div>
|
||||
<div class="val">2,816</div>
|
||||
</div>
|
||||
<div class="st-summary-item">
|
||||
<div class="label">实际合计</div>
|
||||
<div class="val">2,808</div>
|
||||
</div>
|
||||
<div class="st-summary-item">
|
||||
<div class="label">损耗金额</div>
|
||||
<div class="val neg">−¥6,840</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-row head">
|
||||
<div>商品</div><div>账面</div><div>实际</div><div>差异</div><div>损耗</div>
|
||||
</div>
|
||||
<div class="st-row">
|
||||
<div style="text-align: left;">茅台飞天 53° · 500ml×6</div>
|
||||
<div>148</div>
|
||||
<div>148</div>
|
||||
<div><span class="diff-pill zero">0</span></div>
|
||||
<div>—</div>
|
||||
</div>
|
||||
<div class="st-row">
|
||||
<div style="text-align: left;">五粮液第八代 52° · 500ml</div>
|
||||
<div>92</div>
|
||||
<div>90</div>
|
||||
<div><span class="diff-pill neg">−2</span></div>
|
||||
<div style="color: var(--danger-700);">−¥2,020</div>
|
||||
</div>
|
||||
<div class="st-row">
|
||||
<div style="text-align: left;">剑南春水晶剑 52° · 500ml×6</div>
|
||||
<div>12</div>
|
||||
<div>12</div>
|
||||
<div><span class="diff-pill zero">0</span></div>
|
||||
<div>—</div>
|
||||
</div>
|
||||
<div class="st-row">
|
||||
<div style="text-align: left;">拉菲传奇波尔多 · 750ml</div>
|
||||
<div>64</div>
|
||||
<div>60</div>
|
||||
<div><span class="diff-pill neg">−4</span></div>
|
||||
<div style="color: var(--danger-700);">−¥1,160</div>
|
||||
</div>
|
||||
<div class="st-row">
|
||||
<div style="text-align: left;">轩尼诗 VSOP · 700ml</div>
|
||||
<div>3</div>
|
||||
<div>3</div>
|
||||
<div><span class="diff-pill zero">0</span></div>
|
||||
<div>—</div>
|
||||
</div>
|
||||
<div class="st-row">
|
||||
<div style="text-align: left;">人头马 X.O · 700ml</div>
|
||||
<div>40</div>
|
||||
<div>38</div>
|
||||
<div><span class="diff-pill neg">−2</span></div>
|
||||
<div style="color: var(--danger-700);">−¥3,660</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 4: Inventory logs ============== -->
|
||||
<section class="feat-block reverse">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="scroll-text" class="icon"></i>库存流水审计</div>
|
||||
<h2>谁动了我的库存?<br/>每一次都查得清楚</h2>
|
||||
<p class="lead">
|
||||
所有库存变动都会自动写入流水表,包括入库、出库、盘点调整,附带时间戳与经办人。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="filter" class="icon"></i>
|
||||
<div>
|
||||
<strong>按类型 / 时间 / SKU 任意筛选</strong>
|
||||
排查异常时可秒级定位。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="link" class="icon"></i>
|
||||
<div>
|
||||
<strong>关联原单据</strong>
|
||||
每条流水都关联到对应入库单 / 出库单 / 盘点单,一键跳转。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="hard-drive" class="icon"></i>
|
||||
<div>
|
||||
<strong>永久保留</strong>
|
||||
流水数据永不自动清除,满足审计与合规要求。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="log-card">
|
||||
<div class="log-toolbar">
|
||||
<span class="log-filter-pill active">全部类型</span>
|
||||
<span class="log-filter-pill"><i data-lucide="plus" class="icon"></i>入库</span>
|
||||
<span class="log-filter-pill"><i data-lucide="minus" class="icon"></i>出库</span>
|
||||
<span class="log-filter-pill"><i data-lucide="clipboard" class="icon"></i>盘点</span>
|
||||
<span style="margin-left: auto;">本月 · 共 1,284 条</span>
|
||||
</div>
|
||||
<div class="log-row">
|
||||
<div class="log-time">05-23 14:32</div>
|
||||
<div><span class="log-type-pill in">入库</span></div>
|
||||
<div class="log-desc">茅台飞天 53° · 500ml×6<small>RK20260523000007 · A 仓</small></div>
|
||||
<div class="log-qty in">+4</div>
|
||||
<div class="log-op">李建国</div>
|
||||
</div>
|
||||
<div class="log-row">
|
||||
<div class="log-time">05-23 11:48</div>
|
||||
<div><span class="log-type-pill out">出库</span></div>
|
||||
<div class="log-desc">五粮液第八代 52°<small>CK20260523000012 · 客户 春和宴</small></div>
|
||||
<div class="log-qty out">−6</div>
|
||||
<div class="log-op">王芳</div>
|
||||
</div>
|
||||
<div class="log-row">
|
||||
<div class="log-time">05-23 10:15</div>
|
||||
<div><span class="log-type-pill check">盘点</span></div>
|
||||
<div class="log-desc">拉菲传奇波尔多<small>PD20260523001 · 账实差异</small></div>
|
||||
<div class="log-qty out">−2</div>
|
||||
<div class="log-op">张磊</div>
|
||||
</div>
|
||||
<div class="log-row">
|
||||
<div class="log-time">05-22 17:20</div>
|
||||
<div><span class="log-type-pill out">出库</span></div>
|
||||
<div class="log-desc">人头马 X.O · 700ml<small>CK20260522000008 · 客户 北辰</small></div>
|
||||
<div class="log-qty out">−2</div>
|
||||
<div class="log-op">王芳</div>
|
||||
</div>
|
||||
<div class="log-row">
|
||||
<div class="log-time">05-22 14:08</div>
|
||||
<div><span class="log-type-pill in">入库</span></div>
|
||||
<div class="log-desc">轩尼诗 VSOP · 700ml<small>RK20260522000005 · B 仓</small></div>
|
||||
<div class="log-qty in">+24</div>
|
||||
<div class="log-op">李建国</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== BLOCK 5: Alerts ============== -->
|
||||
<section class="feat-block">
|
||||
<div class="container feat-block-inner">
|
||||
<div class="feat-text">
|
||||
<div class="feat-tag"><i data-lucide="alert-triangle" class="icon"></i>库存状态</div>
|
||||
<h2>一眼看出哪些商品<br/>需要补货</h2>
|
||||
<p class="lead">
|
||||
为每件商品设置最低库存量,系统根据当前库存自动标记「充足 / 偏低 / 告急」,无需手工比对。
|
||||
</p>
|
||||
<ul class="feat-bullets">
|
||||
<li>
|
||||
<i data-lucide="sliders-horizontal" class="icon"></i>
|
||||
<div>
|
||||
<strong>按 SKU 设置最低库存</strong>
|
||||
热销商品阈值高,冷门商品阈值低 — 每件单独配置。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="list-filter" class="icon"></i>
|
||||
<div>
|
||||
<strong>库存列表一目了然</strong>
|
||||
库存状态标签跟随列表显示,随时筛选「偏低」「告急」的 SKU。
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<i data-lucide="qr-code" class="icon"></i>
|
||||
<div>
|
||||
<strong>商品二维码防伪</strong>
|
||||
每件商品生成专属二维码,顾客扫码即可查看批次与防伪信息。
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="feat-visual">
|
||||
<div class="alert-config-card">
|
||||
<h4>库存状态一览</h4>
|
||||
<p class="sub">基于最低库存量 (min_stock) 自动标记状态。</p>
|
||||
<div style="display:flex;flex-direction:column;gap:10px;margin-top:12px;">
|
||||
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--gray-25);border-radius:8px;">
|
||||
<span style="font-size:13px;font-weight:500;">茅台飞天 53°</span>
|
||||
<span style="font-size:12px;color:var(--success-700);background:var(--success-50);padding:2px 10px;border-radius:20px;font-weight:600;">充足</span>
|
||||
</div>
|
||||
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--gray-25);border-radius:8px;">
|
||||
<span style="font-size:13px;font-weight:500;">剑南春水晶剑</span>
|
||||
<span style="font-size:12px;color:var(--warning-700);background:var(--warning-50);padding:2px 10px;border-radius:20px;font-weight:600;">偏低</span>
|
||||
</div>
|
||||
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--gray-25);border-radius:8px;">
|
||||
<span style="font-size:13px;font-weight:500;">轩尼诗 VSOP</span>
|
||||
<span style="font-size:12px;color:var(--danger-700);background:var(--danger-50);padding:2px 10px;border-radius:20px;font-weight:600;">告急</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== Use cases ============== -->
|
||||
<section class="section" style="background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle);">
|
||||
<div class="container">
|
||||
<p class="eyebrow">典型场景</p>
|
||||
<h2 style="font-size: 36px; font-weight: 600; color: var(--brand-900); margin: 0 0 12px; letter-spacing: var(--tracking-cn-display);">
|
||||
库存管理,落到实际操作里是什么样
|
||||
</h2>
|
||||
<p style="font-size: var(--text-lg); color: var(--fg-muted); max-width: 640px; margin: 0;">
|
||||
三个常见门店场景,看库存管理如何省下你每天的时间。
|
||||
</p>
|
||||
|
||||
<div class="usecases-grid">
|
||||
<div class="usecase-card">
|
||||
<i data-lucide="package-search" class="icon"></i>
|
||||
<h4>客户来取货前,先看一眼批次</h4>
|
||||
<p>客户要 12 瓶飞天,先在批次追踪里看哪一批快到期;优先发出旧批次,新批次留着。</p>
|
||||
</div>
|
||||
<div class="usecase-card">
|
||||
<i data-lucide="calendar-check-2" class="icon"></i>
|
||||
<h4>月底盘点,2 小时变 30 分钟</h4>
|
||||
<p>用移动端扫码逐瓶录入,系统对比账面 → 实时显示差异。损耗自动转入应付,不用再算。</p>
|
||||
</div>
|
||||
<div class="usecase-card">
|
||||
<i data-lucide="file-check-2" class="icon"></i>
|
||||
<h4>财务来问"这瓶怎么少了",3 秒回答</h4>
|
||||
<p>打开库存流水,按 SKU 筛选,全部入库、出库、盘点变动一目了然,每条都关联到原始单据。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============== Final CTA ============== -->
|
||||
<section>
|
||||
<div class="container" style="padding-top: 80px;">
|
||||
<div class="cta-strip">
|
||||
<div>
|
||||
<h2>试试看你今天的库存有几瓶。</h2>
|
||||
<p>30 天免费试用,无需绑定支付。所有数据云端实时备份,可随时导出。</p>
|
||||
</div>
|
||||
<div class="cta-strip-actions">
|
||||
<a href="/register/" class="btn btn-primary btn-lg">
|
||||
免费开通试用<i data-lucide="arrow-right" class="icon"></i>
|
||||
</a>
|
||||
<a href="/features/approval.html" class="btn btn-secondary btn-lg">
|
||||
下一个功能:审核流 →
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user