AndroidCode / code /10173 /10173_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
15.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Shirts for Men - UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; color: #222; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff; border-radius: 28px; box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
/* Status bar (OS area) */
.status-bar {
height: 90px; background: #f3f3f3; color: #444;
display: flex; align-items: center; justify-content: space-between;
padding: 0 28px; font-size: 34px;
}
.status-icons { display: flex; gap: 20px; align-items: center; }
.dot { width: 10px; height: 10px; background: #777; border-radius: 50%; display: inline-block; margin: 0 8px; }
.battery {
width: 46px; height: 22px; border: 2px solid #444; border-radius: 4px; position: relative; margin-left: 10px;
}
.battery::after { content: ""; position: absolute; right: -8px; top: 6px; width: 6px; height: 10px; background: #444; border-radius: 2px; }
.battery .level { width: 28px; height: 14px; background: #444; position: absolute; left: 4px; top: 4px; border-radius: 2px; }
/* Top app bar */
.top-bar {
height: 120px; display: flex; align-items: center;
padding: 0 24px; border-bottom: 1px solid #e6e6e6; background: #fff;
}
.top-left { display: flex; align-items: center; gap: 18px; }
.title { font-size: 44px; font-weight: 600; color: #333; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.icon-btn { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.cart-badge {
position: absolute; right: 30px; top: 160px;
background: #ff3b30; color: #fff; font-weight: 700; font-size: 26px;
border-radius: 18px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
}
/* Sort/Filter row */
.controls {
display: grid; grid-template-columns: 1fr 1fr;
border-bottom: 1px solid #eaeaea; background: #fff;
}
.control-item {
height: 120px; display: flex; align-items: center; justify-content: center; gap: 18px;
font-size: 36px; color: #444; position: relative;
}
.control-item:first-child { border-right: 1px solid #efefef; }
/* Banner */
.banner {
height: 200px; margin: 22px; border-radius: 18px; overflow: hidden;
background: #E0E0E0; border: 1px solid #BDBDBD; display: flex; align-items: center; justify-content: center; color: #757575; font-size: 36px;
}
/* Product grid */
.product-grid {
padding: 12px 22px 0 22px;
display: grid; grid-template-columns: 1fr 1fr; grid-gap: 24px;
}
.card {
background: #fff; border: 1px solid #e6e6e6; border-radius: 18px; overflow: hidden; position: relative;
}
.product-img {
height: 560px; background: #E0E0E0; border-bottom: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 32px;
}
.ad-badge {
position: absolute; left: 12px; top: 12px; background: #ffffff; border: 1px solid #dadada;
color: #888; font-size: 28px; padding: 8px 12px; border-radius: 10px;
}
.fav-btn {
position: absolute; right: 14px; top: 12px; width: 64px; height: 64px;
background: #fff; border: 1px solid #e0e0e0; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
}
.card-body { padding: 22px; }
.prod-title { font-size: 34px; color: #444; line-height: 1.2; margin-bottom: 12px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.original { color: #9b9b9b; text-decoration: line-through; font-size: 30px; }
.price { font-weight: 700; font-size: 34px; color: #222; }
.discount { color: #1b8f3a; font-size: 32px; font-weight: 700; }
.delivery-chip {
display: inline-flex; align-items: center; gap: 10px;
padding: 10px 12px; border-radius: 10px; background: #f5f8ff; color: #2f66d5; font-weight: 600; font-size: 30px;
}
/* Coupon pill */
.coupon {
margin: 18px 0 6px 0; display: flex; align-items: center;
background: #e9fbe9; border: 1px dashed #b9e5b9; border-radius: 14px; padding: 16px 18px; gap: 16px; width: calc(100% - 2px); font-size: 30px;
}
.coupon .amount { font-weight: 800; color: #2e7d32; }
.coupon .divider {
width: 1px; height: 26px; background: linear-gradient(#b9e5b9,#b9e5b9) no-repeat;
border-left: 4px dotted #9fd99f; margin: 0 4px;
}
/* Bottom navigation */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 40px;
height: 160px; background: #fafafa; border-top: 1px solid #e6e6e6;
display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 18px;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #666; font-size: 28px; }
.nav-item.active { color: #2563eb; font-weight: 700; }
.cart-dot {
position: absolute; top: 22px; right: 110px; width: 26px; height: 26px; background: #ff3b30; color: #fff; border-radius: 50%;
display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
}
.categories-dot {
position: absolute; width: 20px; height: 20px; background: #ff3b30; border-radius: 50%; top: 34px; left: 660px;
border: 2px solid #fff;
}
.home-indicator {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 12px; width: 360px; height: 12px; background: #000; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>11:27</div>
<div class="status-icons">
<span>Temu</span><span class="dot"></span>
<svg width="32" height="32" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#444" stroke-width="2" fill="none"></circle>
<circle cx="12" cy="12" r="4" fill="#444"></circle>
</svg>
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M5 3h14l-2 14H7L5 3zm4 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="#444"></path>
</svg>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- Top App Bar -->
<div class="top-bar">
<div class="top-left">
<div class="icon-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="title">shirts for men</div>
</div>
<div class="top-actions">
<div class="icon-btn">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#333" stroke-width="2" fill="none"></circle>
<line x1="20" y1="20" x2="16" y2="16" stroke="#333" stroke-width="2"></line>
</svg>
</div>
<div class="icon-btn">
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="10" y="6" width="4" height="8" rx="2" fill="#333"></rect>
<path d="M8 14h8v3a4 4 0 0 1-8 0v-3z" fill="#333"></path>
</svg>
</div>
<div class="icon-btn">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 21s-7-4.5-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.5-7 10-7 10z" stroke="#333" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="icon-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M7 6h14l-2 10H7L5 4H2" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"></path>
<circle cx="9" cy="20" r="1.8" fill="#333"></circle>
<circle cx="18" cy="20" r="1.8" fill="#333"></circle>
</svg>
</div>
</div>
<div class="cart-badge">1</div>
</div>
<!-- Sort / Filter -->
<div class="controls">
<div class="control-item">
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M4 7h10M4 12h7M4 17h4" stroke="#444" stroke-width="2" stroke-linecap="round"></path>
</svg>
<span>Sort</span>
</div>
<div class="control-item">
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M3 5h18l-7 8v6l-4-2v-4z" stroke="#444" stroke-width="2" fill="none" stroke-linejoin="round"></path>
</svg>
<span>Filter</span>
</div>
</div>
<!-- Banner -->
<div class="banner">[IMG: Promotional banner - Best Value Badge]</div>
<!-- Product Grid -->
<div class="product-grid">
<!-- Card 1 -->
<div class="card">
<div class="ad-badge">Ad</div>
<div class="fav-btn">
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M12 21s-7-4.5-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.5-7 10-7 10z" stroke="#888" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="product-img">[IMG: Model wearing solid grey shirt]</div>
<div class="card-body">
<div class="prod-title">Men Solid Casual Grey Shirt</div>
<div class="price-row">
<div class="original">2,199</div>
<div class="price">₹379</div>
<div class="discount">82% off</div>
</div>
<div class="delivery-chip">
<svg width="32" height="24" viewBox="0 0 24 24">
<rect x="2" y="8" width="12" height="8" fill="#2f66d5"></rect>
<rect x="14" y="10" width="6" height="6" fill="#2f66d5"></rect>
<circle cx="6" cy="18" r="2" fill="#2f66d5"></circle>
<circle cx="18" cy="18" r="2" fill="#2f66d5"></circle>
</svg>
<span>Free Delivery</span>
</div>
<div class="coupon">
<span class="amount">₹35</span>
<span class="divider"></span>
<span>Coupon available</span>
</div>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="ad-badge">Ad</div>
<div class="fav-btn">
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M12 21s-7-4.5-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.5-7 10-7 10z" stroke="#888" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="product-img">[IMG: Model wearing solid red shirt]</div>
<div class="card-body">
<div class="prod-title">Men Solid Casual Red Shirt</div>
<div class="price-row">
<div class="original">2,199</div>
<div class="price">₹379</div>
<div class="discount">82% off</div>
</div>
<div class="delivery-chip">
<svg width="32" height="24" viewBox="0 0 24 24">
<rect x="2" y="8" width="12" height="8" fill="#2f66d5"></rect>
<rect x="14" y="10" width="6" height="6" fill="#2f66d5"></rect>
<circle cx="6" cy="18" r="2" fill="#2f66d5"></circle>
<circle cx="18" cy="18" r="2" fill="#2f66d5"></circle>
</svg>
<span>Free Delivery</span>
</div>
<div class="coupon">
<span class="amount">₹35</span>
<span class="divider"></span>
<span>Coupon available</span>
</div>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="fav-btn">
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M12 21s-7-4.5-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.5-7 10-7 10z" stroke="#888" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="product-img">[IMG: Model wearing solid pink shirt]</div>
<div class="card-body">
<div class="prod-title">Men Solid Casual Pink Shirt</div>
<div class="price-row">
<div class="original">2,199</div>
<div class="price">₹379</div>
<div class="discount">82% off</div>
</div>
<div class="delivery-chip">
<svg width="32" height="24" viewBox="0 0 24 24">
<rect x="2" y="8" width="12" height="8" fill="#2f66d5"></rect>
<rect x="14" y="10" width="6" height="6" fill="#2f66d5"></rect>
<circle cx="6" cy="18" r="2" fill="#2f66d5"></circle>
<circle cx="18" cy="18" r="2" fill="#2f66d5"></circle>
</svg>
<span>Free Delivery</span>
</div>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="fav-btn">
<svg width="32" height="32" viewBox="0 0 24 24">
<path d="M12 21s-7-4.5-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.5-7 10-7 10z" stroke="#888" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="product-img">[IMG: Solid black shirt product photo]</div>
<div class="card-body">
<div class="prod-title">Men Solid Casual Black Shirt</div>
<div class="price-row">
<div class="original">2,199</div>
<div class="price">₹379</div>
<div class="discount">82% off</div>
</div>
<div class="delivery-chip">
<svg width="32" height="24" viewBox="0 0 24 24">
<rect x="2" y="8" width="12" height="8" fill="#2f66d5"></rect>
<rect x="14" y="10" width="6" height="6" fill="#2f66d5"></rect>
<circle cx="6" cy="18" r="2" fill="#2f66d5"></circle>
<circle cx="18" cy="18" r="2" fill="#2f66d5"></circle>
</svg>
<span>Free Delivery</span>
</div>
</div>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M3 11l9-8 9 8v9H3v-9z" stroke="#666" stroke-width="2" fill="none"></path>
</svg>
<div>Home</div>
</div>
<div class="nav-item active">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#2563eb" stroke-width="2" fill="none"></circle>
<line x1="20" y1="20" x2="16" y2="16" stroke="#2563eb" stroke-width="2"></line>
</svg>
<div>Search</div>
</div>
<div class="nav-item">
<svg width="40" height="40" viewBox="0 0 24 24">
<rect x="4" y="4" width="6" height="6" fill="#666"></rect>
<rect x="14" y="4" width="6" height="6" fill="#666"></rect>
<rect x="4" y="14" width="6" height="6" fill="#666"></rect>
<rect x="14" y="14" width="6" height="6" fill="#666"></rect>
</svg>
<div>Categories</div>
</div>
<div class="nav-item">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" stroke="#666" stroke-width="2" fill="none"></circle>
<path d="M4 22c0-4 4-7 8-7s8 3 8 7" stroke="#666" stroke-width="2" fill="none"></path>
</svg>
<div>Account</div>
</div>
<div class="nav-item">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M7 6h14l-2 10H7L5 4H2" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"></path>
<circle cx="9" cy="20" r="1.8" fill="#666"></circle>
<circle cx="18" cy="20" r="1.8" fill="#666"></circle>
</svg>
<div>Cart</div>
</div>
<div class="cart-dot">1</div>
<div class="categories-dot"></div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>