AndroidCode / code /10165 /10165_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.9 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>PUMA Shop - Slides</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;
}
/* Status bar */
.status-bar {
position: absolute; top: 18px; left: 32px; right: 32px; height: 40px;
display: flex; align-items: center; justify-content: space-between;
font-weight: 600; color: #222; font-size: 30px;
}
.status-right { display: flex; align-items: center; gap: 18px; }
.dot { width: 18px; height: 18px; background: #444; border-radius: 50%; opacity: 0.7; }
.icon-small { width: 28px; height: 28px; }
.wifi::before { content: ""; display: block; width: 28px; height: 18px; border: 3px solid #333; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom: none; }
.battery {
width: 34px; height: 22px; border: 3px solid #333; position: relative; border-radius: 4px;
}
.battery::after { content: ""; position: absolute; right: -8px; top: 6px; width: 6px; height: 10px; background: #333; border-radius: 2px; }
/* App header */
.app-header {
position: absolute; top: 84px; left: 20px; right: 20px; height: 72px;
display: flex; align-items: center; justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.header-right { display: flex; align-items: center; gap: 28px; }
.icon-btn { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.icon-svg { width: 40px; height: 40px; }
.badge {
position: relative;
}
.badge .count {
position: absolute; top: -10px; right: -8px;
background: #000; color: #fff; font-size: 22px; font-weight: 700;
width: 34px; height: 34px; border-radius: 17px; display: flex; align-items: center; justify-content: center;
}
/* Title and sort bar */
.title-sort {
position: absolute; top: 190px; left: 40px; right: 40px;
display: flex; align-items: baseline; justify-content: space-between;
}
.title-sort .title { font-size: 44px; font-weight: 800; letter-spacing: 1px; color: #111; }
.sort { display: flex; align-items: center; gap: 12px; font-size: 34px; font-weight: 700; color: #111; }
.sort-icon { width: 26px; height: 36px; border-left: 4px solid #111; border-right: 4px solid #111; position: relative; }
.sort-icon::before, .sort-icon::after {
content: ""; position: absolute; left: 50%; transform: translateX(-50%);
width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent;
}
.sort-icon::before { top: -8px; border-bottom: 12px solid #111; }
.sort-icon::after { bottom: -8px; border-top: 12px solid #111; }
/* Product grid */
.content {
position: absolute; top: 270px; left: 32px; right: 32px; bottom: 140px; overflow: auto; padding-bottom: 40px;
}
.grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 34px 34px;
}
.card {
background: #fff; border-radius: 8px; padding-bottom: 12px;
}
.img-wrap {
position: relative; width: 100%; height: 420px; border-radius: 8px; overflow: hidden;
background: #E0E0E0; border: 1px solid #BDBDBD; display: flex; align-items: center; justify-content: center; color: #757575; font-size: 28px; font-weight: 600;
}
.tag-new {
position: absolute; top: 14px; left: 14px; background: #111; color: #fff; font-size: 24px; font-weight: 800;
padding: 10px 16px; border-radius: 8px;
}
.fav {
position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.9);
display: flex; align-items: center; justify-content: center; border: 1px solid #ddd;
}
.heart { width: 30px; height: 30px; border: 3px solid #000; border-top-left-radius: 18px; border-top-right-radius: 18px; border-bottom: none; position: relative; transform: rotate(-45deg); }
.heart::after {
content: ""; position: absolute; width: 30px; height: 30px; border: 3px solid #000; border-top-left-radius: 18px; border-top-right-radius: 18px; border-bottom: none; left: 16px; top: 14px; transform: rotate(90deg);
}
.meta { margin-top: 18px; display: flex; align-items: center; gap: 12px; color: #333; font-size: 28px; font-weight: 600; }
.chev-down {
width: 20px; height: 20px; border-left: 4px solid #000; border-bottom: 4px solid #000; transform: rotate(-45deg); margin-left: 6px;
}
.name { margin-top: 12px; font-size: 36px; font-weight: 800; color: #111; }
.price { margin-top: 10px; font-size: 34px; font-weight: 800; color: #111; }
.promo {
margin-top: 16px; font-size: 28px; line-height: 42px; color: #8B3A1A; font-weight: 700;
}
/* Bottom nav */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0; height: 120px; border-top: 1px solid #e4e4e4; background: #fff;
display: flex; justify-content: space-around; align-items: center;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #7a7a7a; font-size: 26px; font-weight: 700; }
.nav-item .nav-icon { width: 54px; height: 54px; }
.nav-item.active { color: #111; }
.nav-item.active .nav-icon { filter: none; }
.nav-badge {
position: absolute; right: 38px; bottom: 86px;
width: 40px; height: 40px; background: #C9A16B; color: #fff; font-weight: 800; font-size: 22px;
border-radius: 20px; display: flex; align-items: center; justify-content: center;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:15</div>
<div class="status-right">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="wifi"></div>
<div class="battery"></div>
</div>
</div>
<!-- App header with back, bag and search -->
<div class="app-header">
<div class="header-left">
<div class="icon-btn">
<svg class="icon-svg" viewBox="0 0 24 24">
<path d="M15 19L8 12l7-7" stroke="#000" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="header-right">
<div class="icon-btn badge">
<svg class="icon-svg" viewBox="0 0 24 24">
<path d="M6 7h12l-1 12H7L6 7z" stroke="#000" stroke-width="2.4" fill="none"/>
<path d="M9 7V5a3 3 0 013-3 3 3 0 013 3v2" stroke="#000" stroke-width="2.4" fill="none"/>
</svg>
<div class="count">1</div>
</div>
<div class="icon-btn">
<svg class="icon-svg" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" stroke="#000" stroke-width="2.6" fill="none"/>
<path d="M15 15l6 6" stroke="#000" stroke-width="2.6" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Title and sort -->
<div class="title-sort">
<div class="title">44 PRODUCTS</div>
<div class="sort">
<div>SORT</div>
<div class="sort-icon"></div>
</div>
</div>
<!-- Content grid -->
<div class="content">
<div class="grid">
<!-- Card 1 -->
<div class="card">
<div class="img-wrap">
<div class="tag-new">NEW</div>
<div class="fav"><div class="heart"></div></div>
[IMG: Beige Shibui Cat Slide]
</div>
<div class="meta">
<div>3 Colors</div>
<div class="chev-down"></div>
</div>
<div class="name">Shibui Cat Slides</div>
<div class="price">$45.00</div>
<div class="promo">
TAKE 40% OFF CLOTHING WHEN YOU BUY ANY SHOES. EXCLUSIONS APPLY. PRICE REFLECTED IN CART.
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="img-wrap">
<div class="tag-new">NEW</div>
<div class="fav"><div class="heart"></div></div>
[IMG: Two-tone Softride Slide]
</div>
<div class="meta">
<div>3 Colors</div>
<div class="chev-down"></div>
</div>
<div class="name">Softride Slides</div>
<div class="price">$45.00</div>
<div class="promo">
TAKE 40% OFF CLOTHING WHEN YOU BUY ANY SHOES. EXCLUSIONS APPLY. PRICE REFLECTED IN CART.
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="img-wrap">
<div class="tag-new">NEW</div>
<div class="fav"><div class="heart"></div></div>
[IMG: Green Strap Puma Slide]
</div>
<div class="meta">
<div>5 Colors</div>
<div class="chev-down"></div>
</div>
<div class="name">Leadcat Slides</div>
<div class="price">$45.00</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="img-wrap">
<div class="fav"><div class="heart"></div></div>
[IMG: Black Shibui Foam Slide]
</div>
<div class="meta">
<div>3 Colors</div>
<div class="chev-down"></div>
</div>
<div class="name">Shibui Cat Slides</div>
<div class="price">$45.00</div>
</div>
</div>
</div>
<!-- Bottom nav -->
<div class="bottom-nav">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 11l9-8 9 8v9H3z" stroke="#7a7a7a" stroke-width="2.4" fill="none" />
</svg>
<div>HOME</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M4 20v-8l8-4 8 4v8" stroke="#7a7a7a" stroke-width="2.4" fill="none"/>
<circle cx="12" cy="12" r="2" fill="#7a7a7a"/>
</svg>
<div>DROPS</div>
</div>
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24">
<rect x="3" y="4" width="18" height="16" rx="2" ry="2" stroke="#000" stroke-width="2.4" fill="none"/>
<path d="M7 8h10M7 12h10M7 16h10" stroke="#000" stroke-width="2.4"/>
</svg>
<div>SHOP</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M6 7h12l-1 12H7L6 7z" stroke="#7a7a7a" stroke-width="2.4" fill="none"/>
<path d="M9 7V5a3 3 0 013-3 3 3 0 013 3v2" stroke="#7a7a7a" stroke-width="2.4" fill="none"/>
</svg>
<div>CART</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" stroke="#7a7a7a" stroke-width="2.4" fill="none"/>
<path d="M4 21c2-4 6-5 8-5s6 1 8 5" stroke="#7a7a7a" stroke-width="2.4" fill="none"/>
</svg>
<div>ACCOUNT</div>
</div>
<div class="nav-badge">2</div>
</div>
</div>
</body>
</html>