AndroidCode / code /10020 /10020_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Pizza Detail UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f0f0f0;
border-radius: 24px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/* Top overlay area mimicking dimmed background */
.top-overlay {
position: absolute;
left: 0; top: 0; width: 100%; height: 700px;
background: rgba(60,60,60,0.35);
}
/* Status bar */
.status-bar {
position: absolute;
top: 8px; left: 24px; right: 24px; height: 64px;
display: flex; align-items: center; justify-content: space-between; color: #1a1a1a;
mix-blend-mode: normal;
}
.status-left { display: flex; align-items: center; gap: 18px; color: #000; }
.time { font-weight: 600; font-size: 34px; letter-spacing: 0.3px; }
.status-dot { width: 16px; height: 16px; background: #000; border-radius: 50%; opacity: 0.65; }
.status-right { display: flex; align-items: center; gap: 20px; }
.icon { width: 38px; height: 38px; display: inline-block; }
/* Header content */
.header {
position: absolute;
top: 120px; left: 24px; right: 24px;
color: #000;
}
.title-row {
display: flex; align-items: center; justify-content: space-between;
}
.title-left { display: flex; align-items: center; gap: 20px; }
.back-btn {
width: 60px; height: 60px; border-radius: 12px;
display: flex; align-items: center; justify-content: center;
}
.title {
font-size: 68px; font-weight: 800; letter-spacing: 0.2px;
}
.search-btn {
width: 68px; height: 68px; border-radius: 34px; display: flex; align-items: center; justify-content: center;
border: 2px solid #2e2e2e;
background: rgba(255,255,255,0.35);
}
.price { margin-top: 28px; font-size: 56px; font-weight: 700; }
.short-desc { margin-top: 18px; font-size: 34px; color: #2d2d2d; opacity: 0.9; }
/* Floating close button */
.close-circle {
position: absolute;
top: 480px; left: 50%;
transform: translateX(-50%);
width: 110px; height: 110px; border-radius: 55px;
background: #000; display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.close-circle svg { width: 60px; height: 60px; }
/* Bottom sheet */
.sheet {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 1680px;
background: #fff;
border-top-left-radius: 36px;
border-top-right-radius: 36px;
box-shadow: 0 -8px 20px rgba(0,0,0,0.25);
overflow: hidden;
}
.sheet-inner { padding: 36px 40px 220px; }
.hero-img {
width: 100%; height: 640px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 28px;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 36px; font-weight: 600;
}
.radio-check {
margin-top: 26px;
width: 34px; height: 34px;
border-radius: 8px;
border: 2px solid #4a8f4a;
display: flex; align-items: center; justify-content: center;
}
.radio-check svg { width: 22px; height: 22px; }
.product-title { margin-top: 12px; font-size: 56px; font-weight: 800; color: #1a1a1a; }
.product-desc {
margin-top: 12px; font-size: 34px; line-height: 1.45; color: #6b6b6b;
}
.divider { height: 1px; background: #e0e0e0; margin: 32px 0; }
.section-title { font-size: 42px; font-weight: 700; color: #1a1a1a; margin-bottom: 18px; }
/* Size cards grid */
.sizes {
display: flex; flex-wrap: wrap; gap: 28px;
}
.size-card {
width: 310px; height: 240px;
border-radius: 22px;
background: #fff;
box-shadow: 0 6px 14px rgba(0,0,0,0.08);
border: 1px solid #eee;
padding: 22px;
position: relative;
}
.size-card .label { font-size: 38px; font-weight: 800; color: #222; }
.size-card .price { font-size: 34px; font-weight: 700; margin-top: 12px; }
.size-card .serve { font-size: 28px; color: #7a7a7a; margin-top: 6px; }
.size-card .pie {
position: absolute; right: 18px; bottom: 18px;
width: 88px; height: 88px;
}
.size-card.selected {
background: #dfe9df;
border-color: #cbd9cb;
box-shadow: 0 8px 16px rgba(60,100,60,0.25);
}
.selected .check-badge {
position: absolute; right: 18px; top: 18px;
width: 48px; height: 48px; border-radius: 24px;
background: #2f6b36; display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.check-badge svg { width: 28px; height: 28px; }
/* Sticky add bar inside sheet */
.sticky-add {
position: absolute; left: 0; right: 0; bottom: 0;
height: 180px; background: #fff;
border-top: 1px solid #e5e5e5;
box-shadow: 0 -8px 18px rgba(0,0,0,0.15);
display: flex; align-items: center; justify-content: space-between;
padding: 0 40px;
}
.total-wrap { display: flex; flex-direction: column; gap: 10px; }
.total-label { font-size: 48px; font-weight: 800; color: #222; }
.total-value { font-size: 40px; font-weight: 800; color: #222; }
.add-btn {
height: 112px; padding: 0 54px;
background: #3a6b3d; color: #fff; font-size: 42px; font-weight: 800;
border: none; border-radius: 18px; box-shadow: 0 6px 12px rgba(58,107,61,0.4);
}
/* Gesture bar */
.gesture-bar {
position: absolute; bottom: 18px; left: 50%;
transform: translateX(-50%);
width: 240px; height: 12px; background: #000; opacity: 0.9; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="top-overlay"></div>
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div class="time">2:03</div>
<span class="status-dot"></span>
<span class="status-dot" style="opacity:0.5;"></span>
<span class="status-dot" style="opacity:0.35;"></span>
<span class="status-dot" style="opacity:0.25;"></span>
</div>
<div class="status-right">
<!-- Wi-Fi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-5 15-5 20 0" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 12c3-3 11-3 14 0" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M9 16c2-2 4-2 6 0" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="19" r="2" fill="#000"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 16">
<rect x="1" y="3" width="22" height="10" rx="2" ry="2" stroke="#000" fill="none" stroke-width="2"/>
<rect x="3" y="5" width="16" height="6" fill="#000"/>
<rect x="24" y="6" width="3" height="4" fill="#000"/>
</svg>
</div>
</div>
<!-- Header content -->
<div class="header">
<div class="title-row">
<div class="title-left">
<div class="back-btn">
<svg viewBox="0 0 24 24" width="46" height="46">
<path d="M15 19L8 12l7-7" stroke="#000" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Pizza</div>
</div>
<div class="search-btn">
<svg viewBox="0 0 24 24" width="36" height="36">
<circle cx="10" cy="10" r="7" stroke="#2e2e2e" stroke-width="2" fill="none"/>
<path d="M15 15l6 6" stroke="#2e2e2e" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="price">₹155</div>
<div class="short-desc">crispy onion with real mozzarella & cheddar cheese</div>
</div>
<!-- Floating close button -->
<div class="close-circle">
<svg viewBox="0 0 24 24">
<path d="M5 5l14 14M19 5L5 19" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
<!-- Bottom sheet -->
<div class="sheet">
<div class="sheet-inner">
<div class="hero-img">[IMG: Fresh Delight Pizza Photo]</div>
<div class="radio-check">
<svg viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11" stroke="#2f6b36" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="product-title">Fresh Delight Pizza</div>
<div class="product-desc">
Loaded With Crips Green Peppers, Fresh Cut Onion, Juicy Tomatoes With 100% Mozzarella And Cheddar Cheese
</div>
<div class="divider"></div>
<div class="section-title">Size of Pizza</div>
<div class="sizes">
<!-- Slice -->
<div class="size-card selected">
<div class="label">Slice</div>
<div class="price">₹175</div>
<div class="serve">Serves 1</div>
<div class="check-badge">
<svg viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#446a44" fill="none" stroke-width="2"/>
<path d="M12 3v9h9" stroke="#446a44" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Regular -->
<div class="size-card">
<div class="label">Regular</div>
<div class="price">₹185</div>
<div class="serve">Serves 1</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Medium -->
<div class="size-card">
<div class="label">Medium</div>
<div class="price">₹445</div>
<div class="serve">Serves 2</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Large -->
<div class="size-card">
<div class="label">Large</div>
<div class="price">₹565</div>
<div class="serve">Serves 4</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12M18 6L6 18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Giant -->
<div class="size-card">
<div class="label">Giant</div>
<div class="price">₹940</div>
<div class="serve">Serves 8</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12M18 6L6 18M3 3l18 18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Monster -->
<div class="size-card">
<div class="label">Monster</div>
<div class="price">₹1450</div>
<div class="serve">Serves 12</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12M18 6L6 18M3 3l18 18M3 21l18-18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
</div>
<!-- Sticky bottom add bar -->
<div class="sticky-add">
<div class="total-wrap">
<div class="total-label">Item Total</div>
<div class="total-value">₹175</div>
</div>
<button class="add-btn">ADD ITEM</button>
</div>
</div>
<!-- Gesture bar at very bottom -->
<div class="gesture-bar"></div>
</div>
</body>
</html>