AndroidCode / code /10157 /10157_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.99 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Night Repair Serum - UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Helvetica Neue", 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; right: 0;
height: 120px;
background: #000000;
color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
box-sizing: border-box;
font-size: 40px;
letter-spacing: 0.5px;
}
.sb-right {
display: flex;
align-items: center;
gap: 24px;
}
.icon {
display: inline-flex;
align-items: center;
justify-content: center;
}
.icon svg { width: 42px; height: 42px; fill: none; stroke: #ffffff; stroke-width: 2.5; }
/* Header / search area */
.header {
position: absolute;
top: 120px;
left: 0; right: 0;
padding: 50px 50px 30px;
box-sizing: border-box;
background: #ffffff;
}
.title-row {
position: relative;
padding-right: 140px; /* leave space for close icon */
}
.title {
font-size: 64px;
line-height: 1.2;
color: #7C7C7C;
font-weight: 300;
margin: 0 0 28px 0;
}
.search-underline {
height: 3px;
background: #2F3351;
opacity: 0.65;
}
.close-btn {
position: absolute;
top: 8px;
right: 24px;
}
.close-btn svg { width: 52px; height: 52px; stroke: #1F1F1F; stroke-width: 3.5; }
.mic-btn {
position: absolute;
right: 100px;
top: 90px;
}
.mic-btn svg { width: 42px; height: 42px; stroke: #3A3A3A; stroke-width: 2.8; }
.results-info {
margin-top: 36px;
font-size: 40px;
color: #222;
}
/* Carousel / product area */
.carousel {
position: absolute;
top: 430px;
left: 0; right: 0;
height: 880px;
background: #E7EBF0;
box-sizing: border-box;
}
.badge {
position: absolute;
top: 30px; left: 30px;
font-weight: 700;
font-size: 40px;
color: #121212;
}
.product-img {
position: absolute;
left: 50%;
bottom: 120px;
transform: translateX(-50%);
width: 480px;
height: 640px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 32px;
text-align: center;
}
.carousel .edge {
position: absolute;
bottom: 0; left: 0; right: 0;
height: 6px;
background: #D1D5DB;
}
.nav-pad {
position: absolute;
top: 240px;
width: 150px;
height: 390px;
background: rgba(255,255,255,0.7);
display: flex;
align-items: center;
justify-content: center;
}
.nav-pad.left { left: 0; }
.nav-pad.right { right: 0; }
.nav-pad svg { width: 56px; height: 56px; stroke: #2B2B2B; stroke-width: 3.5; fill: none; }
/* CTA button */
.cta-wrap {
position: absolute;
top: 1320px;
left: 0; right: 0;
padding: 30px 32px 0;
box-sizing: border-box;
}
.cta {
width: 100%;
background: #0D1732;
color: #ffffff;
text-align: center;
padding: 36px 20px;
font-size: 46px;
letter-spacing: 2px;
font-weight: 700;
}
/* Dark link bar */
.link-bar {
position: absolute;
top: 1445px;
left: 0; right: 0;
height: 120px;
background: #0D1732;
color: #E8ECF8;
display: flex;
align-items: center;
justify-content: space-around;
font-size: 36px;
letter-spacing: 1px;
text-transform: uppercase;
box-sizing: border-box;
padding: 0 30px;
}
.link-bar .item {
flex: 1;
text-align: center;
position: relative;
}
.link-bar .item + .item::before {
content: "";
position: absolute;
left: 0; top: 25%;
width: 1px; height: 50%;
background: rgba(255,255,255,0.25);
}
/* Suggestions row above keyboard */
.suggestions {
position: absolute;
top: 1565px;
left: 0; right: 0;
height: 90px;
display: flex;
align-items: center;
gap: 24px;
padding: 0 24px;
box-sizing: border-box;
border-bottom: 1px solid #DADAE6;
background: #FFFFFF;
}
.suggestions .pill {
font-size: 40px;
color: #3A3A3A;
}
.suggestions .divider {
color: #9AA0A6;
font-size: 40px;
}
.suggestions .icon svg { width: 44px; height: 44px; stroke: #6C6C6C; }
/* Keyboard mock */
.keyboard {
position: absolute;
top: 1655px;
left: 0; right: 0;
height: 640px;
background: #F3EFF7;
box-sizing: border-box;
padding: 24px 18px 16px;
}
.row {
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 22px;
}
.key {
background: #FFFFFF;
width: 88px;
height: 110px;
border-radius: 24px;
box-shadow: 0 1px 0 rgba(0,0,0,0.08);
font-size: 42px;
color: #2B2B2B;
display: flex;
align-items: center;
justify-content: center;
}
.wide { width: 180px; }
.space { flex: 1; min-width: 420px; }
.accent {
background: #E0DAF2;
color: #3A2D8D;
}
.bottom-bar {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 200px;
height: 10px;
background: #BDBDBD;
border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:54</div>
<div class="sb-right">
<div class="icon" title="Network">
<svg viewBox="0 0 24 24">
<path d="M2 18l10-10 10 10" />
<circle cx="12" cy="18" r="2" fill="#ffffff" />
</svg>
</div>
<div class="icon" title="Signal">
<svg viewBox="0 0 24 24">
<rect x="3" y="14" width="3" height="6" fill="#ffffff"></rect>
<rect x="8" y="11" width="3" height="9" fill="#ffffff"></rect>
<rect x="13" y="8" width="3" height="12" fill="#ffffff"></rect>
<rect x="18" y="5" width="3" height="15" fill="#ffffff"></rect>
</svg>
</div>
<div class="icon" title="Battery">
<svg viewBox="0 0 26 24">
<rect x="2" y="5" width="18" height="14" rx="2" ry="2" stroke="#ffffff"></rect>
<rect x="4" y="7" width="14" height="10" fill="#ffffff"></rect>
<rect x="21" y="9" width="3" height="6" rx="1" ry="1" fill="#ffffff"></rect>
</svg>
</div>
</div>
</div>
<!-- Header with search title -->
<div class="header">
<div class="title-row">
<h1 class="title">Night Repair Serum</h1>
<div class="search-underline"></div>
<div class="mic-btn">
<svg viewBox="0 0 24 24">
<rect x="8" y="4" width="8" height="12" rx="4" ry="4"></rect>
<path d="M6 11c0 4 12 4 12 0" />
<path d="M12 16v4" />
</svg>
</div>
<div class="close-btn" aria-label="Close">
<svg viewBox="0 0 24 24">
<path d="M4 4L20 20M20 4L4 20"></path>
</svg>
</div>
</div>
<div class="results-info">Showing 4 of 26 results.</div>
</div>
<!-- Carousel product block -->
<div class="carousel">
<div class="badge">Best Seller</div>
<div class="nav-pad left">
<svg viewBox="0 0 24 24">
<path d="M14 4L6 12l8 8"></path>
</svg>
</div>
<div class="nav-pad right">
<svg viewBox="0 0 24 24">
<path d="M10 4l8 8-8 8"></path>
</svg>
</div>
<div class="product-img">[IMG: Estée Lauder Serum Bottle]</div>
<div class="edge"></div>
</div>
<!-- CTA button -->
<div class="cta-wrap">
<div class="cta">SEE ALL RESULTS</div>
</div>
<!-- Link bar -->
<div class="link-bar">
<div class="item">Live Chat</div>
<div class="item">Join Loyalty</div>
<div class="item">Offers</div>
</div>
<!-- Suggestions row above keyboard -->
<div class="suggestions">
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="3" width="6" height="6" stroke="#6C6C6C"></rect>
<rect x="15" y="3" width="6" height="6" stroke="#6C6C6C"></rect>
<rect x="3" y="15" width="6" height="6" stroke="#6C6C6C"></rect>
<rect x="15" y="15" width="6" height="6" stroke="#6C6C6C"></rect>
</svg>
</div>
<div class="pill">Serum</div>
<div class="divider">|</div>
<div class="pill">Serums</div>
<div style="flex:1;"></div>
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="8" y="4" width="8" height="12" rx="4" ry="4"></rect>
<path d="M6 11c0 4 12 4 12 0" />
<path d="M12 16v4" />
</svg>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<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>
<div class="row">
<div class="key accent"></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 accent"></div>
</div>
<div class="row">
<div class="key wide accent">?123</div>
<div class="key accent">,</div>
<div class="key accent"></div>
<div class="key space"></div>
<div class="key accent">.</div>
<div class="key wide accent"></div>
</div>
<div class="bottom-bar"></div>
</div>
</div>
</body>
</html>