AndroidCode / code /10173 /10173_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
10.8 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; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.statusbar {
height: 110px;
background: #E9E9EB;
display: flex;
align-items: center;
padding: 0 32px;
color: #2E2E2E;
box-sizing: border-box;
font-weight: 600;
font-size: 36px;
}
.statusbar .time { flex: 0 0 auto; }
.statusbar .status-icons {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.icon-small { width: 38px; height: 22px; }
/* Search area */
.search-area {
padding: 18px 24px 8px;
background: #FFFFFF;
}
.search-field {
height: 110px;
border: 1px solid #E3E3E6;
border-radius: 56px;
display: flex;
align-items: center;
padding: 0 28px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.search-field .placeholder {
color: #8A8A8F;
font-size: 36px;
margin-left: 20px;
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.icon-48 { width: 48px; height: 48px; }
/* Suggestion list */
.suggestions { padding: 0 0 0 0; }
.suggestion {
display: flex;
align-items: center;
padding: 24px 24px;
gap: 24px;
}
.suggestion + .suggestion { border-top: 1px solid #EFEFF2; }
.s-texts { flex: 1; }
.s-title { font-size: 38px; color: #2E2E2E; }
.s-sub { font-size: 30px; color: #4D46E5; margin-top: 8px; }
.history-ico { width: 54px; height: 54px; }
.arrow-ico { width: 40px; height: 40px; opacity: 0.6; }
/* Discover more */
.discover-wrap {
border-top: 10px solid #F0F0F3;
padding: 28px 24px 18px;
}
.discover-title {
font-size: 36px;
color: #3A3A3C;
margin-bottom: 22px;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 22px;
}
.chip {
padding: 22px 28px;
background: #F6F6FF;
color: #4D46E5;
border: 1px solid #E4E4F5;
border-radius: 16px;
font-size: 34px;
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
/* Keyboard mock */
.keyboard {
position: absolute;
left: 0;
bottom: 60px;
width: 100%;
height: 900px;
background: #1F1F1F;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
padding: 24px 26px;
box-sizing: border-box;
color: #fff;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.kb-top {
display: flex;
gap: 24px;
align-items: center;
}
.kb-top .round {
width: 92px;
height: 92px;
background: #2C2C2E;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
color: #D0D0D2;
font-size: 30px;
}
.key-row {
display: flex;
justify-content: space-between;
gap: 14px;
}
.key {
flex: 1;
height: 120px;
background: #2C2C2E;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
color: #FFFFFF;
font-size: 46px;
font-weight: 600;
}
.key.wide { flex: 1.6; }
.key.extra-wide { flex: 3.6; }
.key.action { background: #3A3A3C; color: #D6E4FF; }
.nav-pill {
position: absolute;
bottom: 14px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 10px;
background: #D0D0D2;
border-radius: 10px;
opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="statusbar">
<div class="time">11:26</div>
<div class="status-icons">
<!-- Simple placeholders for signal, wifi and battery -->
<svg class="icon-small" viewBox="0 0 24 12"><rect x="0" y="6" width="4" height="6" fill="#4A4A4A"/><rect x="6" y="4" width="4" height="8" fill="#4A4A4A"/><rect x="12" y="2" width="4" height="10" fill="#4A4A4A"/><rect x="18" y="0" width="4" height="12" fill="#4A4A4A"/></svg>
<svg class="icon-small" viewBox="0 0 24 20"><path d="M2 20c4-5 8-8 10-8s6 3 10 8" fill="none" stroke="#4A4A4A" stroke-width="2"/></svg>
<svg class="icon-small" viewBox="0 0 28 14">
<rect x="0.5" y="1" width="22" height="12" rx="2" ry="2" fill="none" stroke="#4A4A4A" stroke-width="2"/>
<rect x="3" y="3.5" width="16" height="7" fill="#4A4A4A"/>
<rect x="24" y="5" width="3" height="4" fill="#4A4A4A"/>
</svg>
</div>
</div>
<!-- Search field -->
<div class="search-area">
<div class="search-field">
<!-- Search icon -->
<svg class="icon-48" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#6B6B6E" stroke-width="2" fill="none"></circle>
<path d="M16 16l6 6" stroke="#6B6B6E" stroke-width="2" />
</svg>
<div class="placeholder">Search for Products, Brands and More</div>
<!-- Mic icon -->
<svg class="icon-48" viewBox="0 0 24 24">
<rect x="9" y="4" width="6" height="10" rx="3" fill="#6B6B6E"></rect>
<path d="M5 11c0 4 3 6 7 6s7-2 7-6" stroke="#6B6B6E" stroke-width="2" fill="none"></path>
<path d="M12 17v3" stroke="#6B6B6E" stroke-width="2"></path>
</svg>
</div>
</div>
<!-- Suggestions -->
<div class="suggestions">
<div class="suggestion">
<!-- history icon -->
<svg class="history-ico" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#A0A0A5" stroke-width="2" fill="none"></circle>
<path d="M12 7v6l4 2" stroke="#A0A0A5" stroke-width="2" fill="none"></path>
</svg>
<div class="s-texts">
<div class="s-title">shirt for men</div>
<div class="s-sub">in Casual Shirts</div>
</div>
<svg class="arrow-ico" viewBox="0 0 24 24">
<path d="M5 19L19 5" stroke="#6B6B6E" stroke-width="2"></path>
<path d="M8 5h11v11" stroke="#6B6B6E" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="suggestion">
<svg class="history-ico" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#A0A0A5" stroke-width="2" fill="none"></circle>
<path d="M12 7v6l4 2" stroke="#A0A0A5" stroke-width="2" fill="none"></path>
</svg>
<div class="s-texts">
<div class="s-title">cycling shoes for men</div>
</div>
<svg class="arrow-ico" viewBox="0 0 24 24">
<path d="M5 19L19 5" stroke="#6B6B6E" stroke-width="2"></path>
<path d="M8 5h11v11" stroke="#6B6B6E" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="suggestion">
<svg class="history-ico" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#A0A0A5" stroke-width="2" fill="none"></circle>
<path d="M12 7v6l4 2" stroke="#A0A0A5" stroke-width="2" fill="none"></path>
</svg>
<div class="s-texts">
<div class="s-title">cycling shoes for men</div>
<div class="s-sub">in Men's Sports Shoes</div>
</div>
<svg class="arrow-ico" viewBox="0 0 24 24">
<path d="M5 19L19 5" stroke="#6B6B6E" stroke-width="2"></path>
<path d="M8 5h11v11" stroke="#6B6B6E" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="suggestion">
<svg class="history-ico" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#A0A0A5" stroke-width="2" fill="none"></circle>
<path d="M12 7v6l4 2" stroke="#A0A0A5" stroke-width="2" fill="none"></path>
</svg>
<div class="s-texts">
<div class="s-title">hiking shoes</div>
<div class="s-sub">in Men's Sports Shoes</div>
</div>
<svg class="arrow-ico" viewBox="0 0 24 24">
<path d="M5 19L19 5" stroke="#6B6B6E" stroke-width="2"></path>
<path d="M8 5h11v11" stroke="#6B6B6E" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="suggestion">
<svg class="history-ico" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#A0A0A5" stroke-width="2" fill="none"></circle>
<path d="M12 7v6l4 2" stroke="#A0A0A5" stroke-width="2" fill="none"></path>
</svg>
<div class="s-texts">
<div class="s-title">shoes</div>
</div>
<svg class="arrow-ico" viewBox="0 0 24 24">
<path d="M5 19L19 5" stroke="#6B6B6E" stroke-width="2"></path>
<path d="M8 5h11v11" stroke="#6B6B6E" stroke-width="2" fill="none"></path>
</svg>
</div>
</div>
<!-- Discover more -->
<div class="discover-wrap">
<div class="discover-title">Discover More</div>
<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="kb-top">
<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 class="round">🎤</div>
</div>
<div class="key-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="key-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="key-row">
<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="key-row">
<div class="key">?123</div>
<div class="key">,</div>
<div class="key extra-wide"></div>
<div class="key">.</div>
<div class="key action"></div>
</div>
</div>
<div class="nav-pill"></div>
</div>
</body>
</html>