AndroidCode / code /10046 /10046_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Search UI Mock</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: "Roboto", system-ui, -apple-system, Arial, Helvetica, sans-serif; }
#render-target {
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#191617; /* dark app background */
border-radius:24px;
box-shadow: 0 8px 30px rgba(0,0,0,0.35);
color:#e9d4da;
}
.status-bar {
position:absolute; top:0; left:0; right:0;
height:92px; padding:0 36px;
display:flex; align-items:center; justify-content:space-between;
color:#e9d4da; font-size:34px; letter-spacing:0.5px;
}
.status-left { display:flex; align-items:center; gap:18px; }
.status-right { display:flex; align-items:center; gap:22px; }
.dot { width:10px; height:10px; background:#e9d4da; border-radius:50%; opacity:0.7; }
.icon-circle {
width:28px; height:28px; border-radius:50%;
border:2px solid #e9d4da33;
}
/* Top search bar */
.search-area {
position:absolute; top:92px; left:0; right:0;
height:128px; display:flex; align-items:center;
padding:0 32px 0 24px; gap:24px;
}
.back-btn, .clear-btn {
width:60px; height:60px; display:flex; align-items:center; justify-content:center;
}
.search-text {
flex:1; font-size:48px; color:#f0d7de;
display:flex; align-items:center;
}
.caret {
width:3px; height:56px; background:#f0b7c4; margin-left:10px; border-radius:2px;
}
.divider {
position:absolute; top:220px; left:0; right:0;
height:2px; background:#3a3336;
}
/* Suggestion list */
.suggestion {
position:absolute; top:222px; left:0; right:0;
height:120px; display:flex; align-items:center; justify-content:space-between;
padding:0 40px; font-size:42px; color:#e9d4da;
}
.suggestion .time { color:#c9b7bf; }
/* Keyboard */
.keyboard {
position:absolute; bottom:0; left:0; right:0;
height:900px; background:#1b1718; border-top-left-radius:26px; border-top-right-radius:26px;
box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
}
.candidate-strip {
height:110px; display:flex; align-items:center; gap:26px;
padding:0 28px; border-bottom:2px solid #2b2527;
color:#f1d9df; font-size:40px;
}
.cand-left {
width:74px; height:74px; border-radius:20px; background:#2a2527; display:flex; align-items:center; justify-content:center;
color:#cbb8bf; font-size:36px; border:1px solid #3a3436;
}
.cand-divider { width:2px; height:46px; background:#3a3336; }
.cand-spacer { flex:1; }
.mic {
width:74px; height:74px; border-radius:37px; background:#2a2527; display:flex; align-items:center; justify-content:center;
border:1px solid #3a3436;
}
.rows { padding-top:16px; }
.row { display:flex; gap:14px; padding:0 24px; margin-top:18px; }
.key {
flex:1; height:120px; background:#2a2627; border-radius:22px; color:#ead0d8; display:flex; align-items:center; justify-content:center;
font-size:46px; border:1px solid #3a3436;
}
.key.small { flex:0 0 96px; }
.key.medium { flex:0 0 120px; }
.key.wide { flex:0 0 160px; }
.key.space { flex:1.6; font-size:38px; color:#cbb8bf; }
.key.circle {
height:150px; flex:0 0 150px; border-radius:75px; font-size:38px;
background:#e7c2ce; color:#1b1718; border:none;
}
.key.circle.gray { background:#2a2527; color:#e6d3da; border:1px solid #3a3436; }
.key.search {
background:#f0c8d2; color:#1b1718; border:none; font-weight:600;
}
.backspace {
flex:0 0 150px; height:120px; border-radius:22px; background:#2a2627; border:1px solid #3a3436; display:flex; align-items:center; justify-content:center;
}
.gesture-bar {
position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
width:220px; height:8px; background:#e7e7e7; border-radius:6px; opacity:0.8;
}
/* SVG colors */
svg { display:block; }
.ico { stroke:#e9d4da; fill:none; stroke-width:6; }
.ico-pink { stroke:#f0b7c4; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div style="font-weight:600;">8:51</div>
<div class="icon-circle"></div>
<div class="icon-circle" style="transform: rotate(45deg);"></div>
<div class="icon-circle"></div>
<div class="dot"></div>
</div>
<div class="status-right">
<!-- WiFi -->
<svg width="40" height="34" viewBox="0 0 40 34">
<path class="ico" d="M4 12c8-8 24-8 32 0M9 18c6-6 16-6 22 0M15 23c3-3 8-3 11 0M20 29l2 2" stroke="#e9d4da" />
</svg>
<!-- Signal -->
<svg width="36" height="34" viewBox="0 0 36 34">
<path class="ico" d="M4 28h4M12 22h4M20 16h4M28 8h4" stroke="#e9d4da"/>
</svg>
<!-- Battery -->
<svg width="48" height="28" viewBox="0 0 48 28">
<rect x="2" y="4" width="38" height="20" rx="4" stroke="#e9d4da" fill="none" stroke-width="4"/>
<rect x="6" y="8" width="30" height="12" rx="3" fill="#e9d4da"/>
<rect x="42" y="9" width="4" height="10" rx="2" fill="#e9d4da"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-area">
<div class="back-btn">
<svg width="44" height="44" viewBox="0 0 44 44">
<path class="ico ico-pink" d="M28 10L14 22l14 12" />
</svg>
</div>
<div class="search-text">Queenstown New Zealand<div class="caret"></div></div>
<div class="clear-btn">
<svg width="44" height="44" viewBox="0 0 44 44">
<path class="ico" d="M12 12l20 20M32 12L12 32" />
</svg>
</div>
</div>
<div class="divider"></div>
<!-- Suggestion -->
<div class="suggestion">
<div>Queenstown, New Zealand</div>
<div class="time">4:21 AM</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="candidate-strip">
<div class="cand-left">⌨︎</div>
<div>Zealand</div>
<div class="cand-divider"></div>
<div>Zealand's</div>
<div class="cand-spacer"></div>
<div class="mic">
<svg width="32" height="32" viewBox="0 0 32 32">
<rect x="10" y="6" width="12" height="14" rx="6" fill="#e6d3da"/>
<path d="M6 16c0 6 5 10 10 10s10-4 10-10" stroke="#e6d3da" stroke-width="3" fill="none"/>
<path d="M16 26v4" stroke="#e6d3da" stroke-width="3"/>
</svg>
</div>
</div>
<div class="rows">
<!-- Row 1 -->
<div class="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>
<!-- Row 2 -->
<div class="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>
<!-- Row 3 -->
<div class="row">
<div class="key wide"></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="backspace">
<svg width="64" height="42" viewBox="0 0 64 42">
<path d="M8 21l12-12h30a6 6 0 016 6v12a6 6 0 01-6 6H20L8 21z" fill="#3a3436"/>
<path d="M30 14l12 14M42 14L30 28" stroke="#e6d3da" stroke-width="4"/>
</svg>
</div>
</div>
<!-- Row 4 -->
<div class="row" style="align-items:center;">
<div class="key circle">?123</div>
<div class="key medium">,</div>
<div class="key circle gray"></div>
<div class="key space">space</div>
<div class="key medium">.</div>
<div class="key circle search">
<svg width="36" height="36" viewBox="0 0 36 36">
<circle cx="16" cy="16" r="10" stroke="#1b1718" stroke-width="4" fill="none"/>
<path d="M24 24l8 8" stroke="#1b1718" stroke-width="4" />
</svg>
</div>
</div>
</div>
<div class="gesture-bar"></div>
</div>
</div>
</body>
</html>