60 lines
2.1 KiB
HTML
60 lines
2.1 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>04 · 左侧主色竖条 · 质检卡片间距</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
|
|
<link rel="stylesheet" href="_shared.css" />
|
|
<style>
|
|
.qc-work-order-cards-wrap {
|
|
gap: 16px;
|
|
padding: 16px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.qc-work-order-card {
|
|
border-left: 3px solid var(--primary);
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.qc-work-order-card:hover {
|
|
border-left-color: var(--primary-dark);
|
|
box-shadow: 0 3px 10px rgba(4, 120, 87, 0.1);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header class="demo-banner">
|
|
<div>
|
|
<h1>04 · 左侧主色竖条</h1>
|
|
<p>每条工单卡片左侧增加 3px 薄荷绿竖条,与 panel 标题竖条、任务区小标题竖条形成统一视觉语言。</p>
|
|
</div>
|
|
<div class="demo-banner__actions">
|
|
<a class="demo-link" href="03-gap-and-shadow.html">← 上一方案</a>
|
|
<a class="demo-link" href="index.html">索引</a>
|
|
<a class="demo-link demo-link--primary" href="05-divider-separator.html">下一方案 →</a>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="page-container">
|
|
<section class="panel">
|
|
<div class="panel-top">
|
|
<h2 class="title-bar-heading">质检工单</h2>
|
|
</div>
|
|
<div class="mode-tabs">
|
|
<div class="mode-tab active" data-mode-tab="manage">质检工单</div>
|
|
<div class="mode-tab" data-mode-tab="mine">我的质检任务</div>
|
|
</div>
|
|
<p class="variant-note">
|
|
<strong>方案说明:</strong>竖条在快速扫视时帮助定位每条工单的起始位置;可与 02/03 组合(竖条 + 阴影)。
|
|
</p>
|
|
<div class="list-body qc-work-order-cards-body">
|
|
<div class="qc-work-order-cards-wrap" data-card-list></div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script src="_cards.js"></script>
|
|
</body>
|
|
</html>
|