AndroidCode / code /10159 /10159_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.34 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Search UI - Antwerp</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: 'Roboto', Arial, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 110px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 38px;
color: #2E3A45;
font-size: 38px;
letter-spacing: 0.2px;
}
.status-icons {
display: flex;
align-items: center;
gap: 26px;
}
.icon {
width: 44px; height: 44px;
}
/* Top search area */
.top-area {
position: absolute;
top: 110px;
left: 0;
width: 1080px;
padding: 24px 32px 28px 32px;
box-sizing: border-box;
background: #FFFFFF;
border-bottom: 1px solid #E8EEF2;
}
.top-row {
display: flex;
align-items: center;
gap: 24px;
}
.close-btn {
width: 68px; height: 68px; border-radius: 34px;
display: flex; align-items: center; justify-content: center;
color: #3A4651; border: 1px solid #E6E9ED;
background: #FFFFFF;
}
.search-pill {
flex: 1;
height: 120px;
border-radius: 28px;
border: 4px solid #1E88E5;
display: flex; align-items: center;
padding: 0 28px;
box-sizing: border-box;
gap: 20px;
}
.search-pill .pin {
width: 50px; height: 50px;
color: #1E88E5;
}
.search-input-text {
flex: 1;
font-size: 44px;
color: #2C3F53;
font-weight: 600;
}
.pill-clear {
width: 64px; height: 64px; border-radius: 32px;
display: flex; align-items: center; justify-content: center;
color: #2C3F53; background: #F3F6FA; border: 1px solid #D7E0E7;
}
/* Content sections */
.content {
position: absolute;
top: 270px;
left: 0;
width: 1080px;
padding: 0 40px;
box-sizing: border-box;
color: #2C3F53;
}
.section-title {
display: flex; align-items: center; justify-content: space-between;
font-size: 36px; color: #7C9FB6;
margin-top: 32px; margin-bottom: 18px;
}
.divider {
width: 100%; height: 2px; background: #E6EDF3; margin: 10px 0 8px 0;
}
.item {
display: flex; align-items: center; gap: 26px;
padding: 34px 0;
}
.item-icon {
width: 58px; height: 58px; color: #7C9FB6;
}
.item-text-main {
font-size: 40px; font-weight: 700; color: #223B52;
line-height: 1.25;
}
.item-text-sub {
font-size: 34px; color: #7A8FA1;
}
/* Keyboard mock */
.keyboard {
position: absolute;
left: 0;
bottom: 80px;
width: 1080px;
height: 820px;
background: #1E1E1E;
box-sizing: border-box;
padding: 18px 22px 24px 22px;
color: #EBD9CC;
}
.kb-suggestion {
height: 76px; border-radius: 14px;
background: #2C2C2C; display: flex; align-items: center;
padding: 0 24px; font-size: 38px; color: #EBD9CC;
margin-bottom: 14px;
}
.kb-row {
display: flex; justify-content: space-between;
margin: 16px 0;
}
.key {
height: 120px; min-width: 88px; flex: 1;
margin: 0 8px; border-radius: 18px;
background: #2A2A2A; display: flex; align-items: center; justify-content: center;
font-size: 40px; color: #EBD9CC;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.key.small { flex: 0 0 140px; }
.key.medium { flex: 0 0 170px; }
.key.wide { flex: 0 0 220px; }
.key.space { flex: 1 1 480px; }
/* Bottom gesture bar */
.gesture-bar {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 400px; height: 12px; border-radius: 6px;
background: #D9D9D9;
opacity: 0.9;
}
/* Utility SVG styling */
svg { width: 100%; height: 100%; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>2:49</div>
<div class="status-icons">
<!-- mail icon -->
<div class="icon">
<svg viewBox="0 0 24 24">
<path fill="#4B5563" d="M3 5h18v14H3z" opacity="0.25"/>
<path fill="#4B5563" d="M21 5H3l9 6 9-6z"/>
</svg>
</div>
<!-- cast icon -->
<div class="icon">
<svg viewBox="0 0 24 24">
<path fill="#4B5563" d="M3 6h18v12H3z" opacity="0.25"/>
<path fill="#4B5563" d="M3 18h3c0-1.66-1.34-3-3-3v3zm0-5c3.87 0 7 3.13 7 7h3c0-5.52-4.48-10-10-10v3z"/>
</svg>
</div>
<!-- signal/battery icons simplified -->
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="2" y="8" width="14" height="8" rx="2" fill="#4B5563"/>
<rect x="17" y="10" width="3" height="4" fill="#4B5563"/>
</svg>
</div>
</div>
</div>
<!-- Search bar area -->
<div class="top-area">
<div class="top-row">
<div class="close-btn">
<svg viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#495866" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="search-pill">
<div class="pin">
<svg viewBox="0 0 24 24">
<path d="M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" fill="#1E88E5"/>
</svg>
</div>
<div class="search-input-text">Antwerp</div>
<div class="pill-clear">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="#DCE4EA"/>
<path d="M8 8l8 8M16 8l-8 8" stroke="#3A4651" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Content: Recently searched and results -->
<div class="content">
<div class="section-title">
<span>Recently searched</span>
<span style="color:#1E88E5; font-weight:600;">Clear</span>
</div>
<div class="divider"></div>
<!-- Recently searched item -->
<div class="item">
<div class="item-icon">
<svg viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="12" rx="2" fill="#7C9FB6"/>
<rect x="7" y="8" width="3" height="3" fill="#CFE0EA"/>
<rect x="11" y="8" width="3" height="3" fill="#CFE0EA"/>
<rect x="15" y="8" width="3" height="3" fill="#CFE0EA"/>
</svg>
</div>
<div>
<div class="item-text-main">Antwerp</div>
<div class="item-text-sub">Antwerp, Belgium</div>
</div>
</div>
<div class="section-title" style="margin-top: 24px;">Search results</div>
<div class="divider"></div>
<!-- Result 1 -->
<div class="item">
<div class="item-icon">
<svg viewBox="0 0 24 24">
<path d="M6 17h12l-1 2H7l-1-2zm2-10h8a2 2 0 0 1 2 2v6H6V9a2 2 0 0 1 2-2zm4 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" fill="#7C9FB6"/>
</svg>
</div>
<div class="item-text-main">Antwerp Central Station</div>
</div>
<!-- Result 2 -->
<div class="item">
<div class="item-icon">
<svg viewBox="0 0 24 24">
<path d="M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" fill="#7C9FB6"/>
</svg>
</div>
<div class="item-text-main">Antwerp Central Train Station</div>
</div>
<!-- Result 3 -->
<div class="item">
<div class="item-icon">
<svg viewBox="0 0 24 24">
<path d="M3 12l18-6-8 8 1 6-4-4-7-4z" fill="#7C9FB6"/>
</svg>
</div>
<div class="item-text-main">Antwerpen</div>
</div>
<!-- Result 4 -->
<div class="item">
<div class="item-icon">
<svg viewBox="0 0 24 24">
<path d="M6 17h12l-1 2H7l-1-2zm2-10h8a2 2 0 0 1 2 2v6H6V9a2 2 0 0 1 2-2zm4 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" fill="#7C9FB6"/>
</svg>
</div>
<div class="item-text-main">Antwerpen-Berchem</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-suggestion">Antwerp</div>
<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 small"></div><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 medium"></div>
</div>
<div class="kb-row">
<div class="key small">?123</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 small">.</div><div class="key medium">✔︎</div>
</div>
<div class="kb-row">
<div class="key small">⌨︎</div>
<div class="key small">☺︎</div>
<div class="key space"></div>
<div class="key small">,</div>
<div class="key small">🎤</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture-bar"></div>
</div>
</body>
</html>