AndroidCode / code /10175 /10175_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
11.1 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>UI Render</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1440px;
height: 3120px;
position: relative;
overflow: hidden;
background: #181818;
color: #fff;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1440px;
height: 120px;
background: #000;
color: #fff;
}
.statusbar .time {
position: absolute;
left: 40px;
top: 28px;
font-size: 52px;
letter-spacing: 1px;
}
.status-icons {
position: absolute;
right: 40px;
top: 26px;
display: flex;
gap: 28px;
align-items: center;
}
.status-dot {
width: 16px; height: 16px; background:#fff; border-radius:50%;
}
/* App toolbar */
.appbar {
position: absolute;
top: 120px;
left: 0;
width: 1440px;
height: 160px;
background: #111;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
}
.appbar .title {
font-size: 68px;
font-weight: 700;
color: #d7d7d7;
}
.appbar .actions {
margin-left: auto;
display: flex;
gap: 60px;
align-items: center;
}
.appbar svg { width: 72px; height: 72px; fill: none; stroke: #cfcfcf; stroke-width: 6px; }
/* List area */
.list-area {
position: absolute;
top: 280px;
left: 0;
width: 1440px;
height: 1280px;
background: #efefef;
}
.file-row {
position: relative;
width: calc(100% - 80px);
margin: 30px 40px;
height: 260px;
border-radius: 18px;
background: #f7f7f7;
box-sizing: border-box;
display: flex;
align-items: center;
padding: 40px 40px;
}
.file-row.selected { background: #27486f; color: #eaf1ff; }
.file-icon {
width: 140px; height: 140px; margin-right: 40px;
background: #e0e0e0; border: 1px solid #bdbdbd; border-radius: 20px;
display: flex; align-items: center; justify-content: center; color:#757575;
}
.file-texts { flex: 1; }
.file-name {
font-size: 64px; font-weight: 800; color: #1a1a1a;
}
.selected .file-name { color: #ffffff; }
.file-meta {
margin-top: 18px; font-size: 40px; color: #6e6e6e;
}
.selected .file-meta { color: #d7e4ff; }
.file-check {
width: 80px; height: 80px; border-radius: 8px;
border: 6px solid #2b2b2b; margin-left: 30px; display:flex; align-items:center; justify-content:center;
}
.file-check.selected {
background: #0d0d0d; border-color: #0d0d0d;
}
.file-check svg { width: 60px; height: 60px; stroke: #fff; stroke-width: 8px; fill: none; }
/* Modal overlay */
.overlay {
position: absolute;
top: 0; left: 0; width: 1440px; height: 3120px;
background: rgba(0,0,0,0.45);
}
.dialog {
position: absolute;
left: 50%; top: 50%;
width: 1080px; height: 720px;
transform: translate(-50%, -40%); /* slightly above center like screenshot */
background: #ffffff;
color: #111;
border-radius: 36px;
box-shadow: 0 24px 60px rgba(0,0,0,0.4);
padding: 60px;
box-sizing: border-box;
}
.dialog h2 {
margin: 0 0 60px 0;
font-size: 64px; font-weight: 800; color: #1b1b1b;
}
.input-line {
font-size: 54px;
color: #333;
padding-bottom: 16px;
border-bottom: 3px solid #cfcfcf;
word-break: break-all;
}
.dialog-actions {
position: absolute;
bottom: 52px; right: 60px;
display: flex; gap: 40px;
}
.btn-link {
font-size: 58px; color: #4a8cff; cursor: default;
}
/* Bottom tool strip */
.strip {
position: absolute;
bottom: 540px;
left: 0;
width: 1440px;
height: 160px;
background: #dcdcdc;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
color: #333;
gap: 40px;
}
.chip {
width: 80px; height: 80px; border-radius: 12px; background:#fff; border: 2px solid #bdbdbd;
display:flex; align-items:center; justify-content:center; font-size: 42px; font-weight:700;
}
.strip svg { width: 64px; height: 64px; stroke: #333; stroke-width: 6px; fill: none; }
.strip .cancel { margin-left: auto; font-size: 52px; color: #5d5d5d; }
/* Ad banner */
.adbar {
position: absolute;
bottom: 380px;
left: 0;
width: 1440px;
height: 160px;
background: #f2f2f2;
display: flex; align-items: center;
padding: 0 40px; box-sizing: border-box;
color: #111;
gap: 30px;
border-top: 1px solid #e0e0e0;
}
.ad-img {
width: 120px; height: 120px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-size: 28px;
}
.ad-text { font-size: 48px; color:#222; }
.ad-badge { font-size: 36px; color:#6b6b6b; margin-left: 12px; }
.ad-open { margin-left: auto; font-size: 52px; color:#2b8cff; }
/* Bottom navigation */
.bottom-nav {
position: absolute;
bottom: 140px;
left: 0;
width: 1440px;
height: 240px;
background: #000;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display:flex; flex-direction: column; align-items: center; color:#fff; }
.nav-item svg { width: 120px; height: 120px; stroke-width: 6px; }
.nav-item.red svg { stroke: #d02929; fill: none; }
.nav-item.white svg { stroke: #f2f2f2; fill: none; }
/* Gesture pill */
.gesture {
position: absolute;
bottom: 60px; left: 50%;
width: 420px; height: 16px; background:#ffffff; border-radius: 12px;
transform: translateX(-50%);
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="time">3:51</div>
<div class="status-icons">
<div style="width:50px;height:50px;border-radius:50%;border:4px solid #fff;display:flex;align-items:center;justify-content:center;font-size:28px;">ib</div>
<svg viewBox="0 0 24 24"><circle cx="10" cy="10" r="6" stroke="#fff" fill="none"/><line x1="16" y1="16" x2="22" y2="22" stroke="#fff"/></svg>
<div class="status-dot"></div>
<div class="status-dot"></div>
<svg viewBox="0 0 24 24"><path d="M2 16c4-6 16-6 20 0" stroke="#fff"/><path d="M6 16c3-4 9-4 12 0" stroke="#fff"/><circle cx="12" cy="16" r="1.5" fill="#fff"/></svg>
<svg viewBox="0 0 32 18">
<rect x="1" y="3" width="26" height="12" rx="2" ry="2" stroke="#fff" fill="none" stroke-width="2"/>
<rect x="4" y="6" width="20" height="6" fill="#fff"/>
<rect x="29" y="6" width="2" height="6" fill="#fff"/>
</svg>
</div>
</div>
<!-- App toolbar -->
<div class="appbar">
<div class="title">(2)</div>
<div class="actions">
<!-- search -->
<svg viewBox="0 0 24 24"><circle cx="10" cy="10" r="7"/><line x1="16" y1="16" x2="22" y2="22"/></svg>
<!-- scissors -->
<svg viewBox="0 0 24 24">
<circle cx="6" cy="6" r="3"/>
<circle cx="6" cy="18" r="3"/>
<line x1="9" y1="8" x2="20" y2="2"/>
<line x1="9" y1="16" x2="20" y2="22"/>
</svg>
<!-- pencil -->
<svg viewBox="0 0 24 24">
<path d="M3 21l3-9 12-8 3 3-8 12-10 2z"/>
</svg>
<!-- menu -->
<svg viewBox="0 0 24 24">
<line x1="3" y1="6" x2="21" y2="6"/>
<line x1="3" y1="12" x2="21" y2="12"/>
<line x1="3" y1="18" x2="21" y2="18"/>
</svg>
</div>
</div>
<!-- File list -->
<div class="list-area">
<div class="file-row selected">
<div class="file-icon">
<svg viewBox="0 0 64 64" width="64" height="64">
<rect x="12" y="8" width="40" height="48" rx="6" ry="6" fill="#fff" stroke="#bdbdbd" stroke-width="3"/>
<path d="M28 28 v14 a8 8 0 1 0 6 7 v-21" stroke="#757575" fill="none" stroke-width="3"/>
<circle cx="24" cy="50" r="4" fill="#757575"/>
</svg>
</div>
<div class="file-texts">
<div class="file-name">2023_12_08_12_46_58_1_1....</div>
<div class="file-meta">2023-12-08 13:31, 234.3 KB 00:14s</div>
</div>
<div class="file-check selected">
<svg viewBox="0 0 24 24"><path d="M4 12l6 6 10-12"/></svg>
</div>
</div>
<div class="file-row">
<div class="file-icon">
<svg viewBox="0 0 64 64" width="64" height="64">
<rect x="12" y="8" width="40" height="48" rx="6" ry="6" fill="#fff" stroke="#bdbdbd" stroke-width="3"/>
<path d="M28 28 v14 a8 8 0 1 0 6 7 v-21" stroke="#757575" fill="none" stroke-width="3"/>
<circle cx="24" cy="50" r="4" fill="#757575"/>
</svg>
</div>
<div class="file-texts">
<div class="file-name">2023_12_08_12_46_58_1.mp3</div>
<div class="file-meta">2023-12-08 12:47, 567.8 KB 00:36s</div>
</div>
<div class="file-check"></div>
</div>
</div>
<!-- Modal overlay and dialog -->
<div class="overlay"></div>
<div class="dialog">
<h2>Insert new file name</h2>
<div class="input-line">2023_12_08_12_46_58_1_1</div>
<div class="dialog-actions">
<div class="btn-link">Cancel</div>
<div class="btn-link">OK</div>
</div>
</div>
<!-- Bottom tool strip -->
<div class="strip">
<div class="chip">1</div>
<!-- play -->
<svg viewBox="0 0 24 24"><polygon points="6,4 20,12 6,20" fill="#333"/></svg>
<!-- trash -->
<svg viewBox="0 0 24 24">
<rect x="6" y="7" width="12" height="14"/>
<line x1="4" y1="7" x2="20" y2="7"/>
<rect x="9" y="2" width="6" height="3"/>
</svg>
<!-- share -->
<svg viewBox="0 0 24 24">
<circle cx="6" cy="12" r="3"/>
<circle cx="18" cy="6" r="3"/>
<circle cx="18" cy="18" r="3"/>
<line x1="8" y1="11" x2="15" y2="7"/>
<line x1="8" y1="13" x2="15" y2="17"/>
</svg>
<div class="cancel">Cancel</div>
</div>
<!-- Ad banner -->
<div class="adbar">
<div class="ad-img">[IMG: Booking logo]</div>
<div class="ad-text">Booking.com: Hotels & Flights</div>
<div class="ad-badge">AD</div>
<div class="ad-open">OPEN</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item red">
<svg viewBox="0 0 24 24">
<path d="M6 18v-4c0-4 12-4 12 0v4"/>
<circle cx="6" cy="18" r="3"/>
<circle cx="18" cy="18" r="3"/>
</svg>
</div>
<div class="nav-item white">
<svg viewBox="0 0 24 24">
<rect x="9" y="6" width="6" height="10"/>
<line x1="9" y1="6" x2="15" y2="6"/>
<path d="M9 16v2c0 2 6 2 6 0v-2"/>
</svg>
</div>
<div class="nav-item white">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="6"/>
<line x1="12" y1="2" x2="12" y2="6"/>
<line x1="12" y1="18" x2="12" y2="22"/>
<line x1="2" y1="12" x2="6" y2="12"/>
<line x1="18" y1="12" x2="22" y2="12"/>
</svg>
</div>
</div>
<!-- Gesture pill -->
<div class="gesture"></div>
</div>
</body>
</html>