AndroidCode / code /10131 /10131_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
15.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Door Hinges Search - UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #ffffff;
}
/* Common */
.row { display: flex; align-items: center; }
.muted { color: #8a8a8a; }
.divider { height: 1px; background: #e6e6e6; width: 100%; }
.pill { border: 1px solid #d9d9d9; border-radius: 28px; padding: 16px 22px; font-size: 28px; background: #fff; display: inline-flex; align-items: center; gap: 14px; }
.content { padding: 24px 32px; }
.label { font-size: 26px; color: #777; }
.bold { font-weight: 700; }
.strike { text-decoration: line-through; color: #8a8a8a; }
.green { color: #1aa53b; }
.pink { color: #e20074; }
/* Top search bar */
.topbar { padding: 24px 24px 16px 24px; }
.searchWrap { flex: 1; display: flex; align-items: center; gap: 20px; }
.searchBar {
flex: 1;
background: #f1f3f4;
border-radius: 40px;
padding: 22px 26px;
display: flex;
align-items: center;
gap: 18px;
border: 1px solid #e0e0e0;
}
.searchText { font-size: 32px; color: #555; flex: 1; }
.iconBtn { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.cartBtn { width: 80px; height: 80px; margin-left: 10px; display: flex; align-items: center; justify-content: center; }
/* Sort/Filter row */
.sfRow { padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; }
.sfItem { display: flex; align-items: center; gap: 16px; font-size: 34px; color: #333; }
.sfDivider { width: 2px; height: 48px; background: #e6e6e6; }
/* Chips */
.chips { padding: 10px 32px 20px 32px; display: flex; gap: 18px; }
.chipIcon { width: 42px; height: 42px; border-radius: 50%; background: #fff7d6; border: 1px solid #f3e29b; display: inline-flex; align-items: center; justify-content: center; }
.chipGreen { background: #e9fff0; border-color: #b9e9c7; }
/* Product grid */
.grid { padding: 12px 24px 120px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
background: #fff;
border: 1px solid #eaeaea;
border-radius: 18px;
overflow: hidden;
padding-bottom: 18px;
}
.imgWrap { position: relative; padding: 20px; }
.imgPh {
width: 100%;
height: 360px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center;
color: #757575; font-size: 28px; text-align: center;
}
.heartBtn {
position: absolute; top: 24px; right: 24px;
width: 64px; height: 64px; background: #fff; border-radius: 32px;
display: flex; align-items: center; justify-content: center;
border: 1px solid #e6e6e6;
}
.badgeTrending {
position: absolute; left: 24px; top: -6px;
background: #1db7a6; color: #fff; font-weight: 700; font-size: 24px;
padding: 8px 16px; border-radius: 8px;
letter-spacing: 0.5px;
}
.cardBody { padding: 0 24px; }
.sponsored { font-size: 24px; color: #9a9a9a; margin-bottom: 8px; }
.title { font-size: 30px; color: #222; line-height: 1.25; margin-bottom: 8px; }
.priceRow { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; }
.priceRow .pct { color: #1aa53b; font-weight: 800; font-size: 30px; display: inline-flex; align-items: center; gap: 8px; }
.priceRow .new { font-size: 32px; font-weight: 800; color: #111; }
.ratingRow { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.stars svg { width: 28px; height: 28px; }
.plusBadge {
display: inline-flex; align-items: center; gap: 8px;
border: 1px solid #e7e7e7; border-radius: 14px;
padding: 4px 8px; font-size: 22px; color: #2357ff; background: #f9fbff;
}
.delivery { font-size: 26px; color: #555; margin-top: 8px; }
/* Utility SVG colors */
.icon { fill: none; stroke: #333; stroke-width: 3; }
.icon-muted { stroke: #777; }
.icon-green { fill: #1aa53b; stroke: none; }
</style>
</head>
<body>
<div id="render-target">
<!-- Top bar with back and search -->
<div class="topbar row">
<div class="iconBtn">
<svg viewBox="0 0 48 48" width="48" height="48">
<path d="M30 10 L16 24 L30 38" stroke="#333" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="searchWrap">
<div class="searchBar">
<svg viewBox="0 0 48 48" width="36" height="36">
<circle cx="20" cy="20" r="12" stroke="#777" stroke-width="3" fill="none"/>
<line x1="30" y1="30" x2="44" y2="44" stroke="#777" stroke-width="3" stroke-linecap="round"/>
</svg>
<div class="searchText">door hinges 5 inch</div>
<div class="iconBtn">
<svg viewBox="0 0 48 48" width="36" height="36">
<rect x="20" y="8" width="8" height="22" rx="4" fill="#777"/>
<path d="M24 30 L24 40" stroke="#777" stroke-width="4" stroke-linecap="round"/>
</svg>
</div>
<div class="iconBtn">
<svg viewBox="0 0 48 48" width="36" height="36">
<rect x="6" y="12" width="30" height="22" rx="4" stroke="#777" stroke-width="3" fill="none"/>
<circle cx="21" cy="23" r="6" stroke="#777" stroke-width="3" fill="none"/>
<path d="M38 16 L42 20 L42 26 L38 30 Z" fill="#777"/>
</svg>
</div>
</div>
</div>
<div class="cartBtn">
<svg viewBox="0 0 48 48" width="44" height="44">
<path d="M6 10 H14 L18 32 H38 L42 18 H20" stroke="#333" stroke-width="3" fill="none" stroke-linecap="round"/>
<circle cx="22" cy="38" r="3" fill="#333"/>
<circle cx="36" cy="38" r="3" fill="#333"/>
</svg>
</div>
</div>
<!-- Sort / Filter -->
<div class="sfRow">
<div class="sfItem">
<svg viewBox="0 0 48 48" width="40" height="40">
<line x1="8" y1="12" x2="40" y2="12" stroke="#333" stroke-width="3"/>
<circle cx="18" cy="12" r="4" fill="#333"/>
<line x1="8" y1="24" x2="40" y2="24" stroke="#333" stroke-width="3"/>
<circle cx="30" cy="24" r="4" fill="#333"/>
</svg>
<div>Sort</div>
</div>
<div class="sfDivider"></div>
<div class="sfItem">
<svg viewBox="0 0 48 48" width="40" height="40">
<line x1="8" y1="12" x2="40" y2="12" stroke="#333" stroke-width="3"/>
<circle cx="12" cy="12" r="4" fill="#333"/>
<line x1="8" y1="24" x2="40" y2="24" stroke="#333" stroke-width="3"/>
<circle cx="36" cy="24" r="4" fill="#333"/>
<line x1="8" y1="36" x2="40" y2="36" stroke="#333" stroke-width="3"/>
<circle cx="24" cy="36" r="4" fill="#333"/>
</svg>
<div>Filter</div>
</div>
</div>
<div class="divider"></div>
<!-- Chips -->
<div class="chips">
<div class="pill">
<span class="chipIcon"></span>
<span>Premium Brands</span>
</div>
<div class="pill">
<span class="chipIcon">NEW</span>
<span>New Arrivals</span>
</div>
<div class="pill">
<span class="chipIcon chipGreen">%</span>
<span>50% or more</span>
</div>
</div>
<!-- Product grid -->
<div class="grid">
<!-- Card 1 -->
<div class="card">
<div class="imgWrap">
<div class="imgPh">[IMG: Brass Hinges Grid]</div>
<div class="heartBtn">
<svg viewBox="0 0 48 48" width="32" height="32">
<path d="M24 38 C24 38 10 28 10 18 C10 12 16 10 20 14 C22 16 24 18 24 18 C24 18 26 16 28 14 C32 10 38 12 38 18 C38 28 24 38 24 38 Z" stroke="#8a8a8a" stroke-width="3" fill="none"/>
</svg>
</div>
</div>
<div class="cardBody">
<div class="sponsored">Sponsored</div>
<div class="title">ATLANTIC Window Butt Hinges...</div>
<div class="priceRow">
<div class="pct">
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M12 18 L4 8 H20 Z" class="icon-green"/></svg>
55%
</div>
<div class="strike">3,119</div>
<div class="new">₹1,399</div>
</div>
<div class="ratingRow">
<div class="stars">
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#b7e5c4"/></svg>
</div>
<span class="plusBadge">
<svg viewBox="0 0 20 20" width="16" height="16"><path d="M10 4 V16 M4 10 H16" stroke="#2357ff" stroke-width="2"/></svg>
Plus
</span>
</div>
<div class="delivery">Free delivery</div>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="imgWrap">
<div class="imgPh">[IMG: Brass Door Hinge 3-pack]</div>
<div class="heartBtn">
<svg viewBox="0 0 48 48" width="32" height="32">
<path d="M24 38 C24 38 10 28 10 18 C10 12 16 10 20 14 C22 16 24 18 24 18 C24 18 26 16 28 14 C32 10 38 12 38 18 C38 28 24 38 24 38 Z" stroke="#8a8a8a" stroke-width="3" fill="none"/>
</svg>
</div>
</div>
<div class="cardBody">
<div class="sponsored">Sponsored</div>
<div class="title">Tremart Door Butt Hinges...</div>
<div class="priceRow">
<div class="pct">
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M12 18 L4 8 H20 Z" class="icon-green"/></svg>
44%
</div>
<div class="strike">900</div>
<div class="new">₹498</div>
</div>
<div class="ratingRow">
<div class="stars">
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#b7e5c4"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#e1f5e6"/></svg>
</div>
<span class="plusBadge">
<svg viewBox="0 0 20 20" width="16" height="16"><path d="M10 4 V16 M4 10 H16" stroke="#2357ff" stroke-width="2"/></svg>
Plus
</span>
</div>
<div class="delivery">Free delivery</div>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="imgWrap">
<div class="badgeTrending">TRENDING</div>
<div class="imgPh">[IMG: Brass Hinges 4-set]</div>
<div class="heartBtn">
<svg viewBox="0 0 48 48" width="32" height="32">
<path d="M24 38 C24 38 10 28 10 18 C10 12 16 10 20 14 C22 16 24 18 24 18 C24 18 26 16 28 14 C32 10 38 12 38 18 C38 28 24 38 24 38 Z" stroke="#8a8a8a" stroke-width="3" fill="none"/>
</svg>
</div>
</div>
<div class="cardBody">
<div class="title">Tremart Door Butt Hinges...</div>
<div class="priceRow">
<div class="pct">
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M12 18 L4 8 H20 Z" class="icon-green"/></svg>
50%
</div>
<div class="strike">1,300</div>
<div class="new">₹643</div>
</div>
<div class="label pink">Only few left</div>
<div class="ratingRow">
<div class="stars">
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
</div>
<span class="plusBadge">
<svg viewBox="0 0 20 20" width="16" height="16"><path d="M10 4 V16 M4 10 H16" stroke="#2357ff" stroke-width="2"/></svg>
Plus
</span>
</div>
<div class="delivery">Free delivery</div>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="imgWrap">
<div class="imgPh">[IMG: Silver Hinges Set]</div>
<div class="heartBtn">
<svg viewBox="0 0 48 48" width="32" height="32">
<path d="M24 38 C24 38 10 28 10 18 C10 12 16 10 20 14 C22 16 24 18 24 18 C24 18 26 16 28 14 C32 10 38 12 38 18 C38 28 24 38 24 38 Z" stroke="#8a8a8a" stroke-width="3" fill="none"/>
</svg>
</div>
</div>
<div class="cardBody">
<div class="title">Tremart Door Butt Hinges...</div>
<div class="priceRow">
<div class="pct">
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M12 18 L4 8 H20 Z" class="icon-green"/></svg>
73%
</div>
<div class="strike">1,999</div>
<div class="new">₹530</div>
</div>
<div class="label pink">Only few left</div>
<div class="ratingRow">
<div class="stars">
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#1aa53b"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2 L15 9 L22 9 L16.5 13.5 L18.5 21 L12 16.8 L5.5 21 L7.5 13.5 L2 9 L9 9 Z" fill="#b7e5c4"/></svg>
</div>
</div>
</div>
</div>
</div>
<!-- Bottom safe area indicator (like gesture bar placeholder) -->
<div style="position:absolute; bottom:20px; left:50%; transform:translateX(-50%); width:400px; height:10px; background:#000; opacity:0.1; border-radius:5px;"></div>
</div>
</body>
</html>