Files
aurora-admin/site/sources/card/html.txt
T
aurora-admin c65a69c34e
Deploy to GitHub Pages / deploy (push) Failing after 16s
Regression / regression (push) Failing after 15m2s
feat(P4): precompute移植+app.js sources双向回填+回归1003/1003+验收体积/文件/data.json
2026-09-12 14:18:41 +08:00

62 lines
3.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aurora Admin · Card (H5)</title>
<link rel="stylesheet" href="../.design_library/aurora-admin/colors_and_type.css">
<style>
/* 对齐 components.css 与 card.json 契约 */
.demo { padding: 24px; background: var(--au-color-page-bg); color: var(--au-color-text-body); font-family: var(--font-family); }
h1 { font-size: 20px; margin: 0 0 4px; }
.sub { color: var(--au-color-text-secondary); margin: 0 0 24px; font-size: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.aa-card {
background: var(--au-color-card-bg); border-radius: 8px; box-sizing: border-box;
min-width: 280px; max-width: 360px;
}
.aa-card--bordered { border: 1px solid var(--au-color-border); }
.aa-card--shadowed { box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.aa-card__header {
display: flex; align-items: center; justify-content: space-between; gap: 8px;
font-weight: 600; color: var(--au-color-text-title);
}
.aa-card__title { font-size: 16px; }
.aa-card__extra { color: var(--au-color-brand); font-size: 14px; cursor: pointer; }
.aa-card__body { color: var(--au-color-text-body); font-size: 14px; line-height: 22px; }
.aa-card__actions { display: flex; justify-content: flex-end; gap: 8px; }
</style>
</head>
<body>
<div class="demo">
<h1>Aurora Admin · Card 组件(纯 H5)</h1>
<p class="sub">对齐 card.json 契约:圆角8px、边框1px / 低阴影、内边距16/24px、结构含标题区/内容区/操作区</p>
<div class="row">
<div class="aa-card aa-card--bordered" style="padding:16px">
<div class="aa-card__header"><div class="aa-card__title">边框卡片</div></div>
<div class="aa-card__body" style="margin-top:12px">用于轻量内容承载,1px 边框区分卡片边界。</div>
</div>
<div class="aa-card aa-card--shadowed" style="padding:24px">
<div class="aa-card__header"><div class="aa-card__title">阴影卡片</div></div>
<div class="aa-card__body" style="margin-top:12px">通过低阴影表现层级浮起,适合突出展示类内容。</div>
</div>
<div class="aa-card aa-card--bordered" style="padding:24px">
<div class="aa-card__header">
<div class="aa-card__title">客户详情</div>
<div class="aa-card__extra" role="button" tabindex="0">查看全部</div>
</div>
<div class="aa-card__body" style="margin-top:12px">含标题区与右侧操作区,内容区展示客户关键信息。</div>
<div class="aa-card__actions" style="margin-top:16px">
<button style="border:1px solid var(--color-border);background:var(--color-bg-card);border-radius:4px;padding:4px 12px;cursor:pointer;color:var(--color-text-body)">取消</button>
<button style="background:var(--color-brand);border:none;border-radius:4px;padding:4px 12px;cursor:pointer;color:var(--color-bg-card)">确定</button>
</div>
</div>
</div>
</div>
</body>
</html>