AndroidCode / code /1001 /1001_10.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=1080, initial-scale=1.0">
<title>Gallery Permission Prompt</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #121212; color: #EDEDED;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 120px; padding: 28px 38px;
color: #FFFFFFCC; font-size: 38px;
}
.status-left { position: absolute; left: 38px; top: 32px; font-weight: 600; }
.status-right { position: absolute; right: 32px; top: 28px; display: flex; align-items: center; gap: 24px; }
.status-icon {
width: 36px; height: 36px; opacity: .9;
}
.battery {
display: flex; align-items: center; gap: 10px; font-size: 34px;
}
/* Top selection bar hint (X 2) */
.selection-row {
position: absolute; top: 150px; left: 44px; display: flex; align-items: center; gap: 30px;
color: #D0D0D0; font-size: 64px; line-height: 1;
}
.selection-row .x { font-size: 84px; opacity: .9; }
.selection-row .count { font-weight: 700; }
/* Content sections */
.sections {
position: absolute; top: 250px; left: 0; right: 0;
padding: 0 28px;
}
.section-title {
color: #CFCFCF; font-weight: 700; font-size: 54px;
margin: 36px 12px 22px;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
padding: 0 12px;
}
.thumb {
position: relative;
height: 300px;
border-radius: 16px;
overflow: hidden;
background: #1E1E1E;
border: 1px solid #2B2B2B;
}
.thumb .img {
width: 100%; height: 100%;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 30px;
}
.check {
position: absolute; top: 14px; right: 14px;
width: 56px; height: 56px; border-radius: 50%;
background: #3B5BAA; display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.check svg { width: 34px; height: 34px; fill: #DDE8FF; }
/* Bottom actions behind dialog */
.bottom-actions {
position: absolute; bottom: 120px; left: 0; right: 0;
display: flex; gap: 30px; padding: 0 40px; justify-content: space-between;
}
.action-btn {
flex: 1; height: 140px; border-radius: 22px; display: flex; align-items: center; justify-content: center; gap: 18px;
font-size: 44px; letter-spacing: .2px;
}
.action-btn.outlined {
border: 3px solid #5D78B7; color: #BFD0FF; background: transparent;
}
.action-btn.solid {
background: #3E58A8; color: #EAF0FF;
}
.action-btn svg { width: 56px; height: 56px; fill: currentColor; opacity: .95; }
/* Permission dialog */
.dialog {
position: absolute; left: 110px; right: 110px; bottom: 520px;
background: #1C1C1E; color: #F5F5F5;
border-radius: 36px; padding: 48px 56px 36px;
box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.dialog .title {
font-size: 56px; font-weight: 800; margin: 0 0 32px 0;
}
.preview-row {
display: flex; gap: 26px; margin: 10px 0 34px 0;
}
.preview {
width: 240px; height: 180px; border-radius: 18px; overflow: hidden;
}
.dialog-actions {
display: flex; justify-content: flex-end; gap: 68px; margin-top: 8px;
font-size: 44px;
}
.dialog-actions .ghost { color: #CFD8FF; opacity: .9; }
.dialog-actions .primary { color: #DDE6FF; font-weight: 600; }
/* Nav pill */
.nav-pill {
position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
width: 220px; height: 10px; background: #E7E7E7; border-radius: 10px; opacity: .9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">6:15</div>
<div class="status-right">
<svg class="status-icon" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="10" fill="#FFFFFFAA"></circle>
</svg>
<svg class="status-icon" viewBox="0 0 24 24" aria-hidden="true">
<path fill="#FFFFFFAA" d="M2 18h20L12 6z"></path>
</svg>
<svg class="status-icon" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="10" cy="10" r="6" fill="none" stroke="#FFFFFFAA" stroke-width="3"></circle>
<path d="M15.5 15.5l4 4" stroke="#FFFFFFAA" stroke-width="3" stroke-linecap="round"></path>
</svg>
<div class="battery">
<svg class="status-icon" viewBox="0 0 24 24" aria-hidden="true">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="#FFFFFFAA"></rect>
<rect x="20" y="10" width="2" height="4" fill="#FFFFFFAA"></rect>
</svg>
100%
</div>
</div>
</div>
<!-- Selection Row -->
<div class="selection-row">
<div class="x">×</div>
<div class="count">2</div>
</div>
<!-- Gallery Content -->
<div class="sections">
<div class="section-title">September</div>
<div class="grid">
<div class="thumb">
<div class="img">[IMG: Yellow water bottle]</div>
</div>
<div class="thumb">
<div class="img">[IMG: City view from window]</div>
</div>
<div class="thumb">
<div class="img">[IMG: Office plant near window]</div>
<div class="check">
<svg viewBox="0 0 24 24"><path d="M9 16l-3-3 2-2 1 1 6-6 2 2z"/></svg>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Plants on white pot]</div>
</div>
</div>
<div class="section-title">August</div>
<div class="grid">
<div class="thumb">
<div class="img">[IMG: Whiteboard with small UI]</div>
</div>
<div class="thumb">
<div class="img">[IMG: Line sketch]</div>
</div>
<div class="thumb">
<div class="img">[IMG: Red scribble]</div>
</div>
</div>
<div class="section-title">July</div>
<div class="grid">
<div class="thumb">
<div class="img">[IMG: Landscape view]</div>
</div>
<div class="thumb">
<div class="img">[IMG: Plant close-up]</div>
<div class="check">
<svg viewBox="0 0 24 24"><path d="M9 16l-3-3 2-2 1 1 6-6 2 2z"/></svg>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Desk snapshot]</div>
</div>
</div>
</div>
<!-- Bottom actions (behind dialog) -->
<div class="bottom-actions">
<div class="action-btn outlined">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect x="4" y="4" width="12" height="12" rx="2" ry="2"></rect>
<rect x="8" y="8" width="12" height="12" rx="2" ry="2"></rect>
</svg>
Copy
</div>
<div class="action-btn solid">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M3 5h10v6h6v8H3z"></path>
<path d="M13 5l6 6h-6z" fill="#ffffff"></path>
</svg>
Move
</div>
</div>
<!-- Permission dialog -->
<div class="dialog">
<div class="title">Allow Gallery to modify 2 photos?</div>
<div class="preview-row">
<div class="preview">
<div class="img">[IMG: Plant in white pot]</div>
</div>
<div class="preview">
<div class="img">[IMG: Plant near window]</div>
</div>
</div>
<div class="dialog-actions">
<div class="ghost">Deny</div>
<div class="primary">Allow</div>
</div>
</div>
<!-- Navigation pill -->
<div class="nav-pill"></div>
</div>
</body>
</html>