AndroidCode / code /10132 /10132_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
11.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Migros Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
color: #222;
}
/* Status bar */
.status-bar {
height: 100px;
padding: 30px 48px 0 48px;
display: flex;
align-items: center;
justify-content: space-between;
color: #555;
font-size: 34px;
}
.status-icons { display: flex; gap: 28px; align-items: center; }
.icon {
width: 44px; height: 44px;
}
/* Header */
.header {
padding: 16px 48px 20px 48px;
display: flex;
align-items: center;
justify-content: space-between;
}
.brand {
font-size: 68px;
font-weight: 700;
letter-spacing: 0.3px;
}
.header-actions { display: flex; gap: 36px; }
.action-btn .icon { width: 56px; height: 56px; }
/* Segment buttons */
.segments {
display: flex;
border-top: 1px solid #E5E5E5;
border-bottom: 1px solid #E5E5E5;
margin-top: 18px;
}
.segment {
width: 50%;
padding: 28px 48px;
display: flex;
align-items: center;
gap: 22px;
font-size: 40px;
color: #333;
position: relative;
}
.segment:first-child { border-right: 1px solid #EEEEEE; }
.segment .icon { width: 44px; height: 44px; }
/* Promo banner */
.promo-wrap { padding: 36px 48px 10px 48px; }
.promo {
height: 440px;
background: #4A2258;
border-radius: 12px;
position: relative;
overflow: hidden;
}
.promo:before {
content: "";
position: absolute;
top: -30px;
left: 50%;
transform: translateX(-50%);
width: 0; height: 0;
border-style: solid;
border-width: 30px 22px 0 22px;
border-color: #4A2258 transparent transparent transparent;
}
.promo .img {
position: absolute;
inset: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
color: #ddd;
font-size: 34px;
letter-spacing: 0.2px;
background: transparent;
}
.promo .img::before {
content: "[IMG: Promotional banner with peanuts, chocolates and tableware]";
background: rgba(255,255,255,0.06);
padding: 14px 24px;
border: 1px solid rgba(255,255,255,0.18);
border-radius: 8px;
}
.promo .badge {
position: absolute;
top: 24px;
right: 24px;
background: #FF7A1A;
color: #fff;
font-weight: 700;
font-size: 32px;
padding: 10px 18px;
border-radius: 8px;
}
.promo-title {
padding: 18px 48px 0 48px;
font-size: 44px;
font-weight: 700;
color: #222;
}
/* Offers header */
.offers-header {
padding: 36px 48px 10px 48px;
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.offers-title {
font-size: 60px;
font-weight: 700;
}
.offers-sub {
padding: 0 48px;
font-size: 34px;
color: #8A8A8A;
margin-top: 4px;
}
.show-all {
color: #FF7A1A;
font-size: 36px;
font-weight: 600;
}
/* Product cards scroller */
.cards {
padding: 24px 48px 32px 48px;
display: flex;
gap: 32px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.card {
min-width: 300px;
width: 300px;
background: #fff;
border-radius: 26px;
box-shadow: 0 6px 20px rgba(0,0,0,0.08);
position: relative;
}
.card .img {
width: 100%;
height: 250px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 26px 26px 0 0;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
}
.card .overlay {
position: absolute;
top: 16px;
right: 16px;
width: 56px; height: 56px;
border-radius: 12px;
background: #fff;
border: 1px solid #DADADA;
display: flex; align-items: center; justify-content: center;
}
.card .hit {
position: absolute;
left: 18px;
top: 220px;
transform: translateY(50%);
background: #FF7A1A;
color: #fff;
font-weight: 800;
font-size: 30px;
padding: 6px 14px;
border-radius: 8px;
}
.card-content {
padding: 32px 22px 26px 22px;
}
.price {
font-size: 56px;
font-weight: 800;
}
.title {
margin-top: 8px;
font-size: 34px;
color: #444;
line-height: 1.15;
}
/* Bottom placeholders */
.bottom-placeholders {
padding: 20px 48px 260px 48px; /* leave space for nav */
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.ph {
height: 240px;
background: #F1F1F1;
border-radius: 26px;
border: 1px solid #E0E0E0;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
bottom: 0; left: 0; right: 0;
height: 200px;
background: #fff;
border-top: 1px solid #E6E6E6;
display: flex;
align-items: center;
justify-content: space-around;
padding: 18px 0 0 0;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
color: #777;
font-size: 30px;
}
.nav-item .icon { width: 58px; height: 58px; }
.nav-item.active { color: #FF7A1A; font-weight: 700; }
.home-indicator {
position: absolute;
bottom: 210px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 12px;
background: #BDBDBD;
border-radius: 8px;
opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:07</div>
<div class="status-icons">
<!-- Signal/WiFi -->
<svg class="icon" viewBox="0 0 24 24"><path d="M2 9c5-5 15-5 20 0l-2 2c-4-4-12-4-16 0L2 9zm4 4c3-3 9-3 12 0l-2 2c-2-2-6-2-8 0l-2-2zm4 4l2 2 2-2-2-2-2 2z" fill="#777"/></svg>
<!-- Battery -->
<svg class="icon" viewBox="0 0 24 24"><rect x="1" y="6" width="19" height="12" rx="2" ry="2" fill="none" stroke="#777" stroke-width="2"/><rect x="3" y="8" width="11" height="8" fill="#777"/><rect x="20" y="9" width="3" height="6" rx="1" fill="#777"/></svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="brand">Migros</div>
<div class="header-actions">
<div class="action-btn">
<svg class="icon" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" fill="none" stroke="#333" stroke-width="2"/><path d="M20 20l-4-4" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
</div>
<div class="action-btn">
<svg class="icon" viewBox="0 0 24 24"><path d="M12 2c-3 0-6 2-6 5v4l-2 2v1h16v-1l-2-2V7c0-3-3-5-6-5zM9 19a3 3 0 006 0" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<div class="action-btn">
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4" fill="none" stroke="#333" stroke-width="2"/><path d="M4 21c0-4 4-7 8-7s8 3 8 7" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round"/></svg>
</div>
</div>
</div>
<!-- Segments -->
<div class="segments">
<div class="segment">
<svg class="icon" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h10" stroke="#333" stroke-width="2" stroke-linecap="round" fill="none"/></svg>
<div>All products</div>
</div>
<div class="segment">
<svg class="icon" viewBox="0 0 24 24"><path d="M12 3a6 6 0 016 6c0 4-6 12-6 12S6 13 6 9a6 6 0 016-6zm0 4a2 2 0 110 4 2 2 0 010-4z" fill="#333"/></svg>
<div>Find stores</div>
</div>
</div>
<!-- Promo banner -->
<div class="promo-wrap">
<div class="promo">
<div class="badge">Up to 40%</div>
<div class="img"></div>
</div>
</div>
<div class="promo-title">Weekend sensation - only from this Thursday to Sunday</div>
<!-- Offers header -->
<div class="offers-header">
<div class="offers-title">Offers in the stores</div>
<div class="show-all">Show all</div>
</div>
<div class="offers-sub">No region selected</div>
<!-- Product cards -->
<div class="cards">
<!-- Card 1 -->
<div class="card">
<div class="img">[IMG: Fleece blanket product]</div>
<div class="overlay">
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 5v14M5 12h14" stroke="#777" stroke-width="2" stroke-linecap="round" fill="none"/></svg>
</div>
<div class="hit">Hit</div>
<div class="card-content">
<div class="price">19.95</div>
<div class="title">Fleecedecke</div>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="img">[IMG: Gas lighter Flexy]</div>
<div class="overlay">
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 5v14M5 12h14" stroke="#777" stroke-width="2" stroke-linecap="round" fill="none"/></svg>
</div>
<div class="hit">Hit</div>
<div class="card-content">
<div class="price">7.95</div>
<div class="title">Stabfeuerzeug Flexy</div>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="img">[IMG: LED Indoor light chain]</div>
<div class="overlay">
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 5v14M5 12h14" stroke="#777" stroke-width="2" stroke-linecap="round" fill="none"/></svg>
</div>
<div class="hit">Hit</div>
<div class="card-content">
<div class="price">4.95</div>
<div class="title">Indoor-Lichterkette</div>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="img">[IMG: Promo product]</div>
<div class="overlay">
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 5v14M5 12h14" stroke="#777" stroke-width="2" stroke-linecap="round" fill="none"/></svg>
</div>
<div class="hit">15</div>
<div class="card-content">
<div class="price">2.80</div>
<div class="title">Opti... Poul...</div>
</div>
</div>
</div>
<!-- Bottom placeholders -->
<div class="bottom-placeholders">
<div class="ph"></div>
<div class="ph"></div>
</div>
<!-- Home indicator (gesture bar) -->
<div class="home-indicator"></div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg class="icon" viewBox="0 0 24 24"><path d="M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z" fill="#FF7A1A"/></svg>
<div>Migros</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path d="M5 5h14v2H5zm0 6h14v2H5zm0 6h10v2H5z" fill="#777"/></svg>
<div>List</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><rect x="5" y="6" width="14" height="12" rx="2" fill="none" stroke="#777" stroke-width="2"/><path d="M7 10h10M7 13h6" stroke="#777" stroke-width="2"/></svg>
<div>Wallet</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="#777" stroke-width="2"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#777" font-family="Arial" font-weight="700">Go</text></svg>
<div>subitoGo</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path d="M3 16h2l1-3h13l2 3h-2M6 16v3h12v-3M7 19a2 2 0 11.001-4.001A2 2 0 017 19zm10 0a2 2 0 11.001-4.001A2 2 0 0117 19z" fill="none" stroke="#777" stroke-width="2" stroke-linecap="round"/></svg>
<div>Order</div>
</div>
</div>
</div>
</body>
</html>