Aurora Admin v1.2.0: 79 components x 5 ends, doc site, contracts batch 1, playground, regression, deploy ready

This commit is contained in:
aurora-admin
2026-09-10 19:21:56 +08:00
commit 51ce3a28f7
654 changed files with 49082 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
<!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: #F5F7FA; color: #262626; font-family: var(--font-family); }
h1 { font-size: 20px; margin: 0 0 4px; }
.sub { color: #8C8C8C; margin: 0 0 24px; font-size: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.aa-card {
background: #fff; border-radius: 8px; box-sizing: border-box;
min-width: 280px; max-width: 360px;
}
.aa-card--bordered { border: 1px solid #E8ECF1; }
.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: #1F2329;
}
.aa-card__title { font-size: 16px; }
.aa-card__extra { color: #2F54EB; font-size: 14px; cursor: pointer; }
.aa-card__body { color: #262626; 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">查看全部</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 #E8ECF1;background:#fff;border-radius:4px;padding:4px 12px;cursor:pointer;color:#262626">取消</button>
<button style="background:#2F54EB;border:none;border-radius:4px;padding:4px 12px;cursor:pointer;color:#fff">确定</button>
</div>
</div>
</div>
</div>
</body>
</html>