AndroidCode / code /10166 /10166_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
6.68 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>UI Render</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Arial, Helvetica, sans-serif;
color: #3c4043;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
padding: 0 48px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 40px;
color: #757575;
}
.status-left span.cloud { margin-left: 18px; }
.status-right span { margin-left: 20px; font-size: 36px; }
/* Top app bar */
.top-bar {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 120px;
padding: 0 32px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
}
.back-btn { width: 60px; height: 60px; }
.more-btn { width: 20px; height: 60px; }
/* Hero metric panel */
.hero {
position: absolute;
top: 240px;
left: 0;
width: 1080px;
height: 1100px;
background: #E9F0FF;
}
.brand {
position: absolute;
top: 64px;
left: 64px;
display: flex;
align-items: center;
gap: 24px;
}
.brand .title {
color: #2F5DCC;
font-size: 48px;
font-weight: 600;
line-height: 1.2;
}
.brand .subtitle {
color: #2F5DCC;
font-size: 42px;
margin-top: 6px;
font-weight: 500;
}
.runner {
position: absolute;
top: 72px;
right: 72px;
width: 44px;
height: 44px;
}
.metric-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -46%);
text-align: center;
}
.metric-value {
font-size: 220px;
font-weight: 700;
color: #2F5DCC;
letter-spacing: -2px;
line-height: 1;
}
.metric-label {
margin-top: 22px;
font-size: 48px;
color: #2F5DCC;
opacity: 0.9;
}
/* Controls section */
.controls {
position: absolute;
top: 1370px;
left: 0;
width: 1080px;
padding-top: 40px;
box-sizing: border-box;
}
.tabs {
display: flex;
justify-content: center;
gap: 24px;
}
.tab {
min-width: 240px;
height: 96px;
padding: 0 36px;
border-radius: 28px;
border: 2px solid #DADCE0;
display: flex;
align-items: center;
justify-content: center;
font-size: 42px;
color: #5f6368;
background: #ffffff;
}
.tab.active {
background: #E9F0FF;
color: #2F5DCC;
border: 2px solid transparent;
font-weight: 600;
}
.section-title {
text-align: center;
margin: 46px 0 26px;
font-size: 44px;
color: #5f6368;
font-weight: 600;
}
.colors {
display: flex;
justify-content: center;
gap: 56px;
margin-top: 12px;
}
.color {
width: 150px;
height: 150px;
border-radius: 50%;
position: relative;
}
.color.selected {
border: 10px solid #2F5DCC;
box-sizing: border-box;
}
.color .inner {
position: absolute;
left: 50%;
top: 50%;
width: 110px;
height: 110px;
border-radius: 50%;
transform: translate(-50%, -50%);
}
.c-blue .inner { background: #8FB0F4; }
.c-green { background: #96CFA3; }
.c-gray { background: #DADDE1; }
.c-yellow { background: #F3D270; }
.c-red { background: #E58C80; }
/* Floating action button */
.fab {
position: absolute;
right: 120px;
bottom: 300px;
width: 150px;
height: 150px;
border-radius: 50%;
background: #E9F0FF;
box-shadow: 0 18px 32px rgba(0,0,0,0.25);
display: flex;
align-items: center;
justify-content: center;
}
/* Bottom home indicator */
.home-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 12px;
border-radius: 8px;
background: #6e6e6e;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">1:13 <span class="cloud"></span></div>
<div class="status-right"><span>📶</span><span>🔋</span></div>
</div>
<!-- Top app bar -->
<div class="top-bar">
<svg class="back-btn" viewBox="0 0 24 24">
<path d="M15 4 L7 12 L15 20" stroke="#3c4043" stroke-width="3.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<svg class="more-btn" viewBox="0 0 12 44">
<circle cx="6" cy="8" r="3" fill="#3c4043"/>
<circle cx="6" cy="22" r="3" fill="#3c4043"/>
<circle cx="6" cy="36" r="3" fill="#3c4043"/>
</svg>
</div>
<!-- Hero panel -->
<div class="hero">
<div class="brand">
<svg width="64" height="64" viewBox="0 0 48 48">
<path d="M24 40 L10 26 C4 20 8 10 16 10 C20 10 24 13 24 16 C24 13 28 10 32 10 C40 10 44 20 38 26 Z"
fill="none" stroke="#2F5DCC" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div>
<div class="title">Google Fit</div>
<div class="subtitle">Dancing</div>
</div>
</div>
<svg class="runner" viewBox="0 0 36 36">
<circle cx="26" cy="8" r="3" fill="#2F5DCC"/>
<path d="M22 12 L16 18 L10 16" stroke="#2F5DCC" stroke-width="3" fill="none" stroke-linecap="round"/>
<path d="M18 20 L22 24 L28 22" stroke="#2F5DCC" stroke-width="3" fill="none" stroke-linecap="round"/>
<path d="M14 22 L12 28" stroke="#2F5DCC" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
<div class="metric-center">
<div class="metric-value">1h</div>
<div class="metric-label">Active time</div>
</div>
</div>
<!-- Controls below hero -->
<div class="controls">
<div class="tabs">
<div class="tab active">Metrics</div>
<div class="tab">Photo</div>
</div>
<div class="section-title">Highlight color</div>
<div class="colors">
<div class="color selected c-blue">
<div class="inner"></div>
</div>
<div class="color c-green"></div>
<div class="color c-gray"></div>
<div class="color c-yellow"></div>
<div class="color c-red"></div>
</div>
</div>
<!-- Floating Action Button -->
<div class="fab">
<svg width="72" height="72" viewBox="0 0 24 24">
<path d="M5 13 L9 17 L19 7" stroke="#2F5DCC" stroke-width="3.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>