58 lines
2.1 KiB
HTML
58 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>02 · 列表区浅灰底 · 质检卡片间距</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: #f1f5f9;
|
|
}
|
|
|
|
.qc-work-order-card {
|
|
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.qc-work-order-card:hover {
|
|
box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header class="demo-banner">
|
|
<div>
|
|
<h1>02 · 列表区浅灰底 + 轻阴影</h1>
|
|
<p>卡片容器背景改为 <code>#f1f5f9</code>,卡片保持白底并加极轻阴影。参考样本接收卡片列表的层次思路,改动集中在列表区。</p>
|
|
</div>
|
|
<div class="demo-banner__actions">
|
|
<a class="demo-link" href="01-baseline.html">← 上一方案</a>
|
|
<a class="demo-link" href="index.html">索引</a>
|
|
<a class="demo-link demo-link--primary" href="03-gap-and-shadow.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>利用「浅灰画布 + 白卡片」色差区分条目;对「我的质检任务」同样适用,无需改卡片内部结构。
|
|
</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>
|