AndroidCode / code /10160 /10160_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
15.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1440, initial-scale=1.0">
<title>Product Ratings & Reviews</title>
<style>
:root{
--bg:#ffffff;
--text:#1d2330;
--muted:#788293;
--border:#E5E7EB;
--card-border:#DFE3E8;
--blue:#2D9CDB;
--yellow:#FFE133;
--yellow-dark:#f0c800;
--star:#FFC107;
--light:#F7F9FC;
}
body{ margin:0; padding:0; background:transparent; font-family: Arial, Helvetica, sans-serif; color:var(--text); }
#render-target{
width:1440px;
height:3120px;
position:relative;
overflow:hidden;
background:var(--bg);
box-shadow:0 6px 24px rgba(0,0,0,0.12);
}
/* Status bar */
.status-bar{
height:110px;
background:#E6E7EA;
color:#fff;
display:flex;
align-items:center;
padding:0 36px;
font-weight:600;
letter-spacing:1px;
}
.status-time{ font-size:44px; opacity:.95; }
.status-icons{ margin-left:auto; display:flex; gap:26px; align-items:center; }
.status-dot{ width:14px; height:14px; background:#fff; border-radius:50%; opacity:.65; }
/* App bar */
.app-bar{
height:160px;
background:#fff;
display:flex;
align-items:center;
padding:0 36px;
border-bottom:1px solid var(--border);
}
.app-actions{ margin-left:auto; display:flex; gap:48px; }
.icon-btn{ width:84px; height:84px; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.icon{ width:54px; height:54px; fill:none; stroke:#222; stroke-width:3.5; }
.icon.solid{ fill:#222; stroke:none; }
/* Product carousel */
.carousel{
padding:24px 24px 16px 24px;
display:flex;
gap:28px;
overflow:hidden;
background:#fff;
}
.card{
width:620px;
border:1px solid var(--card-border);
border-radius:10px;
background:#fff;
overflow:hidden;
}
.card .img{
height:300px;
background:#E0E0E0;
border-bottom:1px solid var(--card-border);
display:flex; align-items:center; justify-content:center;
color:#6B7280;
font-size:32px;
}
.card-body{ padding:26px 26px 30px 26px; position:relative; }
.badge{
position:absolute; top:-34px; left:20px;
background:#fff; border:1px solid var(--card-border); border-radius:8px;
padding:6px 12px; display:flex; align-items:center; gap:8px; font-size:28px; font-weight:700; color:#4b5563;
}
.favorite{
position:absolute; top:-34px; right:20px;
background:#fff; border:1px solid var(--card-border); border-radius:50%;
width:64px; height:64px; display:flex; align-items:center; justify-content:center;
}
.brand{ font-weight:800; letter-spacing:1px; margin-top:12px; }
.title{ color:#4b5563; font-size:30px; line-height:1.2; margin-top:8px; height:70px; overflow:hidden; }
.price-row{ margin-top:18px; display:flex; align-items:center; gap:18px; }
.price{
background:var(--yellow); padding:10px 18px; font-weight:900; font-size:34px; border-radius:6px;
}
.old-price{ color:#9CA3AF; text-decoration:line-through; font-size:28px; }
/* Blue pager bar */
.pager{
height:12px; background:#E6F3FF; margin:20px 40px 20px; border-radius:6px; position:relative;
}
.pager::after{
content:""; position:absolute; left:0; top:0; bottom:0; width:340px; background:#1E88E5; border-radius:6px;
}
/* Section header */
.section-header{
display:flex; align-items:center; gap:24px;
padding:36px 40px 18px;
border-top:10px solid #F3F4F6;
}
.section-title{
font-size:48px; font-weight:800; letter-spacing:2px;
}
.section-expand{ margin-left:auto; width:64px; height:64px; border:1px solid var(--border); border-radius:50%; display:flex; align-items:center; justify-content:center; }
/* Ratings wrap */
.ratings-wrap{
padding:10px 40px 30px 40px;
display:flex;
gap:40px;
}
.score{
width:420px; padding:20px 0; border-right:2px solid #E5E7EB;
}
.score .value{ font-size:120px; font-weight:700; }
.stars{ margin:10px 0 10px; color:var(--star); display:flex; gap:6px; }
.review-count{ color:#6B7280; font-size:34px; }
.dist{
flex:1; padding:10px 20px;
}
.dist-row{
display:flex; align-items:center; gap:20px; margin:22px 0;
font-size:34px; color:#6B7280;
}
.dist-row .bar{
height:18px; background:#ECEDEF; border-radius:10px; flex:1; position:relative; overflow:hidden;
}
.dist-row .bar span{
position:absolute; left:0; top:0; bottom:0; background:#F3C233; border-radius:10px;
}
.dist-row .count{ width:120px; text-align:right; color:#6B7280; }
/* Info note */
.info-line{
display:flex; align-items:center; gap:18px; color:#1E88E5; font-weight:700;
padding:20px 40px;
}
/* Write review */
.write-review{
margin:14px 40px;
background:#EAF3FB; border:1px solid #D5E5F5; color:#1E88E5;
height:140px; display:flex; align-items:center; justify-content:center; gap:18px;
border-radius:18px; font-size:38px; font-weight:700;
}
/* Review header row */
.reviews-head{
display:flex; align-items:center; padding:32px 40px 10px; gap:20px;
}
.reviews-head .title{ font-size:44px; font-weight:800; margin-right:auto; color:#111827; }
.sort{
margin-left:auto; display:flex; align-items:center; gap:18px;
border:1px solid var(--border); border-radius:14px; padding:20px 28px; background:#fff; color:#6B7280; font-size:34px;
}
/* Single review snippet */
.review{
padding:30px 40px 0;
}
.chip{
display:inline-flex; align-items:center; gap:10px;
background:#F3F6FA; border:1px solid #E3E8EF; padding:18px 22px; border-radius:14px; color:#374151; font-weight:700; font-size:32px;
}
.rev-title{ margin:28px 0 8px; font-size:42px; font-weight:800; color:#1F2937; }
.rev-text{ color:#6B7280; font-size:34px; }
/* Bottom sticky add to cart */
.bottom-bar{
position:absolute; left:24px; right:24px; bottom:110px;
background:#fff; border:1px solid var(--border); border-radius:22px;
box-shadow:0 10px 30px rgba(0,0,0,0.12);
padding:20px;
display:flex; align-items:center; gap:24px;
}
.wish-btn{
width:220px; height:120px; border:2px solid #DAE2EA; border-radius:18px; display:flex; align-items:center; justify-content:center; background:#fff;
}
.cart-btn{
flex:1; height:120px; background:var(--yellow); border:none; border-radius:18px; font-size:48px; font-weight:900; letter-spacing:2px; color:#1f2329;
display:flex; align-items:center; justify-content:center; gap:18px;
box-shadow:inset 0 -3px 0 rgba(0,0,0,0.05);
}
/* Gesture pill */
.gesture{
position:absolute; left:50%; transform:translateX(-50%);
bottom:30px; width:320px; height:14px; background:#000; opacity:.18; border-radius:10px;
}
/* Utility star icon for text */
.tiny-star{ width:30px; height:30px; fill:var(--star); }
.muted{ color:#6B7280; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-time">1:25</div>
<div class="status-icons">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn" aria-label="Back">
<svg class="icon" viewBox="0 0 24 24">
<polyline points="15,4 7,12 15,20" stroke="#222" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></polyline>
</svg>
</div>
<div style="margin-left:8px; font-size:38px; font-weight:700; color:#1f2937;"></div>
<div class="app-actions">
<div class="icon-btn" title="Search">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#222" stroke-width="2.2" fill="none"></circle>
<line x1="16.5" y1="16.5" x2="21" y2="21" stroke="#222" stroke-width="2.2"></line>
</svg>
</div>
<div class="icon-btn" title="Wishlist">
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 21s-6-4.3-8.5-7.2C1.8 11.8 2 8.5 4.6 7c2.2-1.2 4.3-.2 5.4 1.2C11.1 6.8 13.3 5.8 15.4 7c2.6 1.5 2.8 4.8 1.1 6.8C18 16.7 12 21 12 21z" fill="none" stroke="#222" stroke-width="2"></path>
</svg>
</div>
<div class="icon-btn" title="Cart">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="9" cy="20" r="1.8" fill="#222"></circle>
<circle cx="18" cy="20" r="1.8" fill="#222"></circle>
<path d="M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.5a2 2 0 0 0 2-1.4L21 8H7.2" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
</div>
<!-- Product carousel -->
<div class="carousel">
<div class="card">
<div class="img">[IMG: Running Shoes Close-up]</div>
<div class="card-body">
<div class="badge">
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5" /></svg>
4.5
</div>
<div class="favorite">
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 21s-6-4.3-8.5-7.2C1.8 11.8 2 8.5 4.6 7c2.2-1.2 4.3-.2 5.4 1.2C11.1 6.8 13.3 5.8 15.4 7c2.6 1.5 2.8 4.8 1.1 6.8C18 16.7 12 21 12 21z" fill="none" stroke="#3b82f6" stroke-width="2"></path>
</svg>
</div>
<div class="brand">KALENJI</div>
<div class="title">Men Running Shoes Run Active - Bla...</div>
<div class="price-row">
<div class="price">₹2,299</div>
<div class="old-price">₹2,999</div>
</div>
</div>
</div>
<div class="card">
<div class="img">[IMG: Men's Jog Flow Shoes]</div>
<div class="card-body">
<div class="badge">
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5" /></svg>
4.5
</div>
<div class="favorite">
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 21s-6-4.3-8.5-7.2C1.8 11.8 2 8.5 4.6 7c2.2-1.2 4.3-.2 5.4 1.2C11.1 6.8 13.3 5.8 15.4 7c2.6 1.5 2.8 4.8 1.1 6.8C18 16.7 12 21 12 21z" fill="none" stroke="#3b82f6" stroke-width="2"></path>
</svg>
</div>
<div class="brand">KALENJI</div>
<div class="title">Men's Running Shoes Jog flow 100.1...</div>
<div class="price-row">
<div class="price">₹1,799</div>
<div class="old-price">₹2,999</div>
</div>
</div>
</div>
</div>
<div class="pager"></div>
<!-- Ratings & Reviews header -->
<div class="section-header">
<div class="section-title">RATINGS & REVIEWS</div>
<div class="section-expand">
<svg class="icon" viewBox="0 0 24 24">
<polyline points="6,9 12,15 18,9" stroke="#6B7280" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"></polyline>
</svg>
</div>
</div>
<!-- Ratings body -->
<div class="ratings-wrap">
<div class="score">
<div class="value">4.4</div>
<div class="stars">
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5"/></svg>
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5"/></svg>
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5"/></svg>
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5"/></svg>
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5"/></svg>
</div>
<div class="review-count">19358 Reviews</div>
</div>
<div class="dist">
<div class="dist-row">
<span>5</span>
<div class="bar"><span style="width:86%;"></span></div>
<div class="count">11888</div>
</div>
<div class="dist-row">
<span>4</span>
<div class="bar"><span style="width:40%;"></span></div>
<div class="count">4828</div>
</div>
<div class="dist-row">
<span>3</span>
<div class="bar"><span style="width:16%;"></span></div>
<div class="count">1262</div>
</div>
<div class="dist-row">
<span>2</span>
<div class="bar"><span style="width:6%;"></span></div>
<div class="count">498</div>
</div>
<div class="dist-row">
<span>1</span>
<div class="bar"><span style="width:12%;"></span></div>
<div class="count">882</div>
</div>
</div>
</div>
<!-- Info line -->
<div class="info-line">
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#1E88E5" stroke-width="2" fill="none"></circle>
<rect x="11" y="10" width="2" height="7" fill="#1E88E5"></rect>
<rect x="11" y="6.2" width="2" height="2.2" fill="#1E88E5"></rect>
</svg>
17390 customers recommend this product
</div>
<!-- Write a review -->
<div class="write-review">
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M3 17.3V21h3.7L18 9.7l-3.7-3.7L3 17.3z" fill="#1E88E5"></path>
<path d="M20.6 7.1c.5-.5.5-1.2 0-1.7L18.6 3.4c-.5-.5-1.2-.5-1.7 0l-1.9 1.9 3.7 3.7 1.9-1.9z" fill="#1E88E5"></path>
</svg>
WRITE A REVIEW
</div>
<!-- Reviews list header -->
<div class="reviews-head">
<div class="title">Reviews (19358)</div>
<div class="muted">Sort by</div>
<div class="sort">The Newest
<svg width="26" height="26" viewBox="0 0 24 24" style="margin-left:8px">
<polyline points="6,9 12,15 18,9" stroke="#6B7280" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></polyline>
</svg>
</div>
</div>
<div class="review">
<div class="chip">
5
<svg class="tiny-star" viewBox="0 0 24 24"><polygon points="12,2 15.2,8.5 22,9.2 17,13.7 18.4,20.4 12,17 5.6,20.4 7,13.7 2,9.2 8.8,8.5"/></svg>
Product Experience (1 week or less)
</div>
<div class="rev-title">Very Good</div>
<div class="rev-text">Excellent</div>
</div>
<!-- Bottom bar -->
<div class="bottom-bar">
<div class="wish-btn">
<svg width="60" height="60" viewBox="0 0 24 24">
<path d="M12 21s-6-4.3-8.5-7.2C1.8 11.8 2 8.5 4.6 7c2.2-1.2 4.3-.2 5.4 1.2C11.1 6.8 13.3 5.8 15.4 7c2.6 1.5 2.8 4.8 1.1 6.8C18 16.7 12 21 12 21z" fill="none" stroke="#0EA5E9" stroke-width="2"></path>
<rect x="11" y="7" width="2" height="10" fill="#0EA5E9"></rect>
<rect x="7" y="11" width="10" height="2" fill="#0EA5E9"></rect>
</svg>
</div>
<button class="cart-btn">
ADD TO CART
<svg width="54" height="54" viewBox="0 0 24 24">
<circle cx="9" cy="20" r="1.7" fill="#1f2329"></circle>
<circle cx="18" cy="20" r="1.7" fill="#1f2329"></circle>
<path d="M3 4h2l2 9.5a2 2 0 0 0 2 1.5h7.3a2 2 0 0 0 2-1.3L21 8H7" stroke="#1f2329" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</button>
</div>
<div class="gesture"></div>
</div>
</body>
</html>