AndroidCode / code /10157 /10157_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.03 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search UI - Night Repair Serum</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120px;
background: #000000;
color: #ffffff;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 40px;
}
.status-time {
font-size: 42px;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-icons {
margin-left: auto;
display: flex;
align-items: center;
gap: 24px;
}
.status-icons .dot {
width: 12px;
height: 12px;
background: #ffffff;
border-radius: 50%;
opacity: 0.8;
}
.status-icons .wifi svg,
.status-icons .battery svg {
width: 44px;
height: 44px;
}
.status-icons svg {
stroke: #ffffff;
fill: none;
stroke-width: 2.5;
}
/* Search area */
.search-area {
position: absolute;
top: 120px;
left: 0;
width: 100%;
box-sizing: border-box;
padding: 60px 60px 0 60px;
}
.close-btn {
position: absolute;
right: 60px;
top: 60px;
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}
.close-btn svg {
width: 64px;
height: 64px;
stroke: #2f2f2f;
stroke-width: 3.5;
}
.search-row {
display: flex;
align-items: center;
gap: 20px;
}
.search-input {
flex: 1;
font-size: 72px;
line-height: 1.1;
border: none;
outline: none;
background: transparent;
color: #5e5e5e;
padding: 0;
}
.search-input::selection {
background: rgba(33, 150, 243, 0.2);
}
.mic-icon svg {
width: 60px;
height: 60px;
stroke: #2f2f2f;
stroke-width: 2.5;
fill: none;
}
.divider {
margin-top: 20px;
height: 2px;
background: #2c3957;
opacity: 0.9;
}
.suggestions-label {
margin-top: 36px;
font-size: 34px;
font-weight: 800;
color: #222222;
letter-spacing: 6px;
text-transform: uppercase;
}
.skeleton {
height: 52px;
border-radius: 26px;
background: linear-gradient(90deg, #efefef 0%, #f6f6f6 50%, #efefef 100%);
margin-top: 24px;
width: 92%;
}
.skeleton:nth-child(2) { width: 92%; }
.skeleton:nth-child(3) { width: 92%; }
.skeleton:nth-child(4) { width: 92%; }
.skeleton.short { width: 42%; }
.big-filler {
margin-top: 30px;
height: 720px;
border-radius: 28px;
background: linear-gradient(90deg, #efefef 0%, #f7f7f7 100%);
}
/* Bottom nav bar */
.quick-actions {
position: absolute;
left: 0;
bottom: 960px; /* sits directly above keyboard */
width: 100%;
height: 120px;
background: #0b0d2b;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
gap: 60px;
box-sizing: border-box;
padding: 0 40px;
}
.quick-actions .item {
font-size: 32px;
letter-spacing: 3px;
font-weight: 600;
opacity: 0.95;
}
.quick-actions .sep {
width: 1px;
height: 36px;
background: rgba(255,255,255,0.35);
}
/* Keyboard */
.keyboard {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 960px;
background: #f1edf4;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-sizing: border-box;
padding: 30px 28px 80px 28px;
display: flex;
flex-direction: column;
}
.kbd-suggest {
display: flex;
align-items: center;
gap: 28px;
margin-bottom: 20px;
color: #3b3b3b;
font-size: 40px;
}
.kbd-suggest .grid-btn {
width: 82px;
height: 82px;
background: #ddd9e5;
border-radius: 22px;
display: flex;
align-items: center;
justify-content: center;
color: #2f2f2f;
font-weight: 700;
}
.kbd-suggest .suggest {
padding: 10px 16px;
}
.kbd-suggest .mid-sep {
width: 2px;
height: 38px;
background: #c9c9d4;
}
.kbd-suggest .mic {
margin-left: auto;
}
.kbd-suggest .mic svg {
width: 54px;
height: 54px;
stroke: #3b3b3b;
stroke-width: 2.5;
fill: none;
}
.kbd-row {
display: flex;
justify-content: space-between;
margin-bottom: 16px;
}
.key {
width: 92px;
height: 104px;
background: #ffffff;
border-radius: 22px;
box-shadow: 0 1px 0 rgba(0,0,0,0.08);
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
color: #333333;
user-select: none;
}
.key.wide { width: 150px; }
.key.xwide { width: 380px; }
.key.icon {
color: #4a4a4a;
font-weight: 700;
}
.home-indicator {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 380px;
height: 12px;
background: #9b9b9b;
border-radius: 6px;
opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-time">10:53</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="wifi">
<svg viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0"></path>
<path d="M5 12c4-3 10-3 14 0"></path>
<path d="M8 16c3-2 5-2 8 0"></path>
<circle cx="12" cy="20" r="1.5" fill="#ffffff"></circle>
</svg>
</div>
<div class="battery">
<svg viewBox="0 0 32 24">
<rect x="2" y="4" width="24" height="16" rx="3"></rect>
<rect x="27" y="8" width="3" height="8" rx="1"></rect>
<rect x="4" y="6" width="18" height="12" fill="#ffffff"></rect>
</svg>
</div>
</div>
</div>
<!-- Search Section -->
<div class="search-area">
<div class="close-btn" aria-label="Close search">
<svg viewBox="0 0 24 24">
<path d="M4 4L20 20M20 4L4 20"></path>
</svg>
</div>
<div class="search-row">
<input class="search-input" type="text" value="Night Repair Serum">
<div class="mic-icon" aria-label="Voice search">
<svg viewBox="0 0 24 24">
<path d="M12 3a4 4 0 0 1 4 4v5a4 4 0 0 1-8 0V7a4 4 0 0 1 4-4z"></path>
<path d="M5 11a7 7 0 0 0 14 0"></path>
<path d="M12 18v3"></path>
</svg>
</div>
</div>
<div class="divider"></div>
<div class="suggestions-label">SUGGESTIONS</div>
<div class="skeleton"></div>
<div class="skeleton"></div>
<div class="skeleton"></div>
<div class="skeleton"></div>
<div class="skeleton short"></div>
<div class="big-filler"></div>
</div>
<!-- Quick Actions Bar -->
<div class="quick-actions">
<div class="item">LIVE CHAT</div>
<div class="sep"></div>
<div class="item">JOIN LOYALTY</div>
<div class="sep"></div>
<div class="item">OFFERS</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kbd-suggest">
<div class="grid-btn"></div>
<div class="suggest">Serum</div>
<div class="mid-sep"></div>
<div class="suggest">Serums</div>
<div class="mic">
<svg viewBox="0 0 24 24">
<path d="M12 3a4 4 0 0 1 4 4v5a4 4 0 0 1-8 0V7a4 4 0 0 1 4-4z"></path>
<path d="M5 11a7 7 0 0 0 14 0"></path>
<path d="M12 18v3"></path>
</svg>
</div>
</div>
<!-- Row 1 -->
<div class="kbd-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="kbd-row" style="padding: 0 44px;">
<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="kbd-row" style="padding: 0 12px;">
<div class="key wide icon"></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 icon"></div>
</div>
<!-- Row 4 -->
<div class="kbd-row">
<div class="key wide">?123</div>
<div class="key">,</div>
<div class="key wide">😊</div>
<div class="key xwide">space</div>
<div class="key">.</div>
<div class="key wide icon"></div>
</div>
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>