AndroidCode / code /1018 /1018_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
11.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Product Detail UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Top status and search */
.status-bar {
height: 64px;
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
color: #333;
font-size: 28px;
}
.status-icons { display: flex; gap: 22px; align-items: center; }
.dot { width: 10px; height: 10px; background: #777; border-radius: 50%; display: inline-block; }
.battery {
width: 28px; height: 16px; border: 2px solid #555; position: relative; border-radius: 3px;
}
.battery::after {
content: ""; position: absolute; right: -6px; top: 4px; width: 4px; height: 8px; background: #555; border-radius: 1px;
}
.battery .lvl { position: absolute; left: 2px; top: 2px; right: 2px; bottom: 2px; background: #5e5e5e; border-radius: 2px; }
.search-bar-wrap {
height: 120px;
padding: 0 24px;
display: flex;
align-items: center;
gap: 18px;
}
.icon-btn {
width: 72px; height: 72px; border-radius: 36px; display: flex; align-items: center; justify-content: center;
}
.search-bar {
flex: 1;
height: 88px;
background: #F1F3F5;
border: 1px solid #DADCE0;
border-radius: 18px;
display: flex;
align-items: center;
padding: 0 24px;
color: #777;
font-size: 34px;
justify-content: space-between;
}
.cart-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
/* Content */
.content {
padding: 16px 36px 140px 36px;
}
.img-placeholder {
width: 140px; height: 140px; border-radius: 70px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 26px; text-align: center;
margin-top: 12px;
}
.slider-dots { display: flex; gap: 14px; justify-content: center; margin: 24px 0 12px; }
.slider-dots span {
width: 22px; height: 22px; border-radius: 11px;
background: #C9C9C9;
opacity: 0.5;
}
.slider-dots span.active { opacity: 1; background: #8f8f8f; }
.link { color: #2E6CF6; font-weight: 700; font-size: 40px; margin-top: 16px; }
.title { font-size: 38px; line-height: 50px; color: #111; margin-top: 10px; }
.rating-row {
display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 32px; color: #2e2e2e;
}
.stars { display: flex; gap: 6px; }
.assured {
margin-left: auto;
width: 180px; height: 60px;
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center; font-size: 22px; border-radius: 12px;
}
.deal-tag {
display: inline-block; margin-top: 34px; background: #6B3CE7; color: #fff;
padding: 12px 18px; border-radius: 12px; font-size: 30px; font-weight: 700;
}
.price-row {
margin-top: 22px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.off { color: #21A334; font-size: 62px; font-weight: 800; }
.mrp { color: #9A9A9A; font-size: 40px; text-decoration: line-through; }
.price { color: #000; font-size: 64px; font-weight: 800; }
.emi { margin-top: 8px; font-size: 32px; color: #333; }
.emi .plans { color: #2E6CF6; font-weight: 700; }
.divider { height: 16px; background: #F3F3F7; margin: 28px -36px; }
.size-header { display: flex; align-items: center; justify-content: space-between; }
.size-header .label { font-size: 40px; color: #333; font-weight: 700; }
.size-chart { color: #2E6CF6; font-size: 32px; display: flex; align-items: center; gap: 10px; }
.size-list { display: flex; gap: 26px; margin-top: 24px; flex-wrap: wrap; }
.size-chip {
width: 140px; height: 140px; border: 3px solid #1E1E1E; border-radius: 70px;
display: flex; align-items: center; justify-content: center; font-size: 40px; color: #1E1E1E; font-weight: 700;
background: #fff;
}
.size-chip.disabled { color: #BDBDBD; border-color: #D0D0D0; background: #F3F3F3; }
.info-card {
margin-top: 28px;
background: #F7F1E8;
border: 1px solid #E6D9C6;
border-radius: 18px;
padding: 22px 24px;
font-size: 32px;
color: #555;
display: flex; gap: 16px; align-items: center;
}
.cube { width: 44px; height: 44px; border: 2px solid #B9B5AB; }
.info-card .link { font-size: 32px; font-weight: 700; }
.delivery-row {
display: flex; align-items: center; justify-content: space-between;
margin-top: 34px; font-size: 36px; color: #333;
}
.change-btn { color: #2E6CF6; font-weight: 700; font-size: 34px; padding: 16px 24px; border: 1px solid #DADCE0; border-radius: 12px; }
.shipping {
margin-top: 26px; font-size: 34px; color: #333;
}
.shipping .green { color: #12B312; font-weight: 800; }
.shipping .strike { text-decoration: line-through; color: #9A9A9A; }
.shipping .muted { color: #777; }
.shipping .countdown { color: #D52020; font-weight: 700; }
.floating-badge {
position: absolute; right: 36px; top: 1550px;
width: 120px; height: 120px; border-radius: 60px;
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center; font-size: 22px;
box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
/* Bottom actions */
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 0;
padding: 16px 24px 40px 24px;
background: #ffffff;
box-shadow: 0 -8px 20px rgba(0,0,0,0.08);
}
.actions { display: grid; grid-template-columns: 1fr 1.6fr 1.6fr; gap: 20px; }
.btn {
height: 120px; border-radius: 20px; font-size: 36px; font-weight: 700;
display: flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid #E0E0E0; color: #2E2E2E; background: #fff;
}
.btn.buy { background: #FFC42A; border-color: #FFC42A; color: #111; }
.home-indicator { height: 8px; width: 200px; background: #111; border-radius: 4px; margin: 26px auto 0; opacity: 0.8; }
/* SVG helpers */
.svg-24 { width: 40px; height: 40px; }
.svg-32 { width: 54px; height: 54px; }
.green-fill path { fill: #15A54A; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>11:29</div>
<div class="status-icons">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<svg class="svg-24" viewBox="0 0 24 24">
<path d="M3 18h18v-2H3v2zm2-5h14v-2H5v2zm4-5h6V6H9v2z" fill="#666"/>
</svg>
<div class="battery"><div class="lvl"></div></div>
</div>
</div>
<!-- Search bar -->
<div class="search-bar-wrap">
<div class="icon-btn">
<svg class="svg-32" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#333" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-bar">
<span>Search for products</span>
<svg class="svg-32" viewBox="0 0 24 24">
<path d="M12 3c3.866 0 7 3.134 7 7 0 3.06-1.949 5.658-4.666 6.61L15 22l-3-2-3 2 1.666-5.39C7.95 15.658 6 13.06 6 10c0-3.866 3.134-7 6-7z" fill="#777"/>
</svg>
</div>
<div class="cart-icon">
<svg class="svg-32" viewBox="0 0 24 24">
<path d="M7 7h13l-2 8H8L7 7zm0 0L5 3H2" stroke="#333" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="content">
<div class="img-placeholder">[IMG: New Arrival Badge]</div>
<div class="slider-dots">
<span class="active"></span>
<span></span><span></span><span></span><span></span>
</div>
<div class="link">View more from NIKE</div>
<div class="title"><strong>NIKE</strong> Revolution 5 Running Shoes For Women (Multicolor)</div>
<div class="rating-row">
<div class="stars">
<svg class="svg-24 green-fill" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L21 9.24l-7.19-.62L12 2 10.19 8.62 3 9.24l4.46 4.73L5.82 21z"/></svg>
<svg class="svg-24 green-fill" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L21 9.24l-7.19-.62L12 2 10.19 8.62 3 9.24l4.46 4.73L5.82 21z"/></svg>
<svg class="svg-24 green-fill" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L21 9.24l-7.19-.62L12 2 10.19 8.62 3 9.24l4.46 4.73L5.82 21z"/></svg>
<svg class="svg-24 green-fill" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L21 9.24l-7.19-.62L12 2 10.19 8.62 3 9.24l4.46 4.73L5.82 21z"/></svg>
<svg class="svg-24 green-fill" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L21 9.24l-7.19-.62L12 2 10.19 8.62 3 9.24l4.46 4.73L5.82 21z"/></svg>
</div>
<span style="color:#2E6CF6;font-weight:700;">Very Good</span>
<span>• 49 ratings</span>
<div class="assured">[IMG: Plus Assured]</div>
</div>
<div class="deal-tag">Big Saving Deal</div>
<div class="price-row">
<div class="off">30% off</div>
<div class="mrp">₹3,695</div>
<div class="price">₹2,586</div>
</div>
<div class="emi">EMI from ₹127/month. <span class="plans">View Plans</span></div>
<div class="divider"></div>
<div class="size-header">
<div class="label">Size- UK/India</div>
<div class="size-chart">
<svg class="svg-24" viewBox="0 0 24 24">
<path d="M4 18h16v-2H4v2zm0-5h16v-2H4v2zm0-5h16V6H4v2z" fill="#2E6CF6"/>
</svg>
Size Chart
</div>
</div>
<div class="size-list">
<div class="size-chip">2.5</div>
<div class="size-chip">3.5</div>
<div class="size-chip">4.5</div>
<div class="size-chip">5.5</div>
<div class="size-chip">6.5</div>
<div class="size-chip disabled">7.5</div>
</div>
<div class="info-card">
<div class="cube"></div>
<div>Don't worry, we have a <strong>10-day</strong> return policy on this item. <span class="link">See Details</span></div>
</div>
<div class="divider"></div>
<div class="delivery-row">
<div>Deliver to: <strong>New Delhi - 110054</strong></div>
<div class="change-btn">Change</div>
</div>
<div class="shipping">
<div>
<svg class="svg-24" viewBox="0 0 24 24" style="vertical-align: middle;">
<path d="M3 7h12v8H3V7zm12 3h4l2 3v2h-6v-5zM6 19a2 2 0 110-4 2 2 0 010 4zm10 0a2 2 0 110-4 2 2 0 010 4z" fill="#8C8C8C"/>
</svg>
<span class="green">FREE Delivery</span> <span class="strike">₹40</span> | Delivery by <strong>1 Nov, Wednesday</strong>
</div>
<div class="muted" style="margin-top:8px;">If ordered within <span class="countdown">28m 17s</span></div>
</div>
</div>
<div class="floating-badge">[IMG: Flipkart Badge]</div>
<!-- Bottom action bar -->
<div class="bottom-bar">
<div class="actions">
<div class="btn">
<svg class="svg-32" viewBox="0 0 24 24">
<path d="M7 7h13l-2 8H8L7 7zm-2-4H2" stroke="#333" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19 4h3" stroke="#333" stroke-width="2.2" stroke-linecap="round"/>
<path d="M5 2v6" stroke="#333" stroke-width="2.2" stroke-linecap="round"/>
</svg>
<span>Add</span>
</div>
<div class="btn">Pay with EMI</div>
<div class="btn buy">Buy now</div>
</div>
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>