AndroidCode / code /1000 /1000_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mobile UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #616161;
font-size: 42px;
letter-spacing: 1px;
}
.status-icons {
display: flex;
gap: 26px;
align-items: center;
}
.icon-dot {
width: 22px;
height: 22px;
background: #9E9E9E;
border-radius: 50%;
display: inline-block;
}
/* Top toolbar */
.toolbar {
height: 120px;
padding: 0 24px;
display: flex;
align-items: center;
gap: 36px;
color: #2E2E2E;
}
.toolbar .spacer { flex: 1; }
.icon-btn {
width: 96px;
height: 96px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 16px;
color: #212121;
}
.icon-btn svg { width: 48px; height: 48px; stroke: currentColor; fill: none; stroke-width: 3; }
/* Canvas area */
.canvas-area {
height: 950px;
background: #F5F5F5;
position: relative;
overflow: hidden;
}
.band {
position: absolute;
top: 110px;
left: 0;
right: 0;
height: 280px;
background: #2E3A35;
}
.video-wrap {
position: absolute;
top: 140px;
left: 90px;
width: 900px;
height: 510px;
border: 6px solid #58A6FF;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.video-placeholder {
width: 100%;
height: 100%;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #616161;
font-size: 44px;
letter-spacing: 1px;
}
.resize-dot {
width: 26px;
height: 26px;
background: #FFFFFF;
border: 3px solid #58A6FF;
border-radius: 50%;
position: absolute;
}
.dot-tl { top: -13px; left: -13px; }
.dot-tr { top: -13px; right: -13px; }
.dot-bl { bottom: -13px; left: -13px; }
.dot-br { bottom: -13px; right: -13px; }
.play-overlay {
position: absolute;
top: 50%;
left: 50%;
width: 120px;
height: 120px;
margin-left: -60px;
margin-top: -60px;
background: rgba(0,0,0,0.55);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.play-overlay svg { width: 60px; height: 60px; fill: #FFFFFF; }
.timeline {
position: absolute;
bottom: 18px;
left: 26px;
right: 26px;
display: flex;
align-items: center;
color: #FFFFFF;
font-size: 36px;
text-shadow: 0 2px 4px rgba(0,0,0,0.6);
gap: 20px;
}
.progress {
height: 8px;
background: rgba(255,255,255,0.6);
border-radius: 4px;
flex: 1;
position: relative;
}
.progress:before {
content: "";
position: absolute;
height: 100%;
width: 15%;
background: #FFFFFF;
border-radius: 4px;
}
.rotate {
position: absolute;
top: 700px;
left: 50%;
transform: translateX(-50%);
width: 76px;
height: 76px;
background: #FFFFFF;
border-radius: 50%;
box-shadow: 0 6px 16px rgba(0,0,0,0.15);
display: flex;
align-items: center;
justify-content: center;
color: #333;
}
.rotate svg { width: 40px; height: 40px; stroke: #333; stroke-width: 3; fill: none; }
/* Bottom sheet */
.sheet {
position: absolute;
left: 0;
right: 0;
bottom: 36px;
height: 980px;
background: #FFFFFF;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
display: flex;
flex-direction: column;
}
.sheet-header {
padding: 28px 36px;
display: flex;
align-items: center;
gap: 16px;
}
.sheet-header .title {
font-size: 56px;
font-weight: 700;
color: #1E1E1E;
flex: 1;
}
.sheet-close {
width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; color: #6B6B6B;
}
.sheet-close svg { width: 40px; height: 40px; }
.sheet-content {
padding: 8px 36px 12px 36px;
overflow: hidden;
}
.check-row {
display: flex;
align-items: center;
gap: 20px;
margin: 28px 0;
color: #303030;
font-size: 42px;
}
.checkbox {
width: 44px;
height: 44px;
border: 3px solid #AAAAAA;
border-radius: 10px;
background: #FFFFFF;
}
.options-row {
margin-top: 28px;
display: flex;
gap: 24px;
overflow: hidden;
}
.option-btn {
padding: 24px 36px;
border: 3px solid #D4D4D4;
border-radius: 18px;
font-size: 40px;
color: #2E2E2E;
background: #FFFFFF;
white-space: nowrap;
}
.option-btn.secondary {
color: #616161;
}
.option-btn.selected {
border-color: #7C4DFF;
box-shadow: 0 0 0 4px rgba(124,77,255,0.12) inset;
}
/* Bottom navigation in sheet */
.sheet-nav {
margin-top: auto;
padding: 22px 80px 30px 80px;
display: flex;
justify-content: space-between;
border-top: 1px solid #EEEEEE;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
color: #606060;
font-size: 34px;
}
.nav-item svg { width: 44px; height: 44px; }
.nav-item.active { color: #6E56FF; }
/* Gesture bar */
.gesture-bar {
position: absolute;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 10px;
border-radius: 10px;
background: #000000;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">6:05</div>
<div class="status-icons">
<span class="icon-dot"></span>
<span class="icon-dot" style="opacity:0.7;"></span>
<span class="icon-dot" style="opacity:0.5;"></span>
<span class="icon-dot" style="opacity:0.4;"></span>
<!-- simple battery icon -->
<svg width="46" height="24" viewBox="0 0 46 24">
<rect x="2" y="4" width="36" height="16" rx="3" fill="none" stroke="#616161" stroke-width="3"></rect>
<rect x="6" y="8" width="24" height="8" fill="#616161"></rect>
<rect x="40" y="8" width="4" height="8" rx="1" fill="#616161"></rect>
</svg>
</div>
</div>
<!-- Toolbar -->
<div class="toolbar">
<!-- Back -->
<div class="icon-btn" title="Back">
<svg viewBox="0 0 24 24">
<path d="M15 4 L7 12 L15 20" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<!-- Preview (dashed play circle) -->
<div class="icon-btn" title="Preview">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke-dasharray="3 3"></circle>
<polygon points="10,8 16,12 10,16" fill="currentColor" stroke="none"></polygon>
</svg>
</div>
<!-- Layers -->
<div class="icon-btn" title="Layers">
<svg viewBox="0 0 24 24">
<path d="M4 12 L12 7 L20 12 L12 17 Z"></path>
<path d="M4 16 L12 11 L20 16" opacity="0.8"></path>
<path d="M4 8 L12 3 L20 8" opacity="0.8"></path>
</svg>
</div>
<!-- Undo -->
<div class="icon-btn" title="Undo">
<svg viewBox="0 0 24 24">
<path d="M9 7 L5 11 L9 15" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M6 11 H13 A6 6 0 1 1 7 17" stroke-linecap="round"></path>
</svg>
</div>
<div class="spacer"></div>
<!-- More -->
<div class="icon-btn" title="More">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="currentColor"></circle>
<circle cx="12" cy="12" r="2" fill="currentColor"></circle>
<circle cx="12" cy="19" r="2" fill="currentColor"></circle>
</svg>
</div>
<!-- Download -->
<div class="icon-btn" title="Download">
<svg viewBox="0 0 24 24">
<path d="M12 4 V14"></path>
<path d="M7 9 L12 14 L17 9" stroke-linecap="round" stroke-linejoin="round"></path>
<rect x="4" y="16" width="16" height="4" rx="2"></rect>
</svg>
</div>
<!-- Share -->
<div class="icon-btn" title="Share">
<svg viewBox="0 0 24 24">
<path d="M16 8 L8 12 L16 16"></path>
<circle cx="18" cy="7" r="3"></circle>
<circle cx="6" cy="12" r="3"></circle>
<circle cx="18" cy="17" r="3"></circle>
</svg>
</div>
</div>
<!-- Canvas area with video -->
<div class="canvas-area">
<div class="band"></div>
<div class="video-wrap">
<div class="video-placeholder">[IMG: Video Frame]</div>
<div class="play-overlay">
<svg viewBox="0 0 24 24"><polygon points="8,5 19,12 8,19"></polygon></svg>
</div>
<div class="timeline">
<div>00:00</div>
<div class="progress"></div>
<div>00:15</div>
</div>
<div class="resize-dot dot-tl"></div>
<div class="resize-dot dot-tr"></div>
<div class="resize-dot dot-bl"></div>
<div class="resize-dot dot-br"></div>
</div>
<div class="rotate" title="Rotate">
<svg viewBox="0 0 24 24">
<path d="M12 5 A7 7 0 1 0 19 12" stroke-linecap="round"></path>
<path d="M19 7 L19 12 L14 12" stroke-linecap="round"></path>
</svg>
</div>
</div>
<!-- Bottom sheet -->
<div class="sheet">
<div class="sheet-header">
<!-- Collapse/expand arrow -->
<svg width="40" height="40" viewBox="0 0 24 24" style="color:#6B6B6B">
<path d="M6 10 L12 16 L18 10" stroke="currentColor" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="title">Element Animations</div>
<div class="sheet-close" title="Close">
<svg viewBox="0 0 24 24">
<path d="M6 6 L18 18 M18 6 L6 18" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
</svg>
</div>
</div>
<div class="sheet-content">
<div class="check-row">
<div class="checkbox"></div>
<div>Apply same animation to all pages</div>
</div>
<div class="check-row" style="margin-top: 18px;">
<div class="checkbox"></div>
<div>Animate elements together</div>
</div>
<div class="options-row">
<div class="option-btn secondary">(None)</div>
<div class="option-btn">None</div>
<div class="option-btn">Bounce In</div>
<div class="option-btn selected" style="color:#6E56FF;">Swing In</div>
<div class="option-btn">Fade</div>
</div>
</div>
<div class="sheet-nav">
<div class="nav-item active">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#6E56FF" stroke-width="3"></circle>
<circle cx="12" cy="12" r="2" fill="#6E56FF"></circle>
</svg>
<div>Animations</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#606060" stroke-width="3"></circle>
<path d="M12 8 V12 L15 14" stroke="#606060" stroke-width="3" stroke-linecap="round"></path>
</svg>
<div>Duration</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<rect x="4" y="4" width="6" height="6" fill="#606060"></rect>
<rect x="14" y="4" width="6" height="6" fill="#606060"></rect>
<rect x="4" y="14" width="6" height="6" fill="#606060"></rect>
<rect x="14" y="14" width="6" height="6" fill="#606060"></rect>
</svg>
<div>Manage pages</div>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture-bar"></div>
</div>
</body>
</html>