AndroidCode / code /10032 /10032_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Search Page UI</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: #ffffff;
}
/* Top system/status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #d0d0d0;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
color: #111;
font-size: 40px;
letter-spacing: 1px;
}
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.status-icon { width: 44px; height: 44px; }
.battery {
width: 80px; height: 40px;
}
/* Header area with back */
.header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 160px;
background: #d7d7d7;
}
.back-btn {
position: absolute;
left: 40px;
top: 50px;
width: 80px;
height: 80px;
}
/* Main content */
.content {
position: absolute;
top: 280px;
left: 0;
width: 1080px;
height: 1320px;
background: #ffffff;
box-sizing: border-box;
padding: 40px 40px 0 40px;
}
.title-row {
display: flex;
align-items: center;
font-weight: 700;
font-size: 54px;
color: #222;
}
.title-row .clear {
margin-left: auto;
font-size: 42px;
color: #555;
}
.list {
margin-top: 30px;
}
.item {
height: 160px;
display: flex;
align-items: center;
border-bottom: 1px solid #eee;
}
.clock {
width: 68px; height: 68px; margin-right: 28px;
}
.item-text {
font-size: 44px;
color: #222;
}
.chevron {
margin-left: auto;
width: 38px; height: 38px;
}
.sub-title {
font-size: 50px;
font-weight: 700;
color: #222;
margin-top: 38px;
}
/* Bottom quick actions bar */
.actions-bar {
position: absolute;
left: 0;
bottom: 900px; /* sits right above keyboard */
width: 1080px;
height: 150px;
background: #ffffff;
border-top: 1px solid #eaeaea;
display: flex;
align-items: center;
justify-content: space-around;
color: #333;
}
.action {
display: flex;
align-items: center;
flex-direction: column;
gap: 14px;
font-size: 36px;
}
.action svg { width: 64px; height: 64px; }
/* Keyboard mock */
.keyboard {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 900px;
background: #0f1a1d;
color: #e0e6e8;
box-sizing: border-box;
padding: 30px 24px;
}
.kb-row {
display: flex;
justify-content: space-between;
margin-bottom: 28px;
}
.key {
width: 88px;
height: 120px;
background: #233037;
border-radius: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 52px;
color: #cfd8dc;
}
.key.wide { width: 160px; }
.space { flex: 1; height: 120px; margin: 0 18px; }
.space .key { width: 100%; }
.key.light { background: #2b3a41; }
.search-btn {
width: 160px; height: 160px; background: #9be7c3; border-radius: 80px;
display: flex; align-items: center; justify-content: center;
position: absolute; right: 40px; bottom: 30px;
}
.backspace { width: 120px; height: 120px; }
.caps { width: 120px; height: 120px; }
/* Chevron grey arrows in list */
.chevron path { stroke: #555; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>1:44</div>
<div class="status-right">
<!-- WiFi -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 12c4-3 10-3 14 0" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="16" r="2" fill="#222"></circle>
</svg>
<!-- Battery -->
<svg class="battery" viewBox="0 0 50 24">
<rect x="1" y="4" width="42" height="16" rx="3" ry="3" fill="none" stroke="#222" stroke-width="2"></rect>
<rect x="4" y="7" width="30" height="10" rx="2" fill="#222"></rect>
<rect x="44" y="9" width="4" height="6" fill="#222"></rect>
</svg>
<!-- Signal dot -->
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#fff" stroke="#222" stroke-width="2"></circle>
<circle cx="12" cy="12" r="5" fill="#222"></circle>
</svg>
<!-- Percent -->
<div style="font-size:40px;">100%</div>
</div>
</div>
<!-- Header with back arrow -->
<div class="header">
<svg class="back-btn" viewBox="0 0 24 24">
<path d="M15 19L8 12l7-7" stroke="#111" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Main content -->
<div class="content">
<div class="title-row">
<div>Search history</div>
<div class="clear">Clear</div>
</div>
<div class="list">
<!-- Item 1 -->
<div class="item">
<svg class="clock" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#222" stroke-width="2"></circle>
<path d="M12 6v6l4 2" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div class="item-text">h&amp;m shoes</div>
<svg class="chevron" viewBox="0 0 24 24">
<path d="M9 5l7 7-7 7" stroke="#777" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<!-- Item 2 -->
<div class="item">
<svg class="clock" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#222" stroke-width="2"></circle>
<path d="M12 6v6l4 2" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div class="item-text">loafer</div>
<svg class="chevron" viewBox="0 0 24 24">
<path d="M9 5l7 7-7 7" stroke="#777" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<!-- Item 3 -->
<div class="item">
<svg class="clock" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#222" stroke-width="2"></circle>
<path d="M12 6v6l4 2" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div class="item-text">loafar</div>
<svg class="chevron" viewBox="0 0 24 24">
<path d="M9 5l7 7-7 7" stroke="#777" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="sub-title">Most popular searches</div>
<!-- empty placeholder area -->
<div style="height: 720px;"></div>
</div>
<!-- Quick actions bar -->
<div class="actions-bar">
<div class="action">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="3" fill="none" stroke="#333" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#333" stroke-width="2"></circle>
</svg>
<div>Take Photo</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="2" fill="none" stroke="#333" stroke-width="2"></rect>
<rect x="7" y="7" width="10" height="10" rx="1" fill="none" stroke="#333" stroke-width="2"></rect>
</svg>
<div>Scan Code</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24">
<path d="M12 3c3.9 0 7 3.1 7 7 0 5.2-7 11-7 11S5 15.2 5 10c0-3.9 3.1-7 7-7z" fill="none" stroke="#333" stroke-width="2"></path>
<circle cx="12" cy="10" r="3" fill="none" stroke="#333" stroke-width="2"></circle>
</svg>
<div>Find Store</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<!-- top utility icons row (minimal) -->
<div style="display:flex; gap:30px; margin-bottom:20px; align-items:center;">
<div style="width:70px; height:70px; background:#223038; border-radius:14px; display:flex; align-items:center; justify-content:center;">
<svg viewBox="0 0 24 24" width="40" height="40">
<circle cx="9" cy="9" r="5" fill="none" stroke="#cfd8dc" stroke-width="2"></circle>
<rect x="12" y="12" width="7" height="7" fill="none" stroke="#cfd8dc" stroke-width="2"></rect>
</svg>
</div>
<div style="color:#cfd8dc; font-size:36px;">GIF</div>
<div style="color:#cfd8dc; font-size:36px;">⚙️</div>
<div style="color:#cfd8dc; font-size:36px;">G</div>
<div style="color:#cfd8dc; font-size:36px;">🎨</div>
<div style="margin-left:auto; color:#cfd8dc; font-size:36px;">🎤</div>
</div>
<!-- rows -->
<div class="kb-row">
<div class="key">q</div><div class="key">w</div><div class="key">e</div><div class="key">r</div><div class="key">t</div>
<div class="key">y</div><div class="key">u</div><div class="key">i</div><div class="key">o</div><div class="key">p</div>
</div>
<div class="kb-row">
<div class="key">a</div><div class="key">s</div><div class="key">d</div><div class="key">f</div><div class="key">g</div>
<div class="key">h</div><div class="key">j</div><div class="key">k</div><div class="key">l</div>
</div>
<div class="kb-row">
<div class="key caps"></div>
<div class="key">z</div><div class="key">x</div><div class="key">c</div><div class="key">v</div><div class="key">b</div>
<div class="key">n</div><div class="key">m</div>
<div class="key backspace"></div>
</div>
<div class="kb-row" style="align-items:center;">
<div class="key wide" style="background:#78b995; color:#083;">?123</div>
<div class="key light">,</div>
<div class="key light"></div>
<div class="space"><div class="key light"></div></div>
<div class="key light">.</div>
</div>
<!-- floating green search button -->
<div class="search-btn">
<svg viewBox="0 0 24 24" width="90" height="90">
<circle cx="11" cy="11" r="7" fill="none" stroke="#083" stroke-width="2"></circle>
<path d="M16.5 16.5L22 22" stroke="#083" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
</body>
</html>