AndroidCode / code /1001 /1001_0.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>Mobile Photo Viewer Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
font-family: Arial, Helvetica, sans-serif;
color: #fff;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
color: #ffffff;
font-size: 42px;
letter-spacing: 0.5px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
font-size: 34px;
color: #e0e0e0;
}
.status-icon svg { width: 44px; height: 44px; }
/* Header with navigation */
.viewer-header {
position: absolute;
top: 110px;
left: 0;
width: 100%;
height: 120px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24px;
color: #fff;
}
.header-left, .header-right {
display: flex;
align-items: center;
gap: 28px;
}
.icon-btn {
width: 96px;
height: 96px;
display: flex;
align-items: center;
justify-content: center;
}
.icon-btn svg { width: 48px; height: 48px; }
.spacer-top {
position: absolute;
top: 230px; /* just below header */
left: 0;
width: 100%;
height: 30px;
}
/* Photo area */
.photo-wrap {
position: absolute;
top: 260px;
left: 30px;
width: 1020px;
height: 1600px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 40px;
}
/* Bottom actions */
.actions-bar {
position: absolute;
bottom: 140px;
left: 0;
width: 100%;
height: 290px;
display: flex;
align-items: center;
justify-content: space-around;
color: #fff;
}
.action {
width: 200px;
text-align: center;
}
.action .a-icon {
width: 96px;
height: 96px;
margin: 0 auto 22px auto;
display: flex;
align-items: center;
justify-content: center;
}
.action .a-icon svg { width: 56px; height: 56px; }
.action-label {
font-size: 36px;
color: #f5f5f5;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 14px;
background: #ffffff;
border-radius: 12px;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">6:08</div>
<div class="status-right">
<span class="status-icon" aria-label="WiFi">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M2 8c5-4 15-4 20 0"/>
<path d="M5 11c3-3 11-3 14 0"/>
<path d="M8 14c2-2 6-2 8 0"/>
<circle cx="12" cy="18" r="1.5" fill="#ffffff" stroke="none"/>
</svg>
</span>
<span class="status-icon" aria-label="Battery">
<svg viewBox="0 0 26 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="2" y="5" width="18" height="14" rx="2"></rect>
<rect x="4" y="7" width="10" height="10" fill="#ffffff" stroke="none"></rect>
<rect x="21" y="9" width="3" height="6" rx="1"></rect>
</svg>
</span>
<span>100%</span>
</div>
</div>
<!-- Viewer Header -->
<div class="viewer-header">
<div class="header-left">
<div class="icon-btn" aria-label="Back">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"></path>
</svg>
</div>
</div>
<div class="header-right">
<div class="icon-btn" aria-label="Star">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3l3.1 6.3 7 .9-5.1 4.8 1.3 6.7-6.3-3.4-6.3 3.4 1.3-6.7L1.9 10.2l7-.9z"></path>
</svg>
</div>
<div class="icon-btn" aria-label="Menu">
<svg viewBox="0 0 24 24" fill="#ffffff">
<circle cx="12" cy="5" r="2"></circle>
<circle cx="12" cy="12" r="2"></circle>
<circle cx="12" cy="19" r="2"></circle>
</svg>
</div>
</div>
</div>
<div class="spacer-top"></div>
<!-- Photo Placeholder -->
<div class="photo-wrap">[IMG: Landscape Photo]</div>
<!-- Bottom Actions -->
<div class="actions-bar">
<div class="action">
<div class="a-icon" aria-label="Share">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="18" cy="5" r="3"></circle>
<circle cx="6" cy="12" r="3"></circle>
<circle cx="18" cy="19" r="3"></circle>
<path d="M8.5 11l6-4"></path>
<path d="M14.5 17l-6-4"></path>
</svg>
</div>
<div class="action-label">Share</div>
</div>
<div class="action">
<div class="a-icon" aria-label="Auto Enhance">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2v4"></path>
<path d="M12 18v4"></path>
<path d="M4 12h4"></path>
<path d="M16 12h4"></path>
<path d="M5 5l3 3"></path>
<path d="M16 16l3 3"></path>
<path d="M16 5l3 3"></path>
<path d="M5 16l3 3"></path>
</svg>
</div>
<div class="action-label">Auto</div>
</div>
<div class="action">
<div class="a-icon" aria-label="Edit">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 21l3.5-.7L19 7.8l-2.8-2.8L3.7 17.5 3 21z"></path>
<path d="M17 5l2 2"></path>
</svg>
</div>
<div class="action-label">Edit</div>
</div>
<div class="action">
<div class="a-icon" aria-label="Trash">
<svg viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 6h18"></path>
<path d="M6 6l1-2h10l1 2"></path>
<rect x="6" y="6" width="12" height="14" rx="2"></rect>
<path d="M10 10v8"></path>
<path d="M14 10v8"></path>
</svg>
</div>
<div class="action-label">Trash</div>
</div>
</div>
<!-- Gesture Bar -->
<div class="gesture"></div>
</div>
</body>
</html>