AndroidCode / code /10179 /10179_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
8.14 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Search UI</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#FBF9F7;
}
/* Top status bar */
.status-bar {
position:absolute; left:0; top:0; width:1080px; height:150px;
background:#2B252B; color:#fff;
display:flex; align-items:center; justify-content:space-between;
padding:0 40px; box-sizing:border-box;
}
.status-left { font-size:48px; letter-spacing:1px; }
.status-right { display:flex; gap:26px; align-items:center; }
.status-dot, .status-battery {
width:32px; height:32px; border-radius:50%; background:#EFEFEF; opacity:0.9;
}
.status-battery { border-radius:6px; width:50px; }
/* Search header area */
.search-area {
position:absolute; left:0; top:150px; width:1080px;
background:#FFF;
padding:36px 40px 24px 40px; box-sizing:border-box;
border-bottom:1px solid #eee;
}
.search-row { display:flex; align-items:center; gap:28px; }
.icon-btn {
width:64px; height:64px; display:flex; align-items:center; justify-content:center;
border-radius:16px; background:transparent;
}
.search-input {
flex:1; position:relative; height:70px;
}
.search-input .placeholder {
font-size:48px; color:#242424; opacity:0.9;
}
.search-input .underline {
position:absolute; left:0; bottom:-8px; width:100%; height:2px; background:#D9D9D9;
}
.mic-btn { width:64px; height:64px; display:flex; align-items:center; justify-content:center; }
/* Sections */
.section {
position:absolute; left:40px; right:40px; box-sizing:border-box;
color:#8F6A3C;
}
.recent { top:360px; }
.popular { top:650px; }
.section-title {
font-size:54px; font-weight:700; margin-bottom:28px;
}
.recent-card {
width:100%; height:110px; background:#FFF; border:1px solid #E6E3DF;
border-radius:18px; display:flex; align-items:center; gap:26px;
padding:0 28px; box-sizing:border-box; color:#444;
font-size:44px;
}
/* Chips */
.chips {
display:flex; flex-wrap:wrap; gap:26px;
}
.chip {
display:flex; align-items:center; gap:16px;
padding:22px 26px; border:1px solid #E1DFDB; border-radius:18px;
font-size:42px; color:#333; background:#FFF;
}
/* Home indicator */
.home-indicator {
position:absolute; left:50%; bottom:34px; transform:translateX(-50%);
width:520px; height:14px; background:#D0CFCC; border-radius:12px;
}
/* Simple icon styling */
svg { display:block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">10:45</div>
<div class="status-right">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-battery"></div>
</div>
</div>
<!-- Search Area -->
<div class="search-area">
<div class="search-row">
<div class="icon-btn">
<!-- Back Arrow -->
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M28 10 L16 24 L28 38" stroke="#3A342F" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-input">
<div class="placeholder">Search</div>
<div class="underline"></div>
</div>
<div class="mic-btn">
<!-- Mic Icon -->
<svg width="48" height="48" viewBox="0 0 48 48">
<rect x="18" y="8" width="12" height="20" rx="6" fill="#3A342F"></rect>
<path d="M12 22 C12 30, 36 30, 36 22" stroke="#3A342F" stroke-width="4" fill="none" />
<path d="M24 30 V40" stroke="#3A342F" stroke-width="4" stroke-linecap="round" />
<path d="M18 40 H30" stroke="#3A342F" stroke-width="4" stroke-linecap="round" />
</svg>
</div>
</div>
</div>
<!-- Recent Searches -->
<div class="section recent">
<div class="section-title">Recent Searches</div>
<div class="recent-card">
<!-- Clock Icon -->
<svg width="48" height="48" viewBox="0 0 48 48">
<circle cx="24" cy="24" r="18" stroke="#8F6A3C" stroke-width="3" fill="none"></circle>
<path d="M24 14 V24 L32 28" stroke="#8F6A3C" stroke-width="3" stroke-linecap="round" />
</svg>
<div>recliners</div>
</div>
</div>
<!-- Popular Searches -->
<div class="section popular">
<div class="section-title">Popular Searches</div>
<div class="chips">
<div class="chip">
<!-- Trending Arrow -->
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>bed</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>dining table</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>mirror</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>sofa</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>study table</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>chair</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>dressing table</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>shoe rack</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>sofa cum bed</span>
</div>
<div class="chip">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M8 28 L18 18 L24 24 L32 16" stroke="#8F6A3C" stroke-width="3" fill="none" stroke-linecap="round" />
<path d="M30 16 H34 V20" stroke="#8F6A3C" stroke-width="3" fill="none" />
</svg>
<span>tv unit</span>
</div>
</div>
</div>