AndroidCode / code /10145 /10145_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search Screen Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #000000;
font-family: "Roboto", Arial, Helvetica, sans-serif;
color: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
font-size: 36px;
letter-spacing: 0.5px;
}
.sb-right {
display: flex;
align-items: center;
gap: 22px;
}
.icon-wifi, .icon-signal, .icon-battery, .icon-circle {
display: inline-block;
}
.icon-signal {
width: 26px; height: 26px;
border-right: 3px solid #fff;
border-top: 3px solid #fff;
transform: rotate(45deg);
opacity: 0.9;
}
.icon-wifi {
width: 30px; height: 18px; position: relative;
}
.icon-wifi:before, .icon-wifi:after {
content: "";
position: absolute;
left: 0; right: 0;
margin: auto;
border: 3px solid #fff;
border-color: #fff transparent transparent transparent;
border-radius: 50%;
}
.icon-wifi:before { top: 0; width: 28px; height: 28px; }
.icon-wifi:after { top: 6px; width: 18px; height: 18px; }
.icon-battery {
width: 46px; height: 22px; border: 3px solid #fff; border-radius: 4px; position: relative;
}
.icon-battery:after {
content: ""; position: absolute; right: -6px; top: 6px; width: 6px; height: 10px; background: #fff; border-radius: 2px;
}
.icon-circle { width: 10px; height: 10px; background: #d9d9d9; border-radius: 50%; opacity: 0.9; }
/* Header search */
.header {
position: absolute;
top: 116px;
left: 24px;
right: 24px;
height: 96px;
display: flex;
align-items: center;
gap: 22px;
}
.back-btn {
width: 72px; height: 72px;
border: none; background: transparent; padding: 0; cursor: default;
}
.search-bar {
flex: 1;
height: 96px;
background: #2A2A2A;
border-radius: 48px;
display: flex;
align-items: center;
padding: 0 22px 0 28px;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.placeholder {
color: #CFCFCF;
font-size: 40px;
flex: 1;
white-space: nowrap;
}
.sb-icons {
display: flex;
align-items: center;
gap: 14px;
}
.chip {
width: 64px; height: 64px;
border-radius: 18px;
background: #3A3A3A;
display: flex; align-items: center; justify-content: center;
}
.chip svg { width: 32px; height: 32px; }
/* Tabs */
.tabs {
position: absolute;
top: 250px;
left: 32px;
display: flex;
gap: 42px;
align-items: center;
}
.tab {
font-size: 38px;
color: #9E9E9E;
padding-bottom: 12px;
position: relative;
}
.tab.active { color: #FFFFFF; }
.tab.active::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 120px;
height: 4px;
background: #FFFFFF;
border-radius: 2px;
}
/* Recent list */
.recent-list {
position: absolute;
top: 340px;
left: 32px;
right: 32px;
margin: 0;
padding: 0;
list-style: none;
}
.recent-list li {
font-size: 48px;
color: #F2F2F2;
margin: 38px 0;
}
.clear-link {
position: absolute;
top: 620px;
left: 32px;
font-size: 42px;
letter-spacing: 1px;
color: #6EA6FF;
font-weight: 700;
}
/* Keyboard mock */
.keyboard {
position: absolute;
left: 0; right: 0;
bottom: 74px;
height: 880px;
background: #151417;
border-top-left-radius: 26px;
border-top-right-radius: 26px;
padding: 18px 18px 26px;
display: flex;
flex-direction: column;
gap: 18px;
}
.kbd-toolbar {
display: flex;
align-items: center;
gap: 18px;
padding: 6px 6px 0;
}
.toolbar-chip {
height: 58px; min-width: 94px;
padding: 0 16px;
border-radius: 16px;
background: #2A262C;
color: #E8E8E8;
font-size: 28px;
display: flex; align-items: center; justify-content: center;
}
.kbd-row {
display: flex;
justify-content: space-between;
gap: 12px;
}
.key {
height: 114px;
width: 90px;
background: #2B2830;
border-radius: 20px;
color: #E6E3E8;
font-size: 44px;
display: flex; align-items: center; justify-content: center;
}
.key.small { width: 120px; }
.key.func { width: 140px; background: #2F2B33; }
.key.wide { flex: 1; min-width: 240px; }
.key.icon svg { width: 36px; height: 36px; }
/* Gesture bar */
.gesture {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 10px;
background: #FFFFFF;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="sb-left">8:22</div>
<div class="sb-right">
<div class="icon-signal" aria-hidden="true"></div>
<div class="icon-wifi" aria-hidden="true"></div>
<div class="icon-circle" aria-hidden="true"></div>
<div class="icon-battery" aria-hidden="true"></div>
</div>
</div>
<!-- Header with Back and Search -->
<div class="header">
<button class="back-btn" aria-label="Back">
<svg viewBox="0 0 24 24">
<path d="M15 19L8 12l7-7" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<div class="search-bar">
<div class="placeholder">Search on eBay</div>
<div class="sb-icons">
<div class="chip" aria-label="Voice search">
<svg viewBox="0 0 24 24">
<path d="M12 3.5a3.5 3.5 0 0 1 3.5 3.5v4a3.5 3.5 0 0 1-7 0V7A3.5 3.5 0 0 1 12 3.5z" fill="#FFFFFF"/>
<path d="M19 11a7 7 0 0 1-14 0" stroke="#FFFFFF" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M12 18v3" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="chip" aria-label="Image search">
<svg viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="12" rx="2" ry="2" fill="none" stroke="#FFFFFF" stroke-width="2"/>
<circle cx="12" cy="12" r="3" fill="#FFFFFF"/>
<rect x="9" y="4" width="6" height="2" rx="1" fill="#FFFFFF"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">Recent</div>
<div class="tab">Saved</div>
</div>
<!-- Recent list -->
<ul class="recent-list">
<li>nikon d5500 camera</li>
<li>pixel 6</li>
</ul>
<div class="clear-link">CLEAR RECENT SEARCHES</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kbd-toolbar">
<div class="toolbar-chip">GIF</div>
<div class="toolbar-chip">Settings</div>
<div class="toolbar-chip">Translate</div>
<div class="toolbar-chip">More</div>
</div>
<div class="kbd-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="kbd-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="kbd-row">
<div class="key func icon" aria-label="Shift">
<svg viewBox="0 0 24 24">
<path d="M12 4l7 8h-4v6H9v-6H5z" fill="#E6E3E8"/>
</svg>
</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 func icon" aria-label="Backspace">
<svg viewBox="0 0 24 24">
<path d="M22 6v12H9L3 12l6-6z" fill="none" stroke="#E6E3E8" stroke-width="2"/>
<path d="M13 9l4 4M17 9l-4 4" stroke="#E6E3E8" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="kbd-row">
<div class="key func small">?123</div>
<div class="key func small icon" aria-label="Emoji">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#E6E3E8" stroke-width="2"/>
<circle cx="9" cy="10" r="1.2" fill="#E6E3E8"/>
<circle cx="15" cy="10" r="1.2" fill="#E6E3E8"/>
<path d="M8 15c1 .8 2.4 1.2 4 1.2s3-.4 4-1.2" stroke="#E6E3E8" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="key wide"> </div>
<div class="key func small">.</div>
<div class="key func small icon" aria-label="Search">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6" stroke="#E6E3E8" stroke-width="2" fill="none"/>
<path d="M16 16l5 5" stroke="#E6E3E8" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>