AndroidCode / code /1001 /1001_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gallery Mock</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: #232427;
color: #EDEDED;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #ECECEC;
font-size: 40px;
letter-spacing: 1px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
}
.status-dot {
width: 10px;
height: 10px;
background: #9AA0A6;
border-radius: 50%;
opacity: .9;
}
.icon {
width: 44px;
height: 44px;
fill: #E0E0E0;
}
/* Header */
.header {
padding: 16px 40px 24px 40px;
display: flex;
align-items: center;
justify-content: space-between;
}
.title-wrap {
display: flex;
align-items: center;
gap: 20px;
}
.app-mark {
width: 72px;
height: 72px;
border-radius: 12px;
background: linear-gradient(135deg, #4CAF50, #FFC107, #2196F3);
border: 1px solid #3A3A3A;
}
.title {
font-size: 56px;
font-weight: 600;
color: #F1F1F1;
}
.kebab {
width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
}
/* Quick actions */
.quick-actions {
padding: 12px 36px 8px 36px;
display: flex;
gap: 36px;
}
.qa-btn {
flex: 1;
height: 150px;
border: 2px solid #3A3A3A;
color: #DADADA;
border-radius: 26px;
display: flex;
align-items: center;
gap: 22px;
padding: 0 34px;
font-size: 44px;
background: rgba(255,255,255,0.02);
}
.qa-btn svg { width: 48px; height: 48px; fill: #B0C6FF; }
/* Section header */
.section-row {
padding: 14px 36px 16px 36px;
display: flex;
align-items: center;
justify-content: flex-end;
}
.section-label {
color: #B9C1D1;
font-size: 38px;
display: flex;
align-items: center;
gap: 12px;
}
.section-label svg { width: 34px; height: 34px; fill: #B9C1D1; }
/* Grid */
.grid {
padding: 10px 36px 0 36px;
display: flex;
flex-wrap: wrap;
gap: 48px;
}
.card {
width: calc((1080px - 36px - 36px - 48px)/2); /* two columns with outer padding and gap */
}
.thumb {
width: 100%;
height: 360px;
border-radius: 32px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
text-align: center;
}
.thumb.rounded {
border-radius: 32px;
}
.card-title {
margin-top: 20px;
font-size: 44px;
color: #F1F1F1;
}
.card-sub {
margin-top: 6px;
font-size: 32px;
color: #AEB4BE;
}
/* Bottom nav */
.bottom-nav {
position: absolute;
left: 0;
right: 0;
bottom: 72px;
height: 170px;
border-top: 1px solid #2F2F32;
background: #232427;
display: flex;
}
.tab {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
color: #C9CED6;
font-size: 34px;
}
.tab svg { width: 56px; height: 56px; }
.tab.active { color: #7FB3FF; }
.tab.active svg { fill: #7FB3FF; }
.tab svg { fill: #9AA0A6; }
/* Gesture bar */
.gesture {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 260px;
height: 10px;
border-radius: 6px;
background: #FFFFFF;
opacity: .9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>6:10</div>
<div class="status-right">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 17h18v3H3zM7 4h10l3 10H4z"/></svg>
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a10 10 0 0 0-10 10h2a8 8 0 0 1 16 0h2A10 10 0 0 0 12 2z"/></svg>
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3L1 9l11 6 9-4.91V17h2V9z"/></svg>
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16a6.471 6.471 0 0 0 4.23-1.57l.27.28v.79L20 21.49 21.49 20 15.5 14zM9.5 14A4.5 4.5 0 1 1 14 9.5 4.505 4.505 0 0 1 9.5 14z"/></svg>
<div class="status-dot"></div>
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M20.5 7.5l-8.5 10-4-4.5-6 7.5h22z"/></svg>
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M16 4H8a2 2 0 0 0-2 2v12h2v-2h8v2h2V6a2 2 0 0 0-2-2zm0 10H8V6h8v8z"/></svg>
<div style="display:flex; align-items:center; gap:8px;">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M11 20V4a1 1 0 0 1 1-1h6v18h-6a1 1 0 0 1-1-1zM6 20H4v-7h2v7z"/></svg>
<div style="font-size:36px;">100%</div>
</div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="title-wrap">
<div class="app-mark" aria-label="App icon"></div>
<div class="title">Gallery</div>
</div>
<div class="kebab" aria-label="menu">
<svg viewBox="0 0 24 24" class="icon"><path d="M12 5a2 2 0 110-4 2 2 0 010 4zm0 9a2 2 0 110-4 2 2 0 010 4zm0 9a2 2 0 110-4 2 2 0 010 4z"/></svg>
</div>
</div>
<!-- Quick actions -->
<div class="quick-actions">
<div class="qa-btn">
<svg viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>
<span>Favourites</span>
</div>
<div class="qa-btn">
<svg viewBox="0 0 24 24"><path d="M6 7h12l-1 14H7L6 7zm3-4h6l1 3H8l1-3z"/></svg>
<span>Trash</span>
</div>
</div>
<!-- Section header -->
<div class="section-row">
<div class="section-label">
<span>Recent</span>
<svg viewBox="0 0 24 24"><path d="M7 10l5-5 5 5H7zm10 4l-5 5-5-5h10z"/></svg>
</div>
</div>
<!-- Grid of folders -->
<div class="grid">
<!-- Card 1 -->
<div class="card">
<div class="thumb rounded">[IMG: Camera Folder Thumbnail]</div>
<div class="card-title">Camera</div>
<div class="card-sub">5 items 路 84 MB</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="thumb rounded">[IMG: Screenshots Preview]</div>
<div class="card-title">Screenshots</div>
<div class="card-sub">1 item 路 86 kB</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="thumb rounded">[IMG: Simple Triangle Drawing]</div>
<div class="card-title">Infinite Painter</div>
<div class="card-sub">2 items 路 135 kB</div>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="tab">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14l4-4h12a2 2 0 0 0 2-2z"/></svg>
<div>Photos</div>
</div>
<div class="tab active">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6V4zm2 0v16h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-8z"/></svg>
<div>Folders</div>
</div>
</div>
<!-- Gesture pill -->
<div class="gesture"></div>
</div>
</body>
</html>