AndroidCode / code /10144 /10144_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
9.39 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Product - Added to Bag</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f6f6f6;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #111;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 96px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 6;
color: #222;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-bar .time { font-size: 36px; }
.sb-icons {
display: flex; align-items: center; gap: 24px;
}
.sb-icons svg { width: 40px; height: 40px; }
/* Hero section */
.hero {
position: absolute;
top: 96px;
left: 0;
width: 100%;
height: 1150px;
}
.hero .hero-img {
position: absolute;
left: 40px;
right: 40px;
top: 20px;
bottom: 0;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 42px;
text-align: center;
}
.hero .label-new {
position: absolute;
left: 48px;
bottom: 240px;
background: #e9e9e9;
color: #111;
font-weight: 700;
letter-spacing: 3px;
font-size: 28px;
padding: 20px 28px;
}
.thumbs {
position: absolute;
left: 0;
right: 0;
bottom: 60px;
height: 140px;
padding: 0 40px;
display: flex;
align-items: center;
gap: 28px;
opacity: 0.9;
}
.thumb {
width: 240px;
height: 120px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #777;
font-size: 22px;
}
.thumb.selected {
outline: 2px dashed #9E9E9E;
outline-offset: 6px;
}
.scroll-handle {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -10px;
width: 160px; height: 12px;
background: #c9c9c9; border-radius: 6px;
}
/* Details section under hero */
.details {
position: absolute;
top: 1250px;
left: 0; right: 0;
padding: 40px 48px 220px 48px;
background: #f4f4f4;
border-top: 1px solid #e0e0e0;
z-index: 1;
}
.title-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 20px;
}
.title-row .title {
font-size: 64px;
line-height: 76px;
font-weight: 800;
letter-spacing: 3px;
text-transform: uppercase;
max-width: 860px;
}
.title-row .heart {
font-size: 64px;
line-height: 64px;
color: #111;
opacity: 0.85;
margin-top: 10px;
}
.price-row {
margin-top: 32px;
display: flex;
align-items: center;
gap: 36px;
}
.price-row .price {
font-size: 38px;
font-weight: 800;
letter-spacing: 2px;
}
.price-row .perf {
font-size: 30px;
letter-spacing: 6px;
color: #444;
}
/* Background scrim when sheet is open */
.scrim {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.55);
z-index: 3;
}
/* Close (X) on top right of background */
.close-hero {
position: absolute;
top: 240px;
right: 40px;
width: 84px; height: 84px;
background: transparent;
border: none;
z-index: 6;
opacity: 0.9;
cursor: default;
}
.close-hero svg { width: 100%; height: 100%; }
/* Bottom sheet */
.sheet {
position: absolute;
left: 0;
right: 0;
bottom: 120px;
height: 940px;
background: #fff;
border-top-left-radius: 24px;
border-top-right-radius: 24px;
box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
z-index: 5;
display: flex;
flex-direction: column;
}
.sheet-header {
position: relative;
padding: 38px 48px;
border-bottom: 1px solid #e5e5e5;
text-align: center;
font-weight: 800;
font-size: 34px;
letter-spacing: 3px;
}
.sheet-header .close {
position: absolute;
right: 32px; top: 26px;
width: 72px; height: 72px; border: none; background: transparent;
}
.sheet-content {
padding: 40px 40px 0 40px;
flex: 1;
}
.item-card {
background: #EDF0F2;
border: 1px solid #e2e6e9;
display: flex;
gap: 36px;
padding: 36px;
align-items: center;
}
.item-images {
width: 300px;
}
.item-images .img {
width: 300px;
height: 160px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 22px;
}
.item-images .img + .img { margin-top: 20px; height: 120px; }
.item-info { flex: 1; position: relative; }
.price-tag {
position: absolute;
left: 0; top: -10px;
background: #fff;
border: 1px solid #E0E0E0;
padding: 12px 18px;
font-weight: 800;
font-size: 30px;
letter-spacing: 1px;
}
.item-title {
margin-top: 40px;
font-size: 40px;
line-height: 50px;
font-weight: 800;
letter-spacing: 1px;
text-transform: uppercase;
max-width: 600px;
}
.item-size {
margin-top: 16px;
color: #444;
font-size: 28px;
letter-spacing: 2px;
}
.view-bag {
margin: 40px 40px 0 40px;
height: 132px;
background: #000;
color: #fff;
border: none;
font-size: 36px;
font-weight: 800;
letter-spacing: 6px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px 0 48px;
}
.view-bag svg { width: 52px; height: 52px; }
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 220px;
height: 12px;
background: #cfcfcf;
border-radius: 6px;
z-index: 6;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">3:18</div>
<div class="sb-icons">
<!-- simple signal icon -->
<svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round">
<path d="M3 17h2"></path>
<path d="M3 13h5"></path>
<path d="M3 9h8"></path>
</svg>
<!-- Wi-Fi -->
<svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round">
<path d="M2 8a16 16 0 0 1 20 0"></path>
<path d="M5 12a11 11 0 0 1 14 0"></path>
<path d="M8 16a6 6 0 0 1 8 0"></path>
<circle cx="12" cy="20" r="1.6" fill="#222" stroke="none"></circle>
</svg>
<!-- Battery -->
<svg viewBox="0 0 28 16" fill="none" stroke="#222" stroke-width="2">
<rect x="1" y="3" width="22" height="10" rx="2"></rect>
<rect x="3" y="5" width="14" height="6" fill="#222" stroke="none"></rect>
<rect x="23" y="6" width="4" height="4" rx="1" fill="#222" stroke="none"></rect>
</svg>
</div>
</div>
<!-- Hero product image area -->
<div class="hero">
<div class="hero-img">[IMG: Product Hero - Cleats]</div>
<div class="thumbs">
<div class="thumb">[IMG]</div>
<div class="thumb selected">[IMG]</div>
<div class="thumb">[IMG]</div>
<div class="scroll-handle"></div>
</div>
<div class="label-new">NEW</div>
</div>
<!-- Product details (behind scrim) -->
<div class="details">
<div class="title-row">
<div class="title">PREDATOR ACCURACY+ ARTIFICIAL GRASS CLEATS</div>
<div class="heart"></div>
</div>
<div class="price-row">
<div class="price">$300.00</div>
<div class="perf">PERFORMANCE</div>
</div>
</div>
<!-- Scrim overlay to dim background -->
<div class="scrim"></div>
<!-- Close icon over top-right of dimmed page -->
<button class="close-hero" aria-label="Close">
<svg viewBox="0 0 24 24" stroke="#111" stroke-width="2" stroke-linecap="round">
<path d="M4 4l16 16M20 4L4 20"></path>
</svg>
</button>
<!-- Bottom sheet: Added to bag -->
<div class="sheet">
<div class="sheet-header">
ADDED TO BAG
<button class="close" aria-label="Dismiss">
<svg viewBox="0 0 24 24" stroke="#111" stroke-width="2" stroke-linecap="round">
<path d="M4 4l16 16M20 4L4 20"></path>
</svg>
</button>
</div>
<div class="sheet-content">
<div class="item-card">
<div class="item-images">
<div class="img">[IMG: Cleats Side]</div>
<div class="img">[IMG: Cleats Sole]</div>
</div>
<div class="item-info">
<div class="price-tag">$300.00</div>
<div class="item-title">PREDATOR ACCURACY+ ARTIFICIAL GRASS CLEATS</div>
<div class="item-size">M 8 / W 9</div>
</div>
</div>
<button class="view-bag">
<span>VIEW BAG</span>
<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 12h14"></path>
<path d="M12 5l7 7-7 7"></path>
</svg>
</button>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>