AndroidCode / code /10173 /10173_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
10.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FAFAFA;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #111;
}
/* Status bar */
.status-bar {
height: 110px;
background: #EDEDED;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
font-size: 34px;
color: #222;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 22px;
}
.dot { width: 10px; height: 10px; background:#777; border-radius:50%; display:inline-block; }
/* Search bar */
.search-wrap {
height: 130px;
background: #FFFFFF;
display: flex;
align-items: center;
padding: 0 28px;
border-bottom: 1px solid #E6E6E6;
}
.search-field {
flex: 1;
height: 92px;
border-radius: 46px;
background: #F3F3F3;
display: flex;
align-items: center;
padding: 0 32px;
gap: 24px;
color: #777;
font-size: 36px;
}
.icon {
width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: #666;
}
.mic-btn { margin-left: 20px; }
/* Suggestions */
.suggestions {
background: #FFFFFF;
}
.s-item {
display: flex;
align-items: center;
padding: 26px 24px 26px 24px;
border-bottom: 1px solid #EFEFEF;
}
.s-left {
width: 80px;
display: flex; align-items: center; justify-content: center;
color: #777;
}
.s-mid { flex: 1; }
.s-title {
font-size: 40px;
color: #222;
line-height: 1.2;
}
.s-sub {
margin-top: 6px;
font-size: 32px;
color: #3F51F7;
}
.s-right { width: 80px; display:flex; align-items:center; justify-content:center; color:#888; }
/* Discover */
.discover {
padding: 30px 24px 20px 24px;
background: #FFFFFF;
border-top: 12px solid #F1F1F4;
}
.discover h3 {
margin: 0 0 24px 6px;
font-size: 36px;
color: #333;
font-weight: 600;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 22px;
}
.chip {
padding: 20px 28px;
background: #FFFFFF;
border: 1px solid #E6E6F2;
border-radius: 16px;
color: #5B63FF;
font-size: 34px;
box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
/* Keyboard mock */
.keyboard {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 820px;
background: #171717;
border-top-left-radius: 24px;
border-top-right-radius: 24px;
box-shadow: 0 -4px 18px rgba(0,0,0,0.25);
padding: 26px 22px;
color: #EDEDED;
}
.kbd-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 18px;
}
.kbd-top .round {
width: 70px; height: 70px; background: #222; border-radius: 16px; display:flex; align-items:center; justify-content:center;
color:#BDBDBD; font-size: 28px;
}
.rows { display: grid; row-gap: 16px; }
.row { display: flex; gap: 12px; justify-content: center; }
.key {
height: 120px; min-width: 86px;
background: #242424;
border-radius: 18px;
display:flex; align-items:center; justify-content:center;
font-size: 38px; color: #F3F3F3;
}
.key.wide { min-width: 140px; }
.space { flex: 1; min-width: 520px; }
.enter { background:#3C6DF6; }
.footer-bar {
position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
width: 360px; height: 10px; background:#D1D1D1; border-radius: 6px; opacity: .8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>11:25</div>
<div class="status-icons">
<span class="dot"></span>
<span style="font-size:26px; color:#666;">B</span>
<span class="dot"></span><span class="dot"></span>
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#555" stroke-width="2">
<path d="M3 18h18M5 18c0-6 14-6 14 0"></path>
</svg>
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#555" stroke-width="2">
<path d="M3 12h18"></path>
</svg>
</div>
</div>
<!-- Search Bar -->
<div class="search-wrap">
<div class="search-field">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M20 20l-4-4"></path>
</svg>
<div>Search for Products, Brands and More</div>
</div>
<div class="mic-btn icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14a3 3 0 0 0 3-3V7a3 3 0 1 0-6 0v4a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2z"/>
</svg>
</div>
</div>
<!-- Suggestions List -->
<div class="suggestions">
<div class="s-item">
<div class="s-left">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M12 8v5l4 2"></path>
<path d="M21 12a9 9 0 1 1-2.64-6.36"></path>
</svg>
</div>
<div class="s-mid">
<div class="s-title">shirt for men</div>
<div class="s-sub">in Casual Shirts</div>
</div>
<div class="s-right">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M7 17L17 7"></path>
<path d="M8 7h9v9"></path>
</svg>
</div>
</div>
<div class="s-item">
<div class="s-left">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M12 8v5l4 2"></path>
<path d="M21 12a9 9 0 1 1-2.64-6.36"></path>
</svg>
</div>
<div class="s-mid">
<div class="s-title">cycling shoes for men</div>
</div>
<div class="s-right">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M7 17L17 7"></path>
<path d="M8 7h9v9"></path>
</svg>
</div>
</div>
<div class="s-item">
<div class="s-left">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M12 8v5l4 2"></path>
<path d="M21 12a9 9 0 1 1-2.64-6.36"></path>
</svg>
</div>
<div class="s-mid">
<div class="s-title">cycling shoes for men</div>
<div class="s-sub">in Men's Sports Shoes</div>
</div>
<div class="s-right">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M7 17L17 7"></path>
<path d="M8 7h9v9"></path>
</svg>
</div>
</div>
<div class="s-item">
<div class="s-left">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M12 8v5l4 2"></path>
<path d="M21 12a9 9 0 1 1-2.64-6.36"></path>
</svg>
</div>
<div class="s-mid">
<div class="s-title">hiking shoes</div>
<div class="s-sub">in Men's Sports Shoes</div>
</div>
<div class="s-right">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M7 17L17 7"></path>
<path d="M8 7h9v9"></path>
</svg>
</div>
</div>
<div class="s-item">
<div class="s-left">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M12 8v5l4 2"></path>
<path d="M21 12a9 9 0 1 1-2.64-6.36"></path>
</svg>
</div>
<div class="s-mid">
<div class="s-title">shoes</div>
</div>
<div class="s-right">
<svg viewBox="0 0 24 24" width="44" height="44" stroke="currentColor" fill="none" stroke-width="2">
<path d="M7 17L17 7"></path>
<path d="M8 7h9v9"></path>
</svg>
</div>
</div>
</div>
<!-- Discover More -->
<div class="discover">
<h3>Discover More</h3>
<div class="chips">
<div class="chip">Mobiles</div>
<div class="chip">Shoes</div>
<div class="chip">T shirts</div>
<div class="chip">Laptops</div>
<div class="chip">Watches</div>
<div class="chip">Tv</div>
<div class="chip">Sarees</div>
<div class="chip">Headphones</div>
<div class="chip">Bluetooth</div>
<div class="chip">Fridge</div>
<div class="chip">Bedsheet</div>
<div class="chip">Water bottle</div>
</div>
</div>
<!-- Keyboard Mock -->
<div class="keyboard">
<div class="kbd-top">
<div style="display:flex; gap:12px;">
<div class="round"></div>
<div class="round">😊</div>
<div class="round">GIF</div>
<div class="round">⚙️</div>
<div class="round">G↔︎</div>
<div class="round">🎨</div>
</div>
<div class="round">🎙️</div>
</div>
<div class="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 wide">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 wide">L</div>
</div>
<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="key wide"></div>
</div>
<div class="row">
<div class="key wide">?123</div>
<div class="key wide">,</div>
<div class="key space"> </div>
<div class="key wide">.</div>
<div class="key wide enter"></div>
</div>
</div>
<div class="footer-bar"></div>
</div>
</div>
</body>
</html>