AndroidCode / code /10022 /10022_2.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>Cuisines List UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Top status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 140px;
background: #2f2f2f;
color: #f5f5f5;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
box-sizing: border-box;
font-size: 40px;
}
.status-right {
display: flex; align-items: center; gap: 30px;
}
.icon {
width: 44px; height: 44px;
}
/* Header area */
.header {
position: absolute;
top: 140px;
left: 0;
width: 100%;
background: #ffffff;
padding: 40px 48px 30px 48px;
box-sizing: border-box;
}
.back-row {
display: flex; align-items: center; gap: 24px; color: #222;
}
.back-icon {
width: 56px; height: 56px;
}
.title {
margin-top: 30px;
font-size: 84px;
font-weight: 700;
color: #222222;
letter-spacing: 0.5px;
}
/* List area */
.list-area {
position: absolute;
top: 380px; /* just below header */
left: 0;
width: 100%;
padding-bottom: 200px;
box-sizing: border-box;
}
.card {
width: calc(100% - 96px);
margin-left: 48px;
margin-right: 48px;
margin-bottom: 42px;
height: 180px;
background: #ffffff;
border-radius: 28px;
box-shadow: 0 10px 24px rgba(0,0,0,0.12);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
box-sizing: border-box;
}
.card .label {
font-size: 44px;
font-weight: 600;
color: #222222;
}
.img-circle {
width: 150px;
height: 150px;
border-radius: 50%;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
text-align: center;
}
/* Bottom navigation bar */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 160px;
background: #2f2f2f;
}
.gesture-pill {
position: absolute;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
width: 200px;
height: 16px;
background: #d9d9d9;
border-radius: 10px;
opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top Status Bar -->
<div class="status-bar">
<div>8:41</div>
<div class="status-right">
<div style="font-size:36px;">18°</div>
<!-- Simple mail icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#f5f5f5" xmlns="http://www.w3.org/2000/svg">
<path d="M3 5h18v14H3z"></path>
<path d="M3 7l9 6 9-6" stroke="#2f2f2f" stroke-width="2" fill="none"></path>
</svg>
<div style="font-size:36px;">32°</div>
<!-- Wi-Fi icon -->
<svg class="icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M2 8c6-6 14-6 20 0" stroke="#f5f5f5" stroke-width="2" fill="none" />
<path d="M5 11c4-4 10-4 14 0" stroke="#f5f5f5" stroke-width="2" fill="none" />
<circle cx="12" cy="16" r="2" fill="#f5f5f5"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 24" xmlns="http://www.w3.org/2000/svg">
<rect x="2" y="6" width="20" height="12" rx="2" ry="2" fill="#f5f5f5"></rect>
<rect x="23" y="9" width="3" height="6" fill="#f5f5f5"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-row">
<svg class="back-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M15 19L8 12l7-7" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Cuisines</div>
</div>
<!-- List of cuisine cards -->
<div class="list-area">
<div class="card">
<div class="label">American</div>
<div class="img-circle">[IMG: Burger]</div>
</div>
<div class="card">
<div class="label">Barbecue</div>
<div class="img-circle">[IMG: Grilled Skewers]</div>
</div>
<div class="card">
<div class="label">Asian</div>
<div class="img-circle">[IMG: Stir Fry]</div>
</div>
<div class="card">
<div class="label">Italian</div>
<div class="img-circle">[IMG: Pizza]</div>
</div>
<div class="card">
<div class="label">Mexican</div>
<div class="img-circle">[IMG: Tacos]</div>
</div>
<div class="card">
<div class="label">French</div>
<div class="img-circle">[IMG: Hors d'oeuvres]</div>
</div>
<div class="card">
<div class="label">Southwestern</div>
<div class="img-circle">[IMG: Quesadilla]</div>
</div>
<div class="card">
<div class="label">Southern</div>
<div class="img-circle">[IMG: Fried Chicken]</div>
</div>
</div>
<!-- Bottom Navigation Bar -->
<div class="nav-bar">
<div class="gesture-pill"></div>
</div>
</div>
</body>
</html>