AndroidCode / code /10188 /10188_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
10.3 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; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #000; color: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 110px;
padding: 20px 36px 0 36px;
display: flex; align-items: center; justify-content: space-between;
font-size: 36px; color: #fff;
}
.status-right { display: flex; align-items: center; gap: 22px; }
.icon { width: 36px; height: 36px; display: inline-block; }
/* Header search */
.header {
position: absolute; top: 120px; left: 36px; right: 36px;
display: flex; align-items: center; gap: 24px;
}
.back-btn {
width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
}
.search-bar {
flex: 1;
border: 2px solid #3A3A3A;
border-radius: 28px;
height: 120px;
display: flex; align-items: center; padding: 0 28px;
color: #fff; background: #0e0e0e;
}
.search-text {
font-size: 40px; flex: 1; color: #EDEDED;
}
.search-actions { display: flex; align-items: center; gap: 28px; }
.round-icon {
width: 64px; height: 64px; border-radius: 20px;
display: flex; align-items: center; justify-content: center;
color: #DADADA;
}
/* Tabs */
.tabs {
position: absolute; top: 270px; left: 36px; right: 36px;
display: flex; align-items: center; gap: 60px;
font-size: 42px; color: #D0D0D0;
}
.tab-active { color: #FF6A00; position: relative; }
.tab-underline {
position: absolute; left: 0; bottom: -18px; height: 6px; width: 280px;
background: #FF6A00; border-radius: 3px;
}
/* Grid list */
.grid {
position: absolute; top: 350px; left: 36px; right: 36px; bottom: 190px;
display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 36px;
overflow: hidden;
}
.card {
width: 474px;
}
.image-wrap {
position: relative;
width: 100%; height: 520px;
border-radius: 36px; overflow: hidden;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 34px; text-align: center; padding: 20px;
}
.time-pill {
position: absolute; left: 20px; top: 20px;
background: #F4E6A6; color: #333; font-size: 34px;
padding: 10px 18px; border-radius: 24px; font-weight: 600;
}
.likes-pill {
position: absolute; right: 20px; bottom: 20px;
background: #fff; color: #000; border-radius: 30px;
padding: 10px 20px; display: flex; align-items: center; gap: 12px;
font-size: 34px; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.heart {
width: 40px; height: 40px;
}
.title {
margin-top: 18px; color: #fff; font-size: 42px; line-height: 1.25;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.author {
margin-top: 12px; display: flex; align-items: center; gap: 16px;
color: #FF6A00; font-size: 32px;
}
.avatar {
width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 22px;
}
/* Bottom nav */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0;
height: 190px;
background: linear-gradient(to top, rgba(20,20,20,1), rgba(20,20,20,0.85));
border-top: 1px solid #202020;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item {
width: 220px; display: flex; flex-direction: column; align-items: center; gap: 10px;
color: #BFBFBF; font-size: 34px;
}
.nav-item.active { color: #FF6A00; }
.nav-icon { width: 50px; height: 50px; }
.home-indicator {
position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
width: 350px; height: 12px; background: #D8D8D8; border-radius: 6px; opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>8:53</div>
<div class="status-right">
<!-- Cloud icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#ffffff" aria-hidden="true">
<path d="M6 14a4 4 0 1 0 0 8h10a4 4 0 0 0 1-7.9A6 6 0 0 0 6 10c-2.2 0-4 1.8-4 4s2 0 4 0z"/>
</svg>
<!-- Wifi icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#ffffff" aria-hidden="true">
<path d="M2 9c5-4 15-4 20 0l-2 2c-4-3-12-3-16 0L2 9zm4 5c3-2 9-2 12 0l-2 2c-2-1-6-1-8 0l-2-2zm4 5 2 2 2-2-2-2-2 2z"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 26 24" fill="#ffffff" aria-hidden="true">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2"></rect>
<rect x="21" y="9" width="3" height="6" rx="1"></rect>
<rect x="4" y="8" width="14" height="8" fill="#00D26A"></rect>
</svg>
</div>
</div>
<!-- Header with search -->
<div class="header">
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 24 24" fill="#ffffff" aria-hidden="true">
<path d="M15 18 9 12l6-6" stroke="#ffffff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="search-bar">
<div class="search-text">Asian</div>
<div class="search-actions">
<!-- Clear X -->
<div class="round-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" aria-hidden="true">
<path d="M6 6l12 12M18 6L6 18" stroke="#DADADA" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<!-- Filter sliders -->
<div class="round-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" aria-hidden="true">
<path d="M4 7h12M4 12h16M4 17h10" stroke="#DADADA" stroke-width="2" stroke-linecap="round"/>
<circle cx="18" cy="7" r="2" fill="#DADADA"></circle>
<circle cx="12" cy="12" r="2" fill="#DADADA"></circle>
<circle cx="16" cy="17" r="2" fill="#DADADA"></circle>
</svg>
</div>
</div>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab-active">Kitchen Stories
<div class="tab-underline"></div>
</div>
<div>Community</div>
<div>Unlock cookbook+</div>
</div>
<!-- Grid of cards -->
<div class="grid">
<!-- Card 1 -->
<div class="card">
<div class="image-wrap">
[IMG: Plate of sliced zucchini]
<div class="time-pill">25 min.</div>
<div class="likes-pill">
<svg class="heart" viewBox="0 0 24 24" fill="none">
<path d="M12 21s-7-4.5-9-8.5C1.2 9.2 3.4 6 6.8 6c1.7 0 3.2.8 4.2 2.1C12.1 6.8 13.6 6 15.3 6 18.6 6 20.8 9.2 21 12.5 19 16.5 12 21 12 21z" stroke="#000" fill="#fff"/>
</svg>
1.51K
</div>
</div>
<div class="title">Korean pan-fried zucchini coins (aehobak jeon)</div>
<div class="author">
<div class="avatar">Avatar</div>
<div>Dasom Yang</div>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="image-wrap">
[IMG: Bowl of fried rice]
<div class="time-pill">10 min.</div>
<div class="likes-pill">
<svg class="heart" viewBox="0 0 24 24" fill="none">
<path d="M12 21s-7-4.5-9-8.5C1.2 9.2 3.4 6 6.8 6c1.7 0 3.2.8 4.2 2.1C12.1 6.8 13.6 6 15.3 6 18.6 6 20.8 9.2 21 12.5 19 16.5 12 21 12 21z" stroke="#000" fill="#fff"/>
</svg>
60K
</div>
</div>
<div class="title">Chinese fried rice</div>
<div class="author">
<div class="avatar">Avatar</div>
<div>Yingpin</div>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="image-wrap">
[IMG: Folded kimbap sandwiches]
<div class="time-pill">20 min.</div>
<div class="likes-pill">
<svg class="heart" viewBox="0 0 24 24" fill="none">
<path d="M12 21s-7-4.5-9-8.5C1.2 9.2 3.4 6 6.8 6c1.7 0 3.2.8 4.2 2.1C12.1 6.8 13.6 6 15.3 6 18.6 6 20.8 9.2 21 12.5 19 16.5 12 21 12 21z" stroke="#000" fill="#fff"/>
</svg>
1.66K
</div>
</div>
<div class="title">Folded kimbap with tuna and kimchi</div>
<div class="author">
<div class="avatar">Avatar</div>
<div></div>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="image-wrap">
[IMG: Vietnamese summer rolls plate]
<div class="time-pill">30 min.</div>
<div class="likes-pill">
<svg class="heart" viewBox="0 0 24 24" fill="none">
<path d="M12 21s-7-4.5-9-8.5C1.2 9.2 3.4 6 6.8 6c1.7 0 3.2.8 4.2 2.1C12.1 6.8 13.6 6 15.3 6 18.6 6 20.8 9.2 21 12.5 19 16.5 12 21 12 21z" stroke="#000" fill="#fff"/>
</svg>
81.7K
</div>
</div>
<div class="title">Vietnamese-inspired summer rolls</div>
<div class="author">
<div class="avatar">Avatar</div>
<div></div>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#BFBFBF" aria-hidden="true">
<path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-9z"/>
</svg>
<div>Today</div>
</div>
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#FF6A00" aria-hidden="true">
<circle cx="11" cy="11" r="7"></circle>
<rect x="17" y="17" width="6" height="2" transform="rotate(45 17 17)"></rect>
</svg>
<div>Search</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#BFBFBF" aria-hidden="true">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 20c0-4 4-7 8-7s8 3 8 7H4z"/>
</svg>
<div>Profile</div>
</div>
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>