AndroidCode / code /10076 /10076_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Nike Product Page UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #0A0A0A;
color: #fff;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
font-size: 38px;
letter-spacing: 0.5px;
}
.status-spacer { flex: 1; }
.status-icons { display: flex; align-items: center; gap: 28px; }
.icon {
width: 40px; height: 40px;
display: inline-flex; align-items: center; justify-content: center;
}
.battery {
width: 80px; height: 40px; border: 3px solid #fff; border-radius: 6px; position: relative; margin-left: 8px;
}
.battery::after { content: ""; position: absolute; right: -12px; top: 12px; width: 8px; height: 16px; background: #fff; border-radius: 2px; }
.battery .level { position: absolute; left: 4px; top: 4px; bottom: 4px; width: 52%; background: #fff; }
/* Page header */
.page-header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 150px;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
color: #111;
background: #fff;
}
.back-btn { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin-right: 20px; }
.title { font-size: 58px; font-weight: 700; }
.actions { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.bag { position: relative; }
.bag .badge {
position: absolute; top: -6px; right: -8px;
background: #000; color: #fff; font-size: 28px; line-height: 32px;
padding: 0 14px; border-radius: 20px; border: 2px solid #fff;
}
/* Content */
.content {
position: absolute;
top: 270px;
left: 0;
width: 100%;
padding: 0 40px;
box-sizing: border-box;
color: #1d1d1d;
}
.desc {
font-size: 38px;
line-height: 56px;
margin-bottom: 30px;
}
.bullets {
margin: 20px 0 30px 0;
padding-left: 34px;
font-size: 40px;
line-height: 64px;
}
.link {
font-size: 40px;
color: #6b6b6b;
margin: 10px 0 40px 2px;
}
/* Select & buttons */
.pill {
width: 100%;
height: 140px;
border: 2px solid #e4e4e4;
border-radius: 100px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 44px;
box-sizing: border-box;
font-size: 46px;
color: #111;
margin-bottom: 40px;
background: #fff;
}
.caret {
width: 36px; height: 36px; margin-left: 10px;
}
.cta {
background: #0A0A0A;
color: #fff;
border: none;
height: 160px;
border-radius: 100px;
font-size: 54px;
font-weight: 700;
display: flex; align-items: center; justify-content: center;
margin-bottom: 36px;
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.secondary {
height: 140px;
border-radius: 100px;
border: 2px solid #e4e4e4;
background: #fff;
color: #111;
font-size: 48px;
display: flex; align-items: center; justify-content: center;
gap: 24px;
margin-bottom: 40px;
}
.heart {
width: 50px; height: 50px;
}
/* Sections */
.section-row {
width: 100%;
height: 120px;
border-top: 1px solid #eee;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 0 12px 0 0;
margin-top: 10px;
}
.section-title {
font-size: 56px;
padding-left: 0;
color: #111;
}
.chevron-right { width: 36px; height: 36px; }
.reviews {
display: flex; align-items: center; gap: 18px; font-size: 56px;
}
.stars {
margin-left: 12px;
display: inline-flex;
gap: 20px;
}
.star {
width: 50px; height: 50px;
}
.half-star {
width: 50px; height: 50px;
}
/* Share */
.share {
position: absolute;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
width: 80px; height: 80px;
color: #111;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>9:42</div>
<div class="status-spacer"></div>
<div class="status-icons">
<!-- small circle-minus icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#fff">
<circle cx="12" cy="12" r="10" stroke="#fff" stroke-width="2" fill="none"></circle>
<rect x="6" y="11" width="12" height="2" fill="#fff"></rect>
</svg>
<!-- wifi/connection icon -->
<svg class="icon" viewBox="0 0 24 24" fill="#fff">
<path d="M2 8c5-4 15-4 20 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 12c4-3 10-3 14 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M9 16c2-2 4-2 6 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="19" r="1.6" fill="#fff"></circle>
</svg>
<!-- battery -->
<div class="battery"><div class="level"></div></div>
<div style="font-size:34px;">52%</div>
</div>
</div>
<!-- Page Header -->
<div class="page-header">
<div class="back-btn">
<svg viewBox="0 0 24 24" width="48" height="48">
<path d="M15 5l-7 7 7 7" stroke="#111" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="title">Nike Air Max 97</div>
<div class="actions">
<!-- search -->
<svg viewBox="0 0 24 24" width="54" height="54">
<circle cx="11" cy="11" r="7" stroke="#111" stroke-width="2.5" fill="none"></circle>
<path d="M20 20l-4.5-4.5" stroke="#111" stroke-width="2.5" stroke-linecap="round"></path>
</svg>
<!-- bag icon -->
<div class="bag">
<svg viewBox="0 0 24 24" width="58" height="58">
<path d="M6 9h12l-1 11H7L6 9z" stroke="#111" stroke-width="2.2" fill="none"></path>
<path d="M9 9V7a3 3 0 016 0v2" stroke="#111" stroke-width="2.2" fill="none" stroke-linecap="round"></path>
</svg>
<div class="badge">3</div>
</div>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="desc">
the running world and adding fresh colours and<br>
crisp details, it lets you ride in first-class comfort.
</div>
<ul class="bullets">
<li>Shown: Black/Anthracite/Picante Red</li>
<li>Style: 921826-018</li>
<li>Country/Region of Origin: Vietnam</li>
</ul>
<div class="link">View Product Details</div>
<div class="pill">
<div>Size UK 7</div>
<svg class="caret" viewBox="0 0 24 24">
<path d="M6 9l6 6 6-6" stroke="#111" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="cta">Add to Bag</div>
<div class="secondary">
<div>Favorite</div>
<svg class="heart" viewBox="0 0 24 24">
<path d="M12 20s-7-4.4-7-9.2C5 7 6.8 5.2 9 5.2c1.7 0 3 1 3 1s1.3-1 3-1c2.2 0 4 1.8 4 5.6C19 15.6 12 20 12 20z" stroke="#111" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="section-row">
<div class="section-title">Size & Fit</div>
<svg class="chevron-right" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#555" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="section-row" style="border-top: none; margin-top: 20px;">
<div class="reviews">
<div>Reviews (150)</div>
<div class="stars">
<!-- 5 black stars to approximate rating -->
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 7.3L12 18l-6.2 3.5 1.2-7.3-5-4.9 6.9-1z" fill="#111"></path>
</svg>
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 7.3L12 18l-6.2 3.5 1.2-7.3-5-4.9 6.9-1z" fill="#111"></path>
</svg>
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 7.3L12 18l-6.2 3.5 1.2-7.3-5-4.9 6.9-1z" fill="#111"></path>
</svg>
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 7.3L12 18l-6.2 3.5 1.2-7.3-5-4.9 6.9-1z" fill="#111"></path>
</svg>
<svg class="star" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 7.3L12 18l-6.2 3.5 1.2-7.3-5-4.9 6.9-1z" fill="#111"></path>
</svg>
</div>
</div>
<svg class="chevron-right" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#555" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="section-row">
<div class="section-title">Product Information</div>
<svg class="chevron-right" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#555" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<!-- Share icon at bottom center -->
<svg class="share" viewBox="0 0 24 24">
<circle cx="6" cy="17" r="3" fill="none" stroke="#111" stroke-width="2"></circle>
<circle cx="18" cy="7" r="3" fill="none" stroke="#111" stroke-width="2"></circle>
<circle cx="18" cy="17" r="3" fill="none" stroke="#111" stroke-width="2"></circle>
<path d="M8.7 15l6.6-6M8.7 19l6.6-2" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
</body>
</html>