AndroidCode / code /1018 /1018_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
13.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #ffffff;
}
.status-bar {
height: 90px; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; color: #111;
font-size: 32px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 24px; }
.icon { width: 40px; height: 40px; }
.header {
padding: 10px 24px 18px 24px;
}
.search-row {
display: flex; align-items: center; gap: 20px;
}
.back-btn {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
}
.search-box {
flex: 1; height: 96px; background: #f2f3f5; border: 1px solid #e5e6ea; border-radius: 18px;
display: flex; align-items: center; gap: 22px; padding: 0 26px;
}
.search-placeholder { color: #777; font-size: 34px; }
.cart-btn {
width: 90px; height: 90px; display: flex; align-items: center; justify-content: center;
}
.list { padding: 0 24px; }
.list-item {
display: flex; align-items: center; padding: 28px 0; border-bottom: 1px solid #efefef;
}
.list-item:last-child { border-bottom: none; }
.li-ico {
width: 72px; height: 72px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
color: #333;
}
.li-text { margin-left: 26px; flex: 1; }
.li-title { font-size: 36px; font-weight: 700; color: #111; }
.li-sub { font-size: 30px; color: #6b6b6b; margin-top: 8px; }
.accent-pink { color: #ff3b83; font-weight: 700; }
.chev { width: 40px; height: 40px; }
.divider-soft { height: 18px; background: #f6eef9; margin: 18px 0; }
.deal-card { padding: 24px; }
.deal-row {
display: flex; align-items: center; gap: 24px; border: 1px solid #eee; border-radius: 16px; padding: 26px;
}
.deal-badge {
width: 170px; height: 120px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-weight: 700;
}
.deal-text { flex: 1; }
.deal-title { font-size: 38px; font-weight: 800; color: #111; }
.price { color: #00a650; font-weight: 800; }
.deal-sub { font-size: 30px; color: #666; margin-top: 6px; }
.section-header {
padding: 28px 24px; font-size: 38px; font-weight: 800; color: #111; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
display: flex; align-items: center; justify-content: space-between;
}
.info-row {
display: flex; align-items: center; padding: 28px 24px; border-bottom: 1px solid #efefef; gap: 22px;
}
.circle-ico {
width: 58px; height: 58px; border-radius: 50%; background: #eaf7ea; border: 1px solid #d6e9d6; display: flex; align-items: center; justify-content: center;
}
.info-text { font-size: 34px; color: #222; }
.highlight { font-weight: 800; }
.coin-ico { background: #fff9e6; border-color: #ffe7a6; }
.helper { padding: 20px 24px; font-size: 32px; color: #555; }
.link { color: #1976d2; font-weight: 700; }
.banner {
margin: 16px 24px; height: 160px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 10px;
display: flex; align-items: center; justify-content: center; color: #757575;
}
.brand-card {
margin: 24px; border: 1px solid #eee; border-radius: 18px; padding: 24px;
}
.brand-top { display: flex; align-items: center; gap: 20px; color: #888; font-size: 32px; }
.brand-logo {
width: 120px; height: 90px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575;
border-radius: 12px;
}
.brand-name { font-size: 44px; font-weight: 900; color: #111; margin: 18px 0 10px 0; }
.feature {
display: flex; align-items: flex-start; gap: 22px; padding: 22px 0; border-top: 1px solid #f2f2f2;
}
.feat-ico { width: 56px; height: 56px; }
.feat-title { font-size: 36px; font-weight: 800; color: #111; }
.feat-sub { font-size: 30px; color: #777; margin-top: 6px; }
.bottom-bar {
position: absolute; left: 0; bottom: 0; width: 1080px; height: 190px; background: #fff; border-top: 1px solid #e6e6e6;
display: flex; align-items: center; gap: 24px; padding: 24px;
}
.btn {
height: 120px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800;
}
.btn-outline { flex: 0 0 300px; background: #fff; border: 1px solid #e6e6e6; color: #111; gap: 16px; }
.btn-white { flex: 1; background: #fff; border: 1px solid #e6e6e6; color: #111; }
.btn-primary { flex: 0 0 380px; background: #f9c527; border: 1px solid #e0b01e; color: #111; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.floating {
position: absolute; right: 40px; bottom: 230px; width: 120px; height: 120px; border-radius: 60px; background: #2563eb;
display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.floating .logo {
width: 90px; height: 90px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 45px; color: #757575;
display: flex; align-items: center; justify-content: center; font-weight: 800;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<span>11:29</span>
<!-- simple icons -->
<svg class="icon" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" fill="none" stroke="#555" stroke-width="2"/><path d="M20 20 L16 16" stroke="#555" stroke-width="2" /></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M4 10 L12 4 L20 10 L12 16 Z" fill="none" stroke="#555" stroke-width="2"/></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M6 6 L18 18 M18 6 L6 18" stroke="#555" stroke-width="2"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="#555"/></svg>
</div>
<div class="status-right">
<svg class="icon" viewBox="0 0 24 24"><path d="M3 18 L3 6 L21 6 L21 18" fill="none" stroke="#555" stroke-width="2"/><rect x="6" y="9" width="12" height="6" fill="#555"/></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M6 18 L18 18 L18 6" fill="none" stroke="#555" stroke-width="2"/><path d="M10 6 L14 6" stroke="#555" stroke-width="2"/></svg>
</div>
</div>
<!-- Header with search -->
<div class="header">
<div class="search-row">
<div class="back-btn">
<svg viewBox="0 0 100 100" width="56" height="56">
<path d="M60 20 L30 50 L60 80" fill="none" stroke="#222" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-box">
<svg viewBox="0 0 24 24" width="44" height="44">
<circle cx="10" cy="10" r="6" fill="none" stroke="#777" stroke-width="2"/>
<path d="M16 16 L21 21" stroke="#777" stroke-width="2"/>
</svg>
<div class="search-placeholder">Search for products</div>
<div style="margin-left:auto;">
<svg viewBox="0 0 24 24" width="44" height="44">
<path d="M12 4 C9 4,8 6,8 8 L8 14 C8 16,9 18,12 18 C15 18,16 16,16 14 L16 8 C16 6,15 4,12 4" fill="none" stroke="#777" stroke-width="2"/>
<rect x="10" y="18" width="4" height="3" fill="#777"/>
</svg>
</div>
</div>
<div class="cart-btn">
<svg viewBox="0 0 24 24" width="48" height="48">
<path d="M4 6 L6 6 L7 14 L19 14 L21 8 L7 8" fill="none" stroke="#222" stroke-width="2"/>
<circle cx="9" cy="18" r="2" fill="#222"/>
<circle cx="17" cy="18" r="2" fill="#222"/>
</svg>
</div>
</div>
</div>
<!-- Info list -->
<div class="list">
<div class="list-item">
<div class="li-ico">
<svg viewBox="0 0 24 24" width="48" height="48">
<rect x="3" y="6" width="12" height="10" fill="none" stroke="#555" stroke-width="2"/>
<rect x="15" y="10" width="6" height="6" fill="none" stroke="#555" stroke-width="2"/>
<circle cx="8" cy="18" r="1.8" fill="#555"/><circle cx="18" cy="18" r="1.8" fill="#555"/>
</svg>
</div>
<div class="li-text">
<div class="li-title">1 Nov, Wednesday</div>
<div class="li-sub">If ordered within <span class="accent-pink">28m 07s</span></div>
</div>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19" fill="none" stroke="#999" stroke-width="2"/></svg>
</div>
<div class="list-item">
<div class="li-ico">
<svg viewBox="0 0 24 24" width="48" height="48">
<path d="M5 12 L12 5 L19 12" fill="none" stroke="#555" stroke-width="2"/>
<path d="M12 5 L12 19" fill="none" stroke="#555" stroke-width="2"/>
</svg>
</div>
<div class="li-text">
<div class="li-title">10 Days Return Policy</div>
</div>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19" fill="none" stroke="#999" stroke-width="2"/></svg>
</div>
<div class="list-item">
<div class="li-ico">
<svg viewBox="0 0 24 24" width="48" height="48">
<path d="M6 12 C6 9,8 7,11 7 C14 7,16 9,16 12" fill="none" stroke="#555" stroke-width="2"/>
<path d="M11 12 L11 17" stroke="#555" stroke-width="2"/>
<path d="M9 17 L13 17" stroke="#555" stroke-width="2"/>
</svg>
</div>
<div class="li-text">
<div class="li-title">Cash on Delivery Available</div>
</div>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19" fill="none" stroke="#999" stroke-width="2"/></svg>
</div>
</div>
<div class="divider-soft"></div>
<!-- Deal card -->
<div class="deal-card">
<div class="deal-row">
<div class="deal-badge">[IMG: WOW DEAL]</div>
<div class="deal-text">
<div class="deal-title">Get at <span class="price">₹1,879</span></div>
<div class="deal-sub">With Basket, Bank offers</div>
</div>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19" fill="none" stroke="#999" stroke-width="2"/></svg>
</div>
</div>
<!-- Offers header -->
<div class="section-header">
<div>All Offers & Coupons</div>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19" fill="none" stroke="#999" stroke-width="2"/></svg>
</div>
<!-- Info rows -->
<div class="info-row">
<div class="circle-ico">
<svg viewBox="0 0 24 24" width="36" height="36">
<path d="M4 14 L10 10 L14 12 L20 8" fill="none" stroke="#27ae60" stroke-width="2"/>
</svg>
</div>
<div class="info-text"><span class="highlight">820</span> people ordered this in the last 15 days</div>
</div>
<div class="info-row">
<div class="circle-ico coin-ico">
<svg viewBox="0 0 24 24" width="36" height="36">
<circle cx="12" cy="12" r="8" fill="none" stroke="#f4c542" stroke-width="2"/>
<path d="M12 7 L10 12 L14 12 L12 17" stroke="#f4c542" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="info-text">You will earn ⚡ <span class="highlight">50</span> SuperCoins cashback</div>
</div>
<div class="helper">
Use it to save on your next order. <span class="link">How?</span>
</div>
<!-- Banner -->
<div class="banner">[IMG: Flipkart Pay Later banner]</div>
<!-- Brand card -->
<div class="brand-card">
<div class="brand-top">
<div class="brand-logo">[IMG: Nike logo]</div>
<div>About the brand</div>
</div>
<div class="brand-name">NIKE</div>
<div class="feature">
<svg class="feat-ico" viewBox="0 0 24 24">
<path d="M4 16 L10 10 L14 12 L20 6" fill="none" stroke="#111" stroke-width="2"/>
</svg>
<div>
<div class="feat-title">Popular in Running</div>
<div class="feat-sub">Based on recent orders on Flipkart</div>
</div>
</div>
<div class="feature">
<svg class="feat-ico" viewBox="0 0 24 24">
<path d="M12 18 L7 21 L8 15 L4 11 L10 10 L12 4 L14 10 L20 11 L16 15 L17 21 Z" fill="none" stroke="#111" stroke-width="2"/>
</svg>
<div>
<div class="feat-title">Loved by customers</div>
<div class="feat-sub">Based on customer ratings</div>
</div>
</div>
<div class="feature">
<svg class="feat-ico" viewBox="0 0 24 24">
<path d="M6 4 L16 4 L16 18 L11 16 L6 18 Z" fill="none" stroke="#111" stroke-width="2"/>
</svg>
<div>
<div class="feat-title">8+ years on Flipkart</div>
<div class="feat-sub">Trusted brand on Flipkart</div>
</div>
</div>
</div>
<!-- Floating button -->
<div class="floating">
<div class="logo">[IMG: Flipkart logo]</div>
</div>
<!-- Bottom bar -->
<div class="bottom-bar">
<div class="btn btn-outline">
<svg viewBox="0 0 24 24" width="44" height="44">
<path d="M4 6 L6 6 L7 14 L19 14 L21 8 L7 8" fill="none" stroke="#222" stroke-width="2"/>
<path d="M12 9 L12 13 M10 11 L14 11" stroke="#222" stroke-width="2"/>
</svg>
<span>Add</span>
</div>
<div class="btn btn-white">Pay with EMI</div>
<div class="btn btn-primary">Buy now</div>
</div>
</div>
</body>
</html>