AndroidCode / code /10179 /10179_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
11.4 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>2 seater recliners - UI Mock</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
border-radius: 24px;
box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
/* Status bar */
.status-bar {
height: 120px;
background: #2d2732;
color: #ffffff;
display: flex;
align-items: center;
padding: 0 36px;
font-weight: 600;
font-size: 34px;
letter-spacing: 0.4px;
}
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.dot { width: 12px; height: 12px; background:#ffffff; border-radius: 50%; opacity: 0.7; }
.battery {
width: 60px; height: 28px; border: 4px solid #fff; border-radius: 6px; position: relative;
}
.battery::after {
content: ""; position: absolute; right: -10px; top: 8px; width: 8px; height: 12px; background: #fff; border-radius: 2px;
}
.battery .level { width: 34px; height: 18px; background: #8bc34a; position: absolute; left: 6px; top: 3px; border-radius: 3px; }
/* App header */
.app-header {
height: 112px;
background: #fff;
display: flex;
align-items: center;
padding: 0 24px;
border-bottom: 1px solid #e6e6e6;
}
.title { font-size: 44px; font-weight: 700; color: #1b1b1b; margin-left: 18px; }
.header-actions { margin-left: auto; display: flex; gap: 34px; }
.icon-btn { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; }
.icon { width: 48px; height: 48px; fill: none; stroke: #333; stroke-width: 4px; }
/* Filters bar */
.filters {
display: flex;
padding: 0;
height: 120px;
background: #ffffff;
border-bottom: 1px solid #eee;
}
.filter-item {
flex: 1;
padding: 20px 30px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
border-right: 1px solid #f0f0f0;
}
.filter-item:last-child { border-right: none; }
.filter-title { font-size: 36px; color: #333; display: flex; align-items: center; gap: 16px; font-weight: 700; }
.filter-sub { font-size: 28px; color: #7a7a7a; }
.content {
padding: 24px 24px 0 24px;
}
.section-title {
font-size: 40px;
font-weight: 800;
color: #222;
margin: 18px 0 12px;
}
/* Product grid */
.grid { display: flex; gap: 24px; }
.card {
width: calc(50% - 12px);
}
.img-box {
width: 100%;
height: 540px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 12px;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 34px; text-align: center; position: relative;
}
.tag-new {
position: absolute;
left: 0; top: 0;
background: #ff8a3d;
color: #fff;
font-weight: 800;
font-size: 30px;
padding: 10px 16px;
border-top-left-radius: 12px;
border-bottom-right-radius: 10px;
}
.fav-circle {
position: absolute;
right: 16px; bottom: 16px;
width: 66px; height: 66px;
background: #ffffff;
border-radius: 50%;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
display: flex; align-items: center; justify-content: center;
border: 1px solid #ddd;
}
.heart {
width: 34px; height: 34px; stroke: #777; stroke-width: 4px; fill: none;
}
.card-title {
font-size: 36px;
font-weight: 800;
color: #222;
line-height: 1.25;
margin-top: 18px;
}
.brand { font-size: 30px; color: #555; margin-top: 10px; }
.deal { font-size: 32px; color: #1aa34a; font-weight: 800; margin-top: 12px; }
.price {
font-size: 44px; font-weight: 900; color: #1b1b1b; margin-top: 6px;
}
.old-price { font-size: 34px; color: #9e9e9e; text-decoration: line-through; margin-left: 14px; font-weight: 600; }
.save { font-size: 30px; color: #2e7d32; margin-top: 10px; }
/* Banner */
.banner {
margin: 24px 0;
width: 100%;
height: 230px;
border-radius: 12px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #555; font-size: 34px; position: relative;
}
.banner-overlay {
position: absolute; right: 24px; top: 24px;
color: #1f1f1f; font-size: 40px; font-weight: 800;
}
/* Tiles below banner */
.tiles {
display: flex; gap: 24px;
}
.tile {
width: calc(50% - 12px);
height: 360px;
border-radius: 12px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #666; font-size: 32px; position: relative;
}
.ribbon {
position: absolute; left: 0; top: 0;
background: #ff6e66; color: #fff; font-weight: 800; font-size: 30px;
padding: 12px 18px; border-top-left-radius: 12px; border-bottom-right-radius: 12px;
}
/* Floating chat */
.chat {
position: absolute;
right: 24px;
top: 1460px;
background: #ff7c2f;
color: #fff;
font-weight: 800;
font-size: 34px;
padding: 18px 26px;
border-radius: 18px;
box-shadow: 0 6px 16px rgba(0,0,0,0.25);
display: inline-flex; align-items: center; gap: 16px;
}
.chat-bubble {
width: 38px; height: 32px;
border: 3px solid #fff; border-radius: 6px; position: relative;
}
.chat-bubble::after {
content: ""; position: absolute; bottom: -8px; left: 8px; width: 16px; height: 16px;
border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg);
}
/* Bottom navigation */
.bottom-nav {
position: absolute; bottom: 120px; left: 0; right: 0;
height: 160px; border-top: 1px solid #e9e9e9; background: #fff;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item {
display: flex; flex-direction: column; align-items: center; gap: 12px; color: #333; font-size: 30px;
}
.nav-item .icon { stroke: #333; }
.nav-item.active { color: #ff7c2f; font-weight: 800; }
.nav-item.active .icon { stroke: #ff7c2f; }
.home-pill {
position: absolute; bottom: 40px; left: 50%;
transform: translateX(-50%);
width: 240px; height: 16px; background: #000; opacity: 0.75; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
10:46
<div class="status-right">
<div class="dot"></div>
<div class="dot"></div>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- App Header -->
<div class="app-header">
<div class="icon-btn" aria-label="Back">
<svg class="icon" viewBox="0 0 24 24"><path d="M15 5l-7 7 7 7" /></svg>
</div>
<div class="title">2 seater recliners</div>
<div class="header-actions">
<div class="icon-btn" aria-label="Search">
<svg class="icon" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg>
</div>
<div class="icon-btn" aria-label="Wishlist">
<svg class="icon" viewBox="0 0 24 24"><path d="M12 20s-7-4.5-7-9.5a4.5 4.5 0 019 0 4.5 4.5 0 019 0C21 15.5 12 20 12 20z"/></svg>
</div>
<div class="icon-btn" aria-label="Cart">
<svg class="icon" viewBox="0 0 24 24"><path d="M3 6h2l3 12h10l3-9H7"/><circle cx="10" cy="20" r="2"/><circle cx="18" cy="20" r="2"/></svg>
</div>
</div>
</div>
<!-- Filters Bar -->
<div class="filters">
<div class="filter-item">
<div class="filter-title">
Categories
<svg width="26" height="26" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="#777" stroke-width="3" fill="none"/></svg>
</div>
<div class="filter-sub">(30)</div>
</div>
<div class="filter-item">
<div class="filter-title">Sort By</div>
<div class="filter-sub">Relevance</div>
</div>
<div class="filter-item">
<div class="filter-title">Filter</div>
<div class="filter-sub">0 Filters Applied</div>
</div>
</div>
<div class="content">
<div class="section-title">Showing Results for "2 seater recliners"</div>
<!-- Product Grid -->
<div class="grid">
<!-- Card 1 -->
<div class="card">
<div class="img-box">
<div class="tag-new">New</div>
[IMG: Brown 2-seater recliner sofa in room]
<div class="fav-circle">
<svg class="heart" viewBox="0 0 24 24"><path d="M12 20s-7-4.5-7-9.5a4.5 4.5 0 019 0 4.5 4.5 0 019 0C21 15.5 12 20 12 20z"/></svg>
</div>
</div>
<div class="card-title">Milan Fabric 2 Seater Manual Recliner Sofa in Brown Colour</div>
<div class="brand">By Royaloak</div>
<div class="deal">Today's Deal</div>
<div class="price">&#8377;61,000 <span class="old-price">&#8377;100,000</span></div>
<div class="save">You Save &#8377;39,000 (39% off)</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="img-box">
<div class="tag-new">New</div>
[IMG: Baleno fabric 2-seater manual recliner in brown]
<div class="fav-circle">
<svg class="heart" viewBox="0 0 24 24"><path d="M12 20s-7-4.5-7-9.5a4.5 4.5 0 019 0 4.5 4.5 0 019 0C21 15.5 12 20 12 20z"/></svg>
</div>
</div>
<div class="card-title">Baleno Fabric 2 Seater Manual Recliner in Brown Colour</div>
<div class="brand">By Royaloak</div>
<div class="deal">Today's Deal</div>
<div class="price">&#8377;35,000 <span class="old-price">&#8377;65,000</span></div>
<div class="save">You Save &#8377;30,000 (46% off)</div>
</div>
</div>
<!-- Winter Sale Banner -->
<div class="banner">
[IMG: Snuggle-up winter sale promotion with free shipping and cashback]
<div class="banner-overlay">Upto 75% OFF</div>
</div>
<!-- Tiles -->
<div class="tiles">
<div class="tile">
<div class="ribbon">Extra 5% Coupon Inside</div>
[IMG: Living room decor art frame]
</div>
<div class="tile">
[IMG: World map wall art with brick texture]
</div>
</div>
</div>
<!-- Floating Chat -->
<div class="chat">
<div class="chat-bubble"></div>
Let's Chat
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg class="icon" viewBox="0 0 24 24"><path d="M3 11l9-7 9 7v9H3z" /></svg>
Home
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-7 8-7s8 3 8 7"/></svg>
My Account
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="12" rx="2"/><path d="M4 10h16"/></svg>
Gift Cards
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path d="M5 3h14v6H5zM5 12h7v9H5zM14 12h5v9h-5z"/></svg>
Stores
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><circle cx="6" cy="7" r="3"/><circle cx="18" cy="7" r="3"/><circle cx="6" cy="17" r="3"/><circle cx="18" cy="17" r="3"/></svg>
Categories
</div>
</div>
<!-- iOS-like home pill -->
<div class="home-pill"></div>
</div>
</body>
</html>