238 lines
5.8 KiB
HTML
238 lines
5.8 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>方案 3:High-Tech Crisp 硬朗工控科技风</title>
|
||
<style>
|
||
:root {
|
||
--tech-black: #0F172A;
|
||
--tech-dark: #1E293B;
|
||
--tech-blue: #2563EB;
|
||
--tech-blue-bg: #EFF6FF;
|
||
--tech-green: #059669;
|
||
--tech-green-bg: #ECFDF5;
|
||
--border-hard: #0F172A;
|
||
}
|
||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||
body {
|
||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
|
||
background: #F1F5F9;
|
||
color: var(--tech-black);
|
||
min-height: 100vh;
|
||
padding: 24px;
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
.device-container {
|
||
width: 100%;
|
||
max-width: 1024px;
|
||
margin: 0 auto;
|
||
background: #FFFFFF;
|
||
border-radius: 16px;
|
||
border: 2px solid var(--border-hard);
|
||
box-shadow: 6px 6px 0px var(--border-hard);
|
||
overflow: hidden;
|
||
}
|
||
.appbar {
|
||
height: 60px;
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 0 24px;
|
||
background: #FFFFFF;
|
||
border-bottom: 2px solid var(--border-hard);
|
||
}
|
||
.appbar-nav {
|
||
width: 36px;
|
||
height: 36px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 8px;
|
||
cursor: pointer;
|
||
background: #F1F5F9;
|
||
border: 1.5px solid var(--border-hard);
|
||
}
|
||
.appbar-nav svg { width: 20px; height: 20px; fill: var(--tech-black); }
|
||
.appbar-title {
|
||
font-size: 19px;
|
||
font-weight: 700;
|
||
margin-left: 14px;
|
||
}
|
||
.page-body {
|
||
padding: 40px 24px 48px;
|
||
max-width: 780px;
|
||
margin: 0 auto;
|
||
}
|
||
.hero {
|
||
text-align: center;
|
||
margin-bottom: 34px;
|
||
}
|
||
.hero-icon {
|
||
width: 52px;
|
||
height: 52px;
|
||
margin: 0 auto 14px;
|
||
border: 2.5px solid #EF4444;
|
||
border-radius: 10px;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
padding: 7px 6px;
|
||
gap: 4px;
|
||
background: #FFF;
|
||
box-shadow: 3px 3px 0px #EF4444;
|
||
}
|
||
.hero-icon .bar {
|
||
width: 6px;
|
||
background: #EF4444;
|
||
border-radius: 1px 1px 0 0;
|
||
}
|
||
.hero-icon .b1 { height: 14px; }
|
||
.hero-icon .b2 { height: 26px; }
|
||
.hero-icon .b3 { height: 18px; }
|
||
|
||
.hero-title {
|
||
font-size: 22px;
|
||
font-weight: 800;
|
||
margin-bottom: 6px;
|
||
}
|
||
.hero-sub {
|
||
font-size: 13.5px;
|
||
color: #64748B;
|
||
font-weight: 500;
|
||
}
|
||
.cards-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
margin-bottom: 32px;
|
||
}
|
||
.tech-card {
|
||
background: #FFFFFF;
|
||
border: 2px solid var(--border-hard);
|
||
border-radius: 12px;
|
||
padding: 20px 24px;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 16px;
|
||
cursor: pointer;
|
||
box-shadow: 3px 3px 0px var(--border-hard);
|
||
transition: all 0.15s ease;
|
||
user-select: none;
|
||
}
|
||
.tech-card:hover {
|
||
transform: translate(-1px, -1px);
|
||
box-shadow: 4px 4px 0px var(--border-hard);
|
||
}
|
||
.tech-card.is-selected {
|
||
background: var(--tech-blue-bg);
|
||
border-color: var(--tech-blue);
|
||
box-shadow: 3px 3px 0px var(--tech-blue);
|
||
}
|
||
.radio-slot { margin-top: 2px; }
|
||
.radio-outer {
|
||
width: 22px;
|
||
height: 22px;
|
||
border-radius: 50%;
|
||
border: 2px solid var(--border-hard);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: #FFF;
|
||
}
|
||
.tech-card.is-selected .radio-outer {
|
||
border-color: var(--tech-blue);
|
||
background: var(--tech-blue);
|
||
}
|
||
.radio-inner {
|
||
width: 8px;
|
||
height: 8px;
|
||
border-radius: 50%;
|
||
background: #FFF;
|
||
opacity: 0;
|
||
transform: scale(0.3);
|
||
transition: all 0.15s ease;
|
||
}
|
||
.tech-card.is-selected .radio-inner {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
}
|
||
.card-content { flex: 1; }
|
||
.card-h {
|
||
font-size: 17px;
|
||
font-weight: 700;
|
||
margin-bottom: 4px;
|
||
}
|
||
.tech-card.is-selected .card-h {
|
||
color: var(--tech-blue);
|
||
}
|
||
.card-p {
|
||
font-size: 13.5px;
|
||
color: #475569;
|
||
line-height: 1.55;
|
||
}
|
||
.btn-tech-confirm {
|
||
width: 100%;
|
||
height: 48px;
|
||
background: var(--tech-green-bg);
|
||
color: var(--tech-green);
|
||
border: 2px solid var(--tech-green);
|
||
border-radius: 12px;
|
||
font-size: 16px;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
box-shadow: 3px 3px 0px var(--tech-green);
|
||
transition: all 0.15s ease;
|
||
}
|
||
.btn-tech-confirm:hover {
|
||
transform: translate(-1px, -1px);
|
||
box-shadow: 4px 4px 0px var(--tech-green);
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="device-container">
|
||
<header class="appbar">
|
||
<div class="appbar-nav"><svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></div>
|
||
<h1 class="appbar-title">选择版型</h1>
|
||
</header>
|
||
<main class="page-body">
|
||
<div class="hero">
|
||
<div class="hero-icon">
|
||
<div class="bar b1"></div>
|
||
<div class="bar b2"></div>
|
||
<div class="bar b3"></div>
|
||
</div>
|
||
<h2 class="hero-title">选择版型</h2>
|
||
<p class="hero-sub">请选择适合您使用场景的版型,后续可在设置中更改</p>
|
||
</div>
|
||
|
||
<div class="cards-list" id="editionList">
|
||
<div class="tech-card" onclick="selectCard(this)">
|
||
<div class="radio-slot"><div class="radio-outer"><div class="radio-inner"></div></div></div>
|
||
<div class="card-content">
|
||
<h3 class="card-h">专业版</h3>
|
||
<p class="card-p">为专业场馆管理员设计,布局固定专业化,核心数据字段默认全开,开箱即用</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="tech-card is-selected" onclick="selectCard(this)">
|
||
<div class="radio-slot"><div class="radio-outer"><div class="radio-inner"></div></div></div>
|
||
<div class="card-content">
|
||
<h3 class="card-h">自定义功能版</h3>
|
||
<p class="card-p">高度可配置,所有高级功能开放,适合研究员和高级用户</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<button class="btn-tech-confirm">确定</button>
|
||
</main>
|
||
</div>
|
||
<script>
|
||
function selectCard(el) {
|
||
document.querySelectorAll('.tech-card').forEach(c => c.classList.remove('is-selected'));
|
||
el.classList.add('is-selected');
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|