AndroidCode / code /1018 /1018_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
7.56 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Similar Products - Flipkart Style</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Arial, Helvetica, sans-serif;
color: #212121;
}
/* Top blue header */
.status-bar {
height: 88px;
background: #1976d2;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
font-size: 32px;
letter-spacing: 0.5px;
}
.status-bar .right {
margin-left: auto;
display: flex;
gap: 28px;
align-items: center;
}
.app-bar {
height: 180px;
background: #1976d2;
color: #fff;
display: flex;
align-items: center;
padding: 0 32px;
}
.app-bar .left {
display: flex;
align-items: center;
gap: 24px;
}
.app-bar .logo-block {
display: flex;
flex-direction: column;
line-height: 1.1;
}
.logo-title {
font-size: 56px;
font-weight: 700;
}
.logo-sub {
font-size: 30px;
color: #d0e8ff;
display: flex;
align-items: center;
gap: 10px;
}
.app-bar .actions {
margin-left: auto;
display: flex;
gap: 40px;
align-items: center;
}
/* Section heading */
.section-header {
background: #fff;
padding: 40px 40px 24px 40px;
display: flex;
align-items: center;
gap: 24px;
border-bottom: 1px solid #eeeeee;
}
.section-header .thumb {
width: 140px;
height: 80px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 26px;
}
.section-header h2 {
margin: 0;
font-size: 46px;
font-weight: 600;
color: #333;
}
/* Products grid */
.content {
padding: 36px 40px 120px 40px;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 48px;
row-gap: 64px;
}
.card {
padding-bottom: 12px;
}
.card .img {
width: 100%;
height: 280px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
}
.title {
margin: 22px 0 8px 0;
font-size: 34px;
color: #424242;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.price {
font-size: 44px;
font-weight: 700;
color: #1b1b1b;
margin: 6px 0;
}
.meta {
display: flex;
align-items: baseline;
gap: 18px;
font-size: 32px;
}
.old {
color: #9e9e9e;
text-decoration: line-through;
}
.discount {
color: #2e7d32;
font-weight: 700;
}
/* Bottom gesture bar */
.home-indicator {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 28px;
width: 360px;
height: 16px;
background: #000;
opacity: 0.3;
border-radius: 16px;
}
/* Simple icon styles */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Top status bar -->
<div class="status-bar">
11:31
<div class="right">
<!-- simple dot icons to simulate status -->
<svg width="28" height="28"><circle cx="14" cy="14" r="6" fill="#fff"/></svg>
<svg width="28" height="28"><circle cx="14" cy="14" r="6" fill="#fff"/></svg>
<svg width="34" height="28" viewBox="0 0 24 24"><path fill="#fff" d="M4 18h16v2H4v-2zm2-7h12v6H6v-6zm3-7h6v5H9V4z"/></svg>
<svg width="34" height="28" viewBox="0 0 24 24"><path fill="#fff" d="M16 4h-8a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm-1 17H9v1h6v-1z"/></svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="left">
<!-- Back icon -->
<svg width="56" height="56" viewBox="0 0 24 24">
<path fill="#fff" d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
</svg>
<div class="logo-block">
<div class="logo-title">Flipkart</div>
<div class="logo-sub">Explore Plus
<svg width="24" height="24" viewBox="0 0 24 24">
<path fill="#ffeb3b" d="M12 17.27L18.18 21 16.54 13.97 22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z"/>
</svg>
</div>
</div>
</div>
<div class="actions">
<!-- Search icon -->
<svg width="56" height="56" viewBox="0 0 24 24">
<path fill="#fff" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.71.71l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/>
</svg>
<!-- Cart icon -->
<svg width="56" height="56" viewBox="0 0 24 24">
<path fill="#fff" d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2zM7.16 14h9.65c.75 0 1.41-.41 1.76-1.05l3.14-5.65A1 1 0 0 0 21 6H6.21l-.94-2H2v2h2l3.6 7.59-.95 1.72A2 2 0 0 0 6 17h12v-2H7.16z"/>
</svg>
</div>
</div>
<!-- Section header -->
<div class="section-header">
<div class="thumb">[IMG: Shoe]</div>
<h2>Similar Products</h2>
</div>
<!-- Products -->
<div class="content">
<div class="grid">
<!-- Card 1 -->
<div class="card">
<div class="img">[IMG: Black Nike Running Shoe]</div>
<div class="title">NIKE Revolution 5 Running Sh...</div>
<div class="price">₹2,586</div>
<div class="meta">
<span class="old">3,695</span>
<span class="discount">30% off</span>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="img">[IMG: Black/White Nike Running Shoe]</div>
<div class="title">NIKE Revolution 5 Running Sh...</div>
<div class="price">₹2,882</div>
<div class="meta">
<span class="old">3,695</span>
<span class="discount">22% off</span>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="img">[IMG: Grey Nike Running Shoe]</div>
<div class="title">NIKE Revolution 5 Running Sh...</div>
<div class="price">₹2,882</div>
<div class="meta">
<span class="old">3,695</span>
<span class="discount">22% off</span>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="img">[IMG: Light Grey Nike Road Running Shoe]</div>
<div class="title">NIKE Revolution 6 Road Runnin...</div>
<div class="price">₹2,882</div>
<div class="meta">
<span class="old">3,695</span>
<span class="discount">22% off</span>
</div>
</div>
<!-- Card 5 -->
<div class="card">
<div class="img">[IMG: Pink Nike Training Shoe]</div>
<div class="title">NIKE Legend Essential 2 Traini...</div>
<div class="price">₹3,146</div>
<div class="meta">
<span class="old">4,495</span>
<span class="discount">30% off</span>
</div>
</div>
<!-- Card 6 -->
<div class="card">
<div class="img">[IMG: Light Blue Nike Women Running Shoe]</div>
<div class="title">NIKE Nike Revolution 6 Women...</div>
<div class="price">₹3,695</div>
<div class="meta">
<span class="old"></span>
<span class="discount"></span>
</div>
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>