AndroidCode / code /10032 /10032_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search UI - Chelsea Boots</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
border-radius: 0;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 110px;
background: #E6E6E6;
display: flex; align-items: center;
padding: 0 30px;
color: #3a3a3a;
font-size: 36px;
}
.status-left { display: flex; align-items: center; gap: 20px; }
.status-right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.icon-small { width: 36px; height: 36px; opacity: 0.7; }
/* Search header */
.search-header {
position: absolute; left: 0; right: 0; top: 110px;
height: 150px; display: flex; align-items: center;
padding: 0 30px;
background: #ffffff;
}
.back-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-right: 16px; }
.search-input {
flex: 1;
font-size: 54px; color: #1c1c1c;
border: none; outline: none; background: transparent;
}
.cursor {
display: inline-block; width: 3px; height: 58px; background: #222; margin-left: 4px; vertical-align: bottom; animation: blink 1s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.clear-btn { color: #5f5f5f; font-size: 40px; }
/* Suggestions title */
.section-title {
position: absolute; top: 280px; left: 30px;
font-size: 42px; font-weight: 600; color: #202124;
}
/* Bottom quick actions (above keyboard) */
.quick-actions {
position: absolute; left: 0; right: 0; bottom: 1000px;
height: 180px; background: #ffffff; border-top: 1px solid #e5e5e5;
display: flex; justify-content: space-around; align-items: center;
}
.qa-item { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #343434; }
.qa-icon {
width: 88px; height: 88px; border-radius: 22px; background: #F3F3F3;
display: flex; align-items: center; justify-content: center; border: 1px solid #E0E0E0;
}
.qa-text { font-size: 34px; }
/* Keyboard */
.keyboard {
position: absolute; left: 0; right: 0; bottom: 0; height: 1000px;
background: #11181b;
color: #eaeaea;
border-top-left-radius: 22px; border-top-right-radius: 22px;
box-shadow: 0 -6px 16px rgba(0,0,0,0.25);
}
.kb-suggestions {
height: 120px; border-bottom: 1px solid #263238;
display: flex; align-items: center; padding: 0 30px; gap: 24px;
background: #121a1d;
}
.chip {
padding: 16px 28px; border-radius: 30px; background: #1d2a2f; color: #e9f0f0; font-size: 36px; border: 1px solid #2b3940;
}
.kb-rows { padding: 30px; display: grid; gap: 24px; }
.row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 18px; }
.row.wide { grid-template-columns: repeat(9, 1fr); }
.key {
height: 120px; border-radius: 18px; background: #1a2327; border: 1px solid #28353b;
display: flex; align-items: center; justify-content: center; font-size: 48px; color: #e9e9e9;
}
.key.dim { color: #b6c2c7; }
.key.wide { grid-column: span 2; }
.key.triple { grid-column: span 3; }
.space-row { display: grid; grid-template-columns: 2.2fr 1fr 3.6fr 1fr 2.2fr; gap: 18px; }
.mic-circle {
margin-left: auto; margin-right: 0;
width: 84px; height: 84px; border-radius: 50%;
background: #2a3a3f; border: 1px solid #33474e; display: flex; align-items: center; justify-content: center;
}
/* Floating search key (green) */
.search-fab {
position: absolute; right: 26px; bottom: 120px;
width: 150px; height: 150px; border-radius: 50%;
background: #A8E9C7; display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
/* Nav handle */
.nav-handle {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 24px; width: 420px; height: 10px; background: #E0E0E0; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div>1:45</div>
<svg class="icon-small" viewBox="0 0 24 24"><path fill="#5c5c5c" d="M3 12l2-2 3 3 6-6 7 7-1.5 1.5L14 10l-6 6-4-4z"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="#8a8a8a"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path fill="#8a8a8a" d="M3 12h18v2H3z"/></svg>
</div>
<div class="status-right">
<svg class="icon-small" viewBox="0 0 24 24"><path fill="#606060" d="M2 18h3V9L2 6v12zm5 0h3V5L7 2v16zm5 0h3V9l-3-3v12zm5 0h3V13l-3-3v8z"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path fill="#606060" d="M16 4H8c-1.1 0-2 .9-2 2v12l6 2 6-2V6c0-1.1-.9-2-2-2z"/></svg>
<div style="display:flex;align-items:center;gap:8px;">
<svg class="icon-small" viewBox="0 0 24 24"><rect x="2" y="7" width="18" height="10" rx="2" ry="2" fill="#606060"/><rect x="20" y="9" width="2" height="6" fill="#9e9e9e"/></svg>
<div style="font-weight:600;">100%</div>
</div>
</div>
</div>
<!-- Search Header -->
<div class="search-header">
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 24 24"><path fill="#222" d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
</div>
<div style="flex:1; display:flex; align-items:center;">
<div class="search-input" contenteditable="false">Chalsea boots</div>
<span class="cursor"></span>
</div>
<div class="clear-btn">Clear</div>
</div>
<!-- Suggestions Title -->
<div class="section-title">Search suggestions</div>
<!-- Quick Actions above keyboard -->
<div class="quick-actions">
<div class="qa-item">
<div class="qa-icon">
<svg width="54" height="54" viewBox="0 0 24 24"><path fill="#444" d="M9 2l1.7 3H15a2 2 0 012 2v9a2 2 0 01-2 2H6a2 2 0 01-2-2V7a2 2 0 012-2h1.3L9 2zm3 5a4 4 0 100 8 4 4 0 000-8z"/></svg>
</div>
<div class="qa-text">Take Photo</div>
</div>
<div class="qa-item">
<div class="qa-icon">
<svg width="56" height="56" viewBox="0 0 24 24"><path fill="#444" d="M4 4h6v2H6v4H4V4zm10 0h6v6h-2V6h-4V4zM4 14h2v4h4v2H4v-6zm16 0v6h-6v-2h4v-4h2z"/></svg>
</div>
<div class="qa-text">Scan Code</div>
</div>
<div class="qa-item">
<div class="qa-icon">
<svg width="56" height="56" viewBox="0 0 24 24"><path fill="#444" d="M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 119.5 9 2.5 2.5 0 0112 11.5z"/></svg>
</div>
<div class="qa-text">Find Store</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kb-suggestions">
<div class="chip">boots</div>
<div class="chip">bootstrap</div>
<div class="chip">boost</div>
<div style="margin-left:auto;">
<div class="mic-circle">
<svg width="42" height="42" viewBox="0 0 24 24"><path fill="#cfe5ea" d="M12 14a3 3 0 003-3V7a3 3 0 10-6 0v4a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2zM11 19h2v3h-2z"/></svg>
</div>
</div>
</div>
<div class="kb-rows">
<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>
<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 class="key dim">|</div>
</div>
<div class="row wide">
<div class="key wide">z</div><div class="key wide">x</div><div class="key wide">c</div><div class="key wide">v</div><div class="key wide">b</div><div class="key wide">n</div><div class="key wide">m</div><div class="key wide dim"></div><div class="key wide dim"></div>
</div>
<div class="space-row">
<div class="key">?123</div>
<div class="key">,</div>
<div class="key triple">space</div>
<div class="key dim">.</div>
<div class="key dim"></div>
</div>
</div>
<!-- Floating green search key -->
<div class="search-fab">
<svg width="84" height="84" viewBox="0 0 24 24"><path fill="#0b2f21" d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79L19 20.5 20.5 19 15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>
</div>
<div class="nav-handle"></div>
</div>
</div>
</body>
</html>