Files
EAP_Interface_html/.preview/edition_selection/style_5_editorial.html
T

253 lines
6.3 KiB
HTML
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>方案 5:Editorial Presentation 精奢大画幅风</title>
<style>
:root {
--color-primary: #1D4ED8;
--color-primary-bg: #EFF6FF;
--color-secondary: #0F766E;
--color-secondary-bg: #CCFBF1;
--color-surface: #FFFFFF;
--color-background: #F8FAFC;
--text-primary: #0F172A;
--text-secondary: #64748B;
--divider: #E2E8F0;
--content-max-width: 860px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
background: var(--color-background);
color: var(--text-primary);
min-height: 100vh;
padding: 24px;
-webkit-font-smoothing: antialiased;
}
.device-container {
width: 100%;
max-width: 1040px;
margin: 0 auto;
background: #FFFFFF;
border-radius: 20px;
border: 1px solid var(--divider);
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
overflow: hidden;
}
.appbar {
height: 64px;
display: flex;
align-items: center;
padding: 0 28px;
border-bottom: 1px solid var(--divider);
}
.appbar-nav {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
cursor: pointer;
background: #F1F5F9;
}
.appbar-nav svg { width: 20px; height: 20px; fill: var(--text-primary); }
.appbar-title {
font-size: 20px;
font-weight: 700;
margin-left: 14px;
}
.page-body {
padding: 44px 28px 52px;
max-width: var(--content-max-width);
margin: 0 auto;
}
.hero {
text-align: center;
margin-bottom: 38px;
}
.hero-icon {
width: 58px;
height: 58px;
margin: 0 auto 16px;
border: 2.5px solid #FF5252;
border-radius: 14px;
display: flex;
align-items: flex-end;
justify-content: center;
padding: 8px 7px;
gap: 5px;
background: #FFF;
box-shadow: 0 6px 18px rgba(255, 82, 82, 0.15);
}
.hero-icon .bar {
width: 6px;
background: #FF5252;
border-radius: 2px 2px 0 0;
}
.hero-icon .b1 { height: 15px; }
.hero-icon .b2 { height: 30px; }
.hero-icon .b3 { height: 20px; }
.hero-title {
font-size: 26px;
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 8px;
}
.hero-sub {
font-size: 14.5px;
color: var(--text-secondary);
}
.card-stack {
display: flex;
flex-direction: column;
gap: 18px;
margin-bottom: 36px;
}
.edition-card {
background: #FFFFFF;
border: 1.5px solid #E2E8F0;
border-radius: 16px;
padding: 24px 28px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
cursor: pointer;
position: relative;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.edition-card:hover {
border-color: #94A3B8;
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.edition-card.is-selected {
background: var(--color-primary-bg);
border-color: var(--color-primary);
box-shadow: 0 0 0 1px var(--color-primary), 0 8px 24px rgba(29, 78, 216, 0.12);
}
.edition-card::before {
content: '';
position: absolute;
left: 0;
top: 18px;
bottom: 18px;
width: 5px;
border-radius: 0 4px 4px 0;
background: var(--color-primary);
opacity: 0;
transition: opacity 0.2s ease;
}
.edition-card.is-selected::before { opacity: 1; }
.card-left { flex: 1; padding-left: 6px; }
.edition-name {
font-size: 19px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 6px;
}
.edition-card.is-selected .edition-name {
color: var(--color-primary);
}
.edition-desc {
font-size: 14px;
color: var(--text-secondary);
line-height: 1.6;
}
.radio-outer {
width: 24px;
height: 24px;
border-radius: 50%;
border: 2px solid #CBD5E1;
display: flex;
align-items: center;
justify-content: center;
background: #FFF;
flex-shrink: 0;
transition: all 0.2s ease;
}
.edition-card.is-selected .radio-outer {
border-color: var(--color-primary);
background: var(--color-primary);
}
.radio-inner {
width: 8px;
height: 8px;
border-radius: 50%;
background: #FFF;
opacity: 0;
transform: scale(0.3);
transition: all 0.2s ease;
}
.edition-card.is-selected .radio-inner {
opacity: 1;
transform: scale(1);
}
.btn-confirm {
width: 100%;
height: 50px;
background: var(--color-secondary-bg);
color: var(--color-secondary);
border: 1.5px solid rgba(15, 118, 110, 0.25);
border-radius: 14px;
font-size: 16.5px;
font-weight: 700;
cursor: pointer;
transition: all 0.15s ease;
letter-spacing: 0.04em;
}
.btn-confirm:hover {
background: #A7F3D0;
transform: translateY(-1px);
}
</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="card-stack" id="editionList">
<div class="edition-card" onclick="selectEdition(this)">
<div class="card-left">
<h3 class="edition-name">专业版</h3>
<p class="edition-desc">为专业场馆管理员设计,布局固定专业化,核心数据字段默认全开,开箱即用</p>
</div>
<div class="radio-outer"><div class="radio-inner"></div></div>
</div>
<div class="edition-card is-selected" onclick="selectEdition(this)">
<div class="card-left">
<h3 class="edition-name">自定义功能版</h3>
<p class="edition-desc">高度可配置,所有高级功能开放,适合研究员和高级用户</p>
</div>
<div class="radio-outer"><div class="radio-inner"></div></div>
</div>
</div>
<button class="btn-confirm">确定</button>
</main>
</div>
<script>
function selectEdition(el) {
document.querySelectorAll('.edition-card').forEach(c => c.classList.remove('is-selected'));
el.classList.add('is-selected');
}
</script>
</body>
</html>