AndroidCode / code /10173 /10173_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
12.5 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Shopsy Mock UI</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; border-radius: 24px;
}
/* Status bar */
.status-bar {
height: 100px; background: #EDEDED; color: #333; display: flex; align-items: center; justify-content: space-between;
padding: 0 40px; font-size: 36px;
}
.status-right { display: flex; align-items: center; gap: 24px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #666; display: inline-block; margin: 0 6px; }
/* Header */
.header {
height: 140px; background: #fff; display: flex; align-items: center; justify-content: space-between;
padding: 0 40px;
}
.brand { font-weight: 800; font-size: 54px; color: #5e37ff; letter-spacing: 0.5px; }
.login { font-size: 38px; color: #1a73e8; }
/* Offer banner (image placeholder) */
.offer-banner {
margin: 16px 40px 24px; height: 180px;
display: flex; align-items: center; justify-content: center;
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575; border-radius: 18px;
font-size: 36px;
}
/* Hero */
.hero {
margin: 0 0 12px 0;
height: 520px;
background: linear-gradient(90deg, #6d3bff 0%, #8a52ff 50%, #5f2bd9 100%);
position: relative;
padding: 40px;
color: #fff;
}
.hero-content { display: flex; height: 100%; }
.hero-left { width: 560px; display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-size: 60px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero-sub { font-size: 32px; opacity: 0.95; margin-bottom: 24px; }
.hero-price { font-size: 46px; font-weight: 800; margin-bottom: 24px; }
.btn {
display: inline-flex; align-items: center; gap: 14px;
background: #ffeb72; color: #3a2a00; font-weight: 700; border-radius: 12px;
padding: 18px 26px; font-size: 32px;
}
.hero-right {
flex: 1; display: flex; align-items: center; justify-content: center;
}
.img-placeholder {
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center;
}
.hero-right .img-placeholder { width: 430px; height: 430px; border-radius: 18px; }
.carousel-dots { height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.dot-round { width: 18px; height: 18px; border-radius: 50%; background: #cfc6f9; }
.dot-round.active { width: 36px; border-radius: 9px; background: #7c5cff; }
/* Categories grid */
.categories {
background: #fff; padding: 20px 20px 0;
}
.cat-row {
display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px;
}
.cat-item {
width: 20%;
display: flex; flex-direction: column; align-items: center; text-align: center;
padding: 18px 8px;
}
.icon-wrap {
width: 170px; height: 170px; border-radius: 50%;
border: 6px solid #e8c66b; display: flex; align-items: center; justify-content: center;
background: #fff; position: relative;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.icon-wrap .img-placeholder { width: 150px; height: 150px; border-radius: 50%; font-size: 24px; }
.badge-new {
position: absolute; top: -8px; left: -8px;
background: #5e37ff; color: #fff; font-size: 24px; padding: 6px 12px; border-radius: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.cat-label {
margin-top: 12px; font-size: 30px; color: #222; line-height: 1.2;
}
/* Feature ribbon */
.features {
margin: 12px 20px 20px; border-radius: 18px; padding: 26px 20px;
background: linear-gradient(90deg, #4f38f7, #6a4ff8);
color: #fff; display: flex; justify-content: space-around; align-items: center;
}
.feat { display: flex; align-items: center; gap: 16px; font-size: 32px; }
.feat svg { width: 48px; height: 48px; fill: #fff; }
/* Loot banner */
.loot-banner {
margin: 0 20px; height: 320px; border-radius: 18px; position: relative;
background: linear-gradient(90deg, #6d3bff 0%, #8a52ff 50%, #5f2bd9 100%);
color: #fff; padding: 24px;
}
.loot-title { text-align: center; font-size: 54px; font-weight: 900; letter-spacing: 2px; }
.loot-sub { text-align: center; font-size: 28px; margin-top: 8px; opacity: 0.9; }
.loot-badges { position: absolute; top: 70px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.loot-badge {
width: 240px; height: 180px; border-radius: 14px;
display: flex; align-items: center; justify-content: center;
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575; font-size: 28px;
}
.loot-cta {
position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
background: #ffeb72; color: #3a2a00; padding: 16px 28px; border-radius: 12px; font-weight: 800; font-size: 30px;
}
/* Bottom nav */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
background: #fff; border-top: 1px solid #e5e5e5;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #777; font-size: 28px; position: relative; }
.nav-item.active { color: #2a57ff; }
.nav-item svg { width: 56px; height: 56px; margin-bottom: 8px; }
.nav-item.active svg { fill: #2a57ff; }
.nav-item svg { fill: #777; }
.red-dot {
position: absolute; top: 12px; right: 48px; width: 16px; height: 16px; border-radius: 50%; background: #ff3b30;
}
.cart-badge {
position: absolute; top: 8px; right: 38px; min-width: 34px; height: 34px; padding: 0 8px;
background: #ff3b30; color: #fff; font-size: 24px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
/* Safe area indicator */
.home-indicator {
position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
width: 320px; height: 12px; background: rgba(0,0,0,0.2); border-radius: 8px;
}
/* Simple arrow icon for button */
.arrow {
width: 22px; height: 22px; border: 2px solid #3a2a00; border-left: none; border-bottom: none; transform: rotate(-45deg);
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>11:25</div>
<div class="status-right">
<span>B</span>
<span>TEMU</span><span class="dot"></span><span>TEMU</span>
<span class="dot"></span>
<span></span>
<span>Wi-Fi</span>
<span>🔋</span>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="brand">shopsy</div>
<div class="login">Log in</div>
</div>
<!-- Offer banner placeholder -->
<div class="offer-banner">[IMG: Limited Time Offer - Extra 20% Off Banner]</div>
<!-- Hero section -->
<div class="hero">
<div class="hero-content">
<div class="hero-left">
<div class="hero-title">Cozy Elegance for Women</div>
<div class="hero-sub">Trendy Color Block Tees & more</div>
<div class="hero-price">From ₹125</div>
<div class="btn">
Shop Now
<span class="arrow"></span>
</div>
</div>
<div class="hero-right">
<div class="img-placeholder">[IMG: Fashion Models in Hoodies]</div>
</div>
</div>
</div>
<div class="carousel-dots">
<div class="dot-round"></div>
<div class="dot-round"></div>
<div class="dot-round active"></div>
<div class="dot-round"></div>
<div class="dot-round"></div>
<div class="dot-round"></div>
<div class="dot-round"></div>
</div>
<!-- Categories -->
<div class="categories">
<div class="cat-row">
<div class="cat-item">
<div class="icon-wrap">
<div class="badge-new">New</div>
<div class="img-placeholder">[IMG: Winter Fashion]</div>
</div>
<div class="cat-label">Winter<br>Fashion</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Women's Fashion]</div>
</div>
<div class="cat-label">Women's<br>Fashion</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Men's Fashion]</div>
</div>
<div class="cat-label">Men's<br>Fashion</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Electronics Accessories]</div>
</div>
<div class="cat-label">Electronics</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="badge-new">New</div>
<div class="img-placeholder">[IMG: Auto Accessories]</div>
</div>
<div class="cat-label">Auto<br>Accessories</div>
</div>
</div>
<div class="cat-row">
<div class="cat-item">
<div class="icon-wrap">
<div class="badge-new">New</div>
<div class="img-placeholder">[IMG: Wedding Store]</div>
</div>
<div class="cat-label">Wedding<br>Store</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Home Products]</div>
</div>
<div class="cat-label">Home</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Beauty & Cosmetics]</div>
</div>
<div class="cat-label">Beauty &<br>more</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Kids & Toys]</div>
</div>
<div class="cat-label">Kids & Toys</div>
</div>
<div class="cat-item">
<div class="icon-wrap">
<div class="img-placeholder">[IMG: Fitness Equipment]</div>
</div>
<div class="cat-label">Fitness</div>
</div>
</div>
</div>
<!-- Feature ribbon -->
<div class="features">
<div class="feat">
<svg viewBox="0 0 24 24"><path d="M3 12c0-3 2.5-5 5.5-5H12v3H8.5C7 10 6 11 6 12s1 2 2.5 2H12v3H8.5C5.5 17 3 15 3 12zm12-7h6v4h-6V5zm0 9h6v4h-6v-4z"></path></svg>
<span>Affordable Prices</span>
</div>
<div class="feat">
<svg viewBox="0 0 24 24"><path d="M12 2l3 6 6 .5-4.5 4 1.5 6.5L12 16l-6 3 1.5-6.5L3 8.5 9 8l3-6z"></path></svg>
<span>Good Quality</span>
</div>
<div class="feat">
<svg viewBox="0 0 24 24"><path d="M3 6h13l3 5v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6zm2 2v10h12V12H9l-4-4z"></path></svg>
<span>Free Delivery</span>
</div>
</div>
<!-- Loot Stores banner -->
<div class="loot-banner">
<div class="loot-title">THE LOOT STORES</div>
<div class="loot-sub">Sale Valid For 1 Unit Per Customer</div>
<div class="loot-badges">
<div class="loot-badge">[IMG: UNDER 45 STORE Badge]</div>
<div class="loot-badge">[IMG: UNDER 95 STORE Badge]</div>
</div>
<div class="loot-cta">SHOP NOW</div>
</div>
<!-- Spacer to allow scroll feel -->
<div style="height: 320px;"></div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg viewBox="0 0 24 24"><path d="M12 3l9 8h-2v9h-5v-6H10v6H5v-9H3l9-8z"></path></svg>
<div>Home</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm11 19-5.5-5.5"></path></svg>
<div>Search</div>
</div>
<div class="nav-item">
<span class="red-dot"></span>
<svg viewBox="0 0 24 24"><path d="M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z"></path></svg>
<div>Categories</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 12a5 5 0 1 0-0.001-10.001A5 5 0 0 0 12 12zm-8 9c0-4.418 3.582-8 8-8s8 3.582 8 8H4z"></path></svg>
<div>Account</div>
</div>
<div class="nav-item">
<div class="cart-badge">1</div>
<svg viewBox="0 0 24 24"><path d="M3 4h2l3 12h10l2-8H7"></path><circle cx="9" cy="20" r="2"></circle><circle cx="18" cy="20" r="2"></circle></svg>
<div>Cart</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>