Files
stc32g128k/Docs/40_ui-design/wristband_ui_gallery.html

470 lines
22 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">
<title>手环 AMOLED 屏幕无障碍大字版 UI 效果图画册 (A11y V3.1)</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #0A0D14;
color: #E2E8F0;
margin: 0;
padding: 40px 20px;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
h1 {
font-size: 2.2rem;
color: #00E5FF;
text-align: center;
margin-bottom: 8px;
letter-spacing: 1px;
}
.subtitle {
text-align: center;
color: #94A3B8;
font-size: 1.1rem;
margin-bottom: 50px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 40px;
justify-items: center;
}
.card {
background-color: #161B22;
border-radius: 16px;
border: 1px solid #30363D;
padding: 24px;
text-align: center;
width: 270px;
box-shadow: 0 8px 30px rgba(0,0,0,0.5);
transition: transform 0.2s, border-color 0.2s;
display: flex;
flex-direction: column;
}
.card:hover {
transform: translateY(-5px);
border-color: #00E5FF;
}
.card-title {
font-size: 1.1rem;
font-weight: bold;
color: #FFB74D;
margin-bottom: 8px;
}
.card-desc {
font-size: 0.85rem;
color: #8B949E;
margin-bottom: 20px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
/* Realistic Smartwatch CSS Simulator */
.watch-device {
position: relative;
width: 160px;
height: 280px;
background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
border-radius: 35px;
border: 5px solid #4A5568;
box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.6);
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.watch-device::before {
content: '';
position: absolute;
top: -20px;
left: 45px;
width: 70px;
height: 20px;
background-color: #2D3748;
border-radius: 5px 5px 0 0;
z-index: -1;
}
.watch-device::after {
content: '';
position: absolute;
bottom: -20px;
left: 45px;
width: 70px;
height: 20px;
background-color: #2D3748;
border-radius: 0 0 5px 5px;
z-index: -1;
}
.screen-bezel {
position: relative;
width: 130px;
height: 250px;
background-color: #000000;
border-radius: 25px;
border: 2px solid #0D1117;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
/* Inlined SVG Scaling */
.screen-bezel svg {
width: 120px;
height: 240px;
display: block;
}
/* Button operations instruction block */
.card-ops {
font-size: 0.8rem;
color: #E2E8F0;
margin-top: 20px;
text-align: left;
background-color: #0D1117;
padding: 12px;
border-radius: 8px;
border: 1px solid #21262D;
min-height: 70px;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.card-ops b {
color: #FFB74D;
display: block;
margin-bottom: 4px;
font-size: 0.85rem;
}
</style>
</head>
<body>
<div class="container">
<h1>手环 AMOLED 无障碍大字版 UI 效果图画册 (A11y V3.1)</h1>
<div class="subtitle">针对特殊人群优化的大字体、大图标单页集中展示界面效果及按键交互说明</div>
<div class="grid">
<!-- 1. Normal Clock -->
<div class="card">
<div class="card-title">1. 待机时钟界面 (DESARME)</div>
<div class="card-desc">撤防待机:超大数字时钟,状态栏左侧显示大解锁图标 🔓</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<!-- Status Bar (Left: Big Unlock, Right: Battery 16x32px text + battery icon) -->
<!-- 🔓 Unlock Icon (32x32px style) -->
<g transform="translate(10, 15)">
<rect x="0" y="8" width="20" height="15" rx="3" fill="none" stroke="#10B981" stroke-width="2"/>
<path d="M 5 8 L 5 4 C 5 2, 12 2, 15 4 L 15 10" fill="none" stroke="#10B981" stroke-width="2" stroke-linecap="round"/>
</g>
<!-- Large Battery info and Large Battery Icon -->
<text x="82" y="32" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="end">85%</text>
<rect x="86" y="19" width="24" height="13" rx="2" fill="none" stroke="#FFFFFF" stroke-width="1.8"/>
<rect x="89" y="22" width="15" height="7" rx="0.5" fill="#10B981"/>
<rect x="110" y="23" width="1.5" height="5" rx="0.5" fill="#FFFFFF"/>
<!-- Central Big Time (32x64px equivalent in SVG) -->
<text x="60" y="115" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="34" font-weight="bold" text-anchor="middle">10:35</text>
<!-- Bottom Large Date (16x32px equivalent) -->
<text x="60" y="195" fill="#94A3B8" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">VEN. 07-10</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
长按 ■ 确认键 3 秒进入主选择菜单;短按或长按 SOS 键均直接触发【本地主动报警】。
</div>
</div>
<!-- 2. Armed Clock -->
<div class="card">
<div class="card-title">2. 系统布防时钟 (ARME)</div>
<div class="card-desc">布防待机状态,状态栏左侧显示大红色锁图标 🔒</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<!-- Status Bar (Left: Big Lock 32x32px, Right: Battery with + charging indicator) -->
<!-- 🔒 Lock Icon -->
<g transform="translate(10, 15)">
<rect x="0" y="8" width="20" height="15" rx="3" fill="none" stroke="#EF4444" stroke-width="2"/>
<path d="M 5 8 L 5 3 C 5 1, 15 1, 15 3 L 15 8" fill="none" stroke="#EF4444" stroke-width="2" stroke-linecap="round"/>
</g>
<!-- Large Battery info & Icon -->
<text x="82" y="32" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="end">85%+</text>
<rect x="86" y="19" width="24" height="13" rx="2" fill="none" stroke="#FFFFFF" stroke-width="1.8"/>
<rect x="89" y="22" width="15" height="7" rx="0.5" fill="#10B981"/>
<rect x="110" y="23" width="1.5" height="5" rx="0.5" fill="#FFFFFF"/>
<!-- Central Big Time -->
<text x="60" y="115" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="34" font-weight="bold" text-anchor="middle">10:35</text>
<!-- Bottom Large Date -->
<text x="60" y="195" fill="#94A3B8" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">VEN. 07-10</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
长按 ■ 确认键 3 秒进入主菜单;短按或长按 SOS 键直接触发【本地主动报警】。
</div>
</div>
<!-- 3. Main Menu - Date/Time -->
<div class="card">
<div class="card-title">3. 主菜单: 时间修改</div>
<div class="card-desc">无障碍单页集中展示:大图标配合超大功能项文字</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<text x="60" y="35" fill="#94A3B8" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">- MENU -</text>
<!-- ⏰ 48x48px Clock Icon -->
<g transform="translate(36, 65)">
<circle cx="24" cy="24" r="20" stroke="#00E5FF" stroke-width="3" fill="none"/>
<path d="M 24 10 L 24 24 L 34 24" stroke="#00E5FF" stroke-width="3" stroke-linecap="round" fill="none"/>
<path d="M 8 6 L 16 2 M 40 6 L 32 2" stroke="#00E5FF" stroke-width="3.5" stroke-linecap="round"/>
</g>
<text x="60" y="165" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">1. HORLOGE</text>
<text x="60" y="210" fill="#64748B" font-family="system-ui, sans-serif" font-size="14" text-anchor="middle">^ v</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
按 ▲/▼ 键翻看菜单选项;短按 ■ 确认键确认选中进入;长按 ■ 3秒返回时钟。
</div>
</div>
<!-- 4. Main Menu - Pairing -->
<div class="card">
<div class="card-title">4. 主菜单: 传感器配对</div>
<div class="card-desc">无障碍单页集中展示:大雷达对码图标与对码文本</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<text x="60" y="35" fill="#94A3B8" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">- MENU -</text>
<!-- 📡 48x48px Radar Icon -->
<g transform="translate(36, 65)">
<path d="M 24 38 A 12 12 0 0 1 36 28 M 24 38 A 18 18 0 0 1 42 22 M 24 38 A 24 24 0 0 1 48 16" stroke="#00E5FF" stroke-width="3" fill="none" stroke-linecap="round"/>
<circle cx="24" cy="38" r="4" fill="#00E5FF"/>
<line x1="24" y1="38" x2="6" y2="44" stroke="#00E5FF" stroke-width="2.5"/>
</g>
<text x="60" y="165" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">2. APPAIR.</text>
<text x="60" y="210" fill="#64748B" font-family="system-ui, sans-serif" font-size="14" text-anchor="middle">^ v</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
按 ▲/▼ 键滚动菜单;短按 ■ 确认键确认选中进入对码搜索界面。
</div>
</div>
<!-- 5. Single Value Time Edit -->
<div class="card">
<div class="card-title">5. 设定时间: 修改小时</div>
<div class="card-desc">每次仅微调一项:超大数字显示,下方指示已缩短</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<text x="60" y="35" fill="#94A3B8" font-family="system-ui, sans-serif" font-size="14" font-weight="bold" text-anchor="middle">REGLER</text>
<!-- Up Arrow -->
<path d="M 60 62 L 52 72 L 68 72 Z" fill="#00E5FF"/>
<!-- Huge 32x64px hour value -->
<text x="60" y="132" fill="#00E5FF" font-family="system-ui, sans-serif" font-size="44" font-weight="bold" text-anchor="middle">10</text>
<!-- Down Arrow -->
<path d="M 60 157 L 52 147 L 68 147 Z" fill="#00E5FF"/>
<text x="60" y="200" fill="#64748B" font-family="system-ui, sans-serif" font-size="14" font-weight="bold" text-anchor="middle">VALIDER</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
按 ▲ 增加数值,▼ 减少数值;短按 ■ 确认保存并切入分秒年等微调;长按 ■ 3s 放弃退出。
</div>
</div>
<!-- 6. Pairing Search -->
<div class="card">
<div class="card-title">6. 雷达对码搜索</div>
<div class="card-desc">64x64px 超大雷达闪烁动画,文字防超出优化</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<text x="60" y="35" fill="#94A3B8" font-family="system-ui, sans-serif" font-size="14" font-weight="bold" text-anchor="middle">APPAIRAGE</text>
<!-- 64x64px Big Radar -->
<g transform="translate(28, 65)">
<path d="M 32 50 C 32 30, 48 10, 60 10 M 32 50 C 32 35, 42 20, 52 20 M 32 50 C 32 40, 36 30, 44 30" stroke="#00E5FF" stroke-width="3" fill="none" stroke-linecap="round"/>
<circle cx="32" cy="50" r="5" fill="#00E5FF"/>
<line x1="32" y1="50" x2="8" y2="58" stroke="#00E5FF" stroke-width="3"/>
</g>
<text x="60" y="165" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="14" font-weight="bold" text-anchor="middle">RECHERCHE</text>
<text x="60" y="200" fill="#00E5FF" font-family="system-ui, sans-serif" font-size="13" font-weight="bold" text-anchor="middle">ACTIVER DET.</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
触发物理传感器。捕获数据后手环将<b>自动以数据码识别类型并跳转确认页</b>。长按 ▼ 2 秒退出。
</div>
</div>
<!-- 7. Pairing Confirm -->
<div class="card">
<div class="card-title">7. 识别类型与微调序号</div>
<div class="card-desc">自动显示类型及大图标,直接对大序号框增减操作</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<text x="60" y="32" fill="#10B981" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">✓ RECU</text>
<!-- 48x48px Big Door Icon -->
<g transform="translate(36, 45)">
<rect x="2" y="2" width="24" height="42" rx="3" fill="none" stroke="#FFFFFF" stroke-width="2.5"/>
<rect x="30" y="8" width="10" height="30" rx="1.5" fill="none" stroke="#10B981" stroke-width="2.5"/>
<circle cx="8" cy="24" r="2.5" fill="#FFFFFF"/>
</g>
<!-- Only-read sensor type name (16x32px equivalent) -->
<text x="60" y="130" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">PORTE</text>
<!-- 32x64px Suffix Edit Box [ 01 ] -->
<rect x="15" y="152" width="90" height="44" rx="6" fill="none" stroke="#00E5FF" stroke-width="2"/>
<text x="60" y="186" fill="#00E5FF" font-family="system-ui, sans-serif" font-size="34" font-weight="bold" text-anchor="middle">01</text>
<text x="60" y="225" fill="#64748B" font-family="system-ui, sans-serif" font-size="13" font-weight="bold" text-anchor="middle">CONFIRMER</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
按 ▲ 键自增,▼ 键自减微调序号01~99短按 ■ 确认键保存;长按 ■ 3秒放弃。
</div>
</div>
<!-- 8. Alarm Received -->
<div class="card">
<div class="card-title">8. 收到防区报警 (PORTE)</div>
<div class="card-desc">全屏闪烁粗边框 + 64x64px 报警大图标</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<!-- 4px Flashing Red Border -->
<rect x="4" y="4" width="112" height="232" rx="20" stroke="#EF4444" stroke-width="4.5" fill="none"/>
<!-- 64x64px Huge Door Icon -->
<g transform="translate(28, 40)">
<rect x="2" y="2" width="32" height="58" rx="4" fill="none" stroke="#EF4444" stroke-width="3.5"/>
<rect x="42" y="12" width="14" height="42" rx="2" fill="none" stroke="#EF4444" stroke-width="3"/>
<circle cx="10" cy="32" r="3.5" fill="#EF4444"/>
</g>
<!-- 16x32px text warnings -->
<text x="60" y="145" fill="#EF4444" font-family="system-ui, sans-serif" font-size="16" font-weight="bold" text-anchor="middle">PORTE 01</text>
<text x="60" y="185" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="16" font-weight="bold" text-anchor="middle">INTRUSION!</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
高分贝马达与声光报警启动。短按手环侧边或上部任意键均可瞬间解除报警复位。
</div>
</div>
<!-- 9. Emitted SOS -->
<div class="card">
<div class="card-title">9. 本机主动求救 SOS</div>
<div class="card-desc">巨大警灯,通过换行与字号分配,完全防止溢出</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<rect x="4" y="4" width="112" height="232" rx="20" stroke="#EF4444" stroke-width="4.5" fill="none"/>
<!-- Huge 64x64px Rotating Siren Icon -->
<g transform="translate(28, 25)">
<!-- Rays -->
<path d="M 32 10 L 32 18 M 14 16 L 22 22 M 50 16 L 42 22 M 6 32 L 15 34 M 58 32 L 49 34" stroke="#EF4444" stroke-width="3" stroke-linecap="round"/>
<!-- Dome -->
<path d="M 12 52 C 12 28, 52 28, 52 52 Z" fill="#EF4444" stroke="#EF4444" stroke-width="2"/>
<circle cx="32" cy="45" r="7" fill="#FFFFFF"/>
<!-- Base -->
<rect x="6" y="52" width="52" height="8" rx="2" fill="#64748B"/>
</g>
<!-- Split into 2 rows to fit within 120px screen width nicely -->
<text x="60" y="125" fill="#EF4444" font-family="system-ui, sans-serif" font-size="16" font-weight="bold" text-anchor="middle">SOS</text>
<text x="60" y="152" fill="#EF4444" font-family="system-ui, sans-serif" font-size="16" font-weight="bold" text-anchor="middle">EMIS</text>
<text x="60" y="195" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="14" font-weight="bold" text-anchor="middle">APPEL...</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
连发 SOS 呼救信号。短按或长按任意按键均可停止发射并消除紧急求救。
</div>
</div>
<!-- 10. IPC Binding -->
<div class="card">
<div class="card-title">10. IPC 绑定发送页</div>
<div class="card-desc">48x48px 摄像头图标,大字发送指示</div>
<div class="watch-device">
<div class="screen-bezel">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="240" viewBox="0 0 120 240">
<rect width="120" height="240" fill="#000000"/>
<!-- 48x48px Camera Icon -->
<g transform="translate(36, 40)">
<rect x="2" y="10" width="32" height="26" rx="4" fill="none" stroke="#00E5FF" stroke-width="3"/>
<circle cx="18" cy="23" r="6" stroke="#00E5FF" stroke-width="2.5" fill="none"/>
<path d="M 34 16 L 44 10 L 44 36 L 34 30 Z" fill="#00E5FF"/>
</g>
<text x="60" y="130" fill="#FFFFFF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">LIAISON</text>
<text x="60" y="165" fill="#00E5FF" font-family="system-ui, sans-serif" font-size="15" font-weight="bold" text-anchor="middle">EN COURS</text>
<text x="60" y="215" fill="#64748B" font-family="system-ui, sans-serif" font-size="9" text-anchor="middle">ID: 0x3F882</text>
</svg>
</div>
</div>
<div class="card-ops">
<b>按键操作:</b>
连发对码信号。长按 ■ 键 3 秒 或 长按 ▼ 键 2 秒可立刻退出返回时钟。
</div>
</div>
</div>
</div>
</body>
</html>