AndroidCode / code /10108 /10108_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
7.74 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>UI Render</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: "Inter", Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: linear-gradient(180deg, #4db1ff 0%, #4e64ff 40%, #5a3ee3 70%, #4a21c9 100%);
}
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 110px;
color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
box-sizing: border-box;
font-weight: 600;
letter-spacing: 0.2px;
}
.status-left {
display: flex;
align-items: center;
gap: 18px;
font-size: 36px;
}
.status-right {
display: flex;
align-items: center;
gap: 26px;
font-size: 28px;
}
.icon {
width: 36px;
height: 36px;
}
.battery {
width: 60px;
height: 30px;
}
.top-progress {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 12px;
}
.progress-track {
width: 92%;
height: 6px;
margin: 0 auto;
border-radius: 6px;
background: rgba(255,255,255,0.25);
}
.progress-fill {
width: 32%;
height: 6px;
border-radius: 6px;
background: #34d1c6;
}
.stars-row {
position: absolute;
top: 170px;
left: 0;
width: 100%;
display: flex;
justify-content: center;
gap: 26px;
align-items: center;
}
.star {
width: 80px;
height: 80px;
}
.skip-link {
position: absolute;
top: 185px;
right: 44px;
color: #e8f0ff;
font-size: 36px;
text-decoration: underline;
opacity: 0.95;
}
.title-row {
position: absolute;
top: 270px;
left: 48px;
right: 48px;
display: flex;
align-items: center;
gap: 26px;
}
.avatar {
width: 132px;
height: 132px;
border-radius: 50%;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-weight: 600;
}
.title-text {
color: #ffffff;
font-size: 58px;
line-height: 1.15;
font-weight: 800;
letter-spacing: 0.3px;
}
.cards {
position: absolute;
top: 510px;
left: 48px;
right: 48px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px 40px;
}
.card {
height: 580px;
border: 2px solid rgba(200, 220, 255, 0.55);
border-radius: 28px;
overflow: hidden;
position: relative;
backdrop-filter: saturate(120%);
}
.img-placeholder {
width: 100%;
height: 470px;
background: #E0E0E0;
border-bottom: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-weight: 600;
font-size: 34px;
text-align: center;
padding: 0 20px;
box-sizing: border-box;
}
.card-footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 110px;
display: flex;
align-items: center;
padding: 0 28px;
box-sizing: border-box;
color: #ffffff;
font-size: 44px;
font-weight: 800;
background: rgba(85, 117, 255, 0.25);
}
.muted {
color: rgba(255,255,255,0.7);
font-weight: 700;
margin-right: 10px;
}
/* Dragged word pill */
.drag-pill {
position: absolute;
bottom: 130px;
left: 36px;
padding: 18px 30px;
border-radius: 24px;
background: #6a5953;
color: #f5f3f2;
font-size: 42px;
font-weight: 800;
box-shadow: 0 4px 10px rgba(0,0,0,0.25);
border: 2px solid rgba(255,255,255,0.2);
letter-spacing: 0.2px;
}
.drag-pill .small {
color: rgba(255,255,255,0.85);
font-weight: 700;
margin-right: 8px;
}
/* Pointer hand overlay */
.hand {
position: absolute;
bottom: 10px;
right: -6px;
width: 240px;
height: 240px;
opacity: 0.95;
}
/* Bottom home indicator */
.home-indicator {
position: absolute;
bottom: 44px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 10px;
background: rgba(255,255,255,0.85);
border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div class="status-left">
<div>6:43</div>
</div>
<div class="status-right">
<!-- Simple icons -->
<svg class="icon" viewBox="0 0 24 24" fill="none">
<path d="M2 18l10-12 10 12" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<svg class="icon" viewBox="0 0 24 24" fill="none">
<path d="M2 16c4-4 16-4 20 0" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
<path d="M6 16c3-3 9-3 12 0" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
<circle cx="12" cy="16" r="1.6" fill="#fff"/>
</svg>
<svg class="battery" viewBox="0 0 36 18" fill="none">
<rect x="1" y="3" width="30" height="12" rx="3" stroke="#fff" stroke-width="2"></rect>
<rect x="3" y="5" width="24" height="8" rx="2" fill="#fff"></rect>
<rect x="31" y="6" width="4" height="6" rx="1" fill="#fff"></rect>
</svg>
<div style="font-size:28px; font-weight:700;">100%</div>
</div>
</div>
<div class="top-progress">
<div class="progress-track">
<div class="progress-fill"></div>
</div>
</div>
<div class="stars-row">
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.7 7.4.7-5.5 4.8 1.7 7.1L12 17.9 5.3 21.3l1.7-7.1L1.5 9.4l7.4-.7L12 2z" fill="#FFD34D"></path>
</svg>
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.7 7.4.7-5.5 4.8 1.7 7.1L12 17.9 5.3 21.3l1.7-7.1L1.5 9.4l7.4-.7L12 2z" fill="#FFD34D"></path>
</svg>
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.7 7.4.7-5.5 4.8 1.7 7.1L12 17.9 5.3 21.3l1.7-7.1L1.5 9.4l7.4-.7L12 2z" fill="#FFD34D"></path>
</svg>
</div>
<div class="skip-link">Skip</div>
<div class="title-row">
<div class="avatar">[IMG: Avatar]</div>
<div class="title-text">Move the word to the correct answer</div>
</div>
<div class="cards">
<!-- Card 1: suco -->
<div class="card">
<div class="img-placeholder">[IMG: Orange juice with oranges]</div>
<div class="card-footer">
<span class="muted">(um)</span>
suco
</div>
</div>
<!-- Card 2: chá + drag pill + hand -->
<div class="card">
<div class="img-placeholder">[IMG: Tea being poured into cup]</div>
<div class="drag-pill"><span class="small">(a)</span>tea</div>
<svg class="hand" viewBox="0 0 120 120" fill="none">
<path d="M32 74c-3 4-4 9-2 14 3 7 10 10 17 8l28-8c6-2 10-8 10-15 0-5-3-10-8-12l-6-2-1-19c0-4-4-7-8-6-3 1-5 4-5 7l1 14-4-1-1-17c0-4-3-7-7-7-4 0-7 3-7 7l1 17-4-1-1-13c0-4-3-7-7-7-5 0-8 4-8 8l2 30z"
stroke="#ffffff" stroke-width="3" fill="rgba(255,255,255,0.20)" stroke-linejoin="round"/>
</svg>
<div class="card-footer">
<span class="muted">(um)</span>
chá
</div>
</div>
<!-- Card 3: vinho -->
<div class="card">
<div class="img-placeholder">[IMG: Red wine glasses outdoors]</div>
<div class="card-footer">vinho</div>
</div>
<!-- Card 4: café -->
<div class="card">
<div class="img-placeholder">[IMG: Coffee cup on newspaper]</div>
<div class="card-footer">
<span class="muted">(um)</span>
café
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>