AndroidCode / code /10022 /10022_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile UI Skeleton</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: Arial, Helvetica, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 140px;
background: #3a3a3a;
color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
box-sizing: border-box;
font-weight: 600;
}
.sb-left, .sb-right {
display: flex;
align-items: center;
gap: 26px;
font-size: 46px;
}
.sb-left .temp {
opacity: 0.9;
font-weight: 700;
}
.icon {
width: 44px;
height: 44px;
}
/* Content area */
.content {
position: absolute;
top: 140px;
left: 0;
width: 1080px;
height: 2120px;
padding: 60px;
box-sizing: border-box;
}
.placeholder-line {
width: 760px;
height: 24px;
background: #f5f5f5;
border-radius: 20px;
margin: 26px 0;
}
.placeholder-line.short {
width: 420px;
}
.card {
width: 960px;
height: 520px;
background: #fbfbfb;
border-radius: 34px;
border: 1px solid #f1f1f1;
margin: 80px 0;
box-sizing: border-box;
}
/* Bottom navigation bar */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 140px;
background: #3a3a3a;
display: flex;
align-items: center;
justify-content: center;
}
.home-indicator {
width: 300px;
height: 14px;
background: #dcdcdc;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div class="sb-left">
<div>8:41</div>
<div class="temp">18°</div>
<!-- Simple badge icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M12 2l6 4v6c0 4.4-3.1 8.4-6 10-2.9-1.6-6-5.6-6-10V6l6-4zm-3 7h6v2H9V9z"/>
</svg>
<div class="temp">32°</div>
</div>
<div class="sb-right">
<!-- WiFi icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M12 18.5c.8 0 1.5.7 1.5 1.5S12.8 21.5 12 21.5s-1.5-.7-1.5-1.5.7-1.5 1.5-1.5z"/>
<path d="M4.5 11.5C7.8 9 12.2 9 15.5 11.5l1.5-1.6C13.8 7.7 10.2 7.7 6.9 9.9l-2.4 1.6z" opacity=".9"/>
<path d="M1.5 8C6.7 4.3 17.3 4.3 22.5 8l-1.7 1.7C16.2 6 7.8 6 3.2 9.7L1.5 8z" opacity=".9"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M18 7h1.5c.8 0 1.5.7 1.5 1.5v6c0 .8-.7 1.5-1.5 1.5H18V7z"/>
<rect x="3" y="7" width="14" height="10" rx="2" ry="2"/>
<rect x="5" y="9" width="8" height="6" fill="#3a3a3a"/>
<path d="M9 9l-2 3h3l-2 3" fill="#ffffff"/>
</svg>
</div>
</div>
<div class="content">
<div style="height: 140px;"></div>
<div class="placeholder-line"></div>
<div class="placeholder-line short"></div>
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
</div>
<div class="nav-bar">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>