AndroidCode / code /10115 /10115_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
8.05 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Add Second Item</title>
<style>
:root{
--green:#2E7D32;
--green-dark:#1f5d24;
--text:#222;
--muted:#777;
--line:#e9ecef;
--card:#ffffff;
--shadow:0 6px 18px rgba(0,0,0,0.12);
}
body{ margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color:var(--text);}
#render-target{
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#fff;
}
.page{ padding: 40px 48px 160px 48px;}
/* Header */
.topbar{ display:flex; align-items:center; justify-content:space-between; }
.topbar .left{ display:flex; align-items:center; gap:24px;}
.icon-btn{ width:64px; height:64px; display:flex; align-items:center; justify-content:center; border-radius:16px; }
.title-wrap{ margin-top:12px; }
.title{ font-size:58px; font-weight:800; letter-spacing:0.4px; }
.subtitle{ margin-top:8px; font-size:30px; color:var(--muted); }
/* Sections */
.section{ margin-top:56px; }
.section-title{ font-size:48px; font-weight:800; letter-spacing:1px; }
.underline{ width:200px; height:8px; background:var(--green); border-radius:8px; margin:14px 0 10px 0; }
/* Item row */
.item{ display:flex; justify-content:space-between; align-items:flex-start; padding: 18px 0 50px 0; border-bottom:1px solid transparent; }
.item + .item{ border-top: 24px solid transparent; }
.details{ max-width:600px; }
.veg-row{ display:flex; align-items:center; gap:16px; margin:16px 0; }
.name{ font-size:46px; font-weight:700; margin:6px 0; }
.price{ font-size:44px; font-weight:800; margin:6px 0 18px 0; }
.tag{ display:flex; align-items:center; gap:12px; color:#5d5d5d; font-weight:700; margin-bottom:18px; }
.tag .j{ width:34px; height:34px; border-radius:50%; background:#FFC107; color:#222; display:flex; align-items:center; justify-content:center; font-weight:800; }
.desc{ font-size:32px; color:#7a7a7a; line-height:1.35; }
.thumb-col{ width:360px; display:flex; flex-direction:column; align-items:flex-end; gap:18px; }
.img-ph{
width:320px; height:320px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius:50%;
display:flex; align-items:center; justify-content:center; color:#757575; text-align:center; padding:18px;
}
.add-btn{
width:320px; height:96px; border-radius:18px; border:2px solid var(--green);
background:#EEF5EE; color:var(--green); font-size:40px; font-weight:800; letter-spacing:0.5px;
display:flex; align-items:center; justify-content:center; box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.customize-note{ font-size:28px; color:#7a7a7a; }
/* Bottom sheet */
.bottom-sheet{
position:absolute; left:24px; right:24px; bottom:84px;
background:#e7f0e7; border-radius:22px; padding:22px; box-shadow: var(--shadow);
}
.sheet-top{ display:flex; gap:22px; }
.selected-card{
flex:1; background:#fff; border-radius:18px; padding:24px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.sel-row{ display:flex; align-items:center; gap:16px; margin-bottom:12px;}
.sel-name{ font-size:36px; font-weight:800; color:#2b2b2b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sel-price{ font-size:34px; font-weight:800; margin:6px 0; }
.sel-sub{ font-size:28px; color:#8a8a8a; }
.placeholder-card{
flex:1; border:3px solid var(--green); background:#f5faf5; border-radius:18px;
display:flex; align-items:center; justify-content:center; color:#9aa39a; font-size:40px; font-weight:700;
}
.sheet-actions{
margin-top:18px; background:var(--green); border-radius:14px; display:flex; align-items:center; justify-content:space-between; padding:22px 24px; color:#fff;
}
.clear{ font-size:34px; font-weight:800; letter-spacing:1px; }
.continue{
background:#fff; color:var(--green); padding:26px 42px; border-radius:14px; font-size:36px; font-weight:800; letter-spacing:0.5px;
display:flex; align-items:center; gap:18px;
}
/* Simple SVG helpers */
.svg{ width:42px; height:42px; }
.search{ width:56px; height:56px; }
</style>
</head>
<body>
<div id="render-target">
<div class="page">
<div class="topbar">
<div class="left">
<div class="icon-btn" aria-label="Back">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"/>
</svg>
</div>
<div class="title-wrap">
<div class="title">ADD SECOND ITEM</div>
<div class="subtitle">At just 50% of its original price.</div>
</div>
</div>
<div class="icon-btn" aria-label="Search">
<svg class="search" viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M20 20l-3.5-3.5"></path>
</svg>
</div>
</div>
<div class="section">
<div class="section-title">SIMPLE</div>
<div class="underline"></div>
<div class="item">
<div class="details">
<div class="veg-row">
<svg class="svg" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" ry="3" fill="none" stroke="#2E7D32" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#2E7D32" stroke-width="2"></circle>
</svg>
</div>
<div class="name">Margherita Pizza</div>
<div class="price">₹465</div>
<div class="tag"><span class="j">J</span> Jain Available</div>
<div class="desc">Enjoy 100% Real Mozzarella Cheese Over A Zesty Gravy</div>
</div>
<div class="thumb-col">
<div class="img-ph">[IMG: Plain Cheese Pizza]</div>
<div class="add-btn">ADD +</div>
<div class="customize-note">Customizable</div>
</div>
</div>
</div>
<div class="section">
<div class="section-title">STYLISH</div>
<div class="underline" style="width:180px"></div>
<div class="item">
<div class="details">
<div class="veg-row">
<svg class="svg" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" ry="3" fill="none" stroke="#2E7D32" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#2E7D32" stroke-width="2"></circle>
</svg>
</div>
<div class="name">Mac O Mac</div>
<div class="price">₹495</div>
<div class="desc">Cheesey macaroni with storm of jalapeno dips & mozzarella cheddar cheese</div>
</div>
<div class="thumb-col">
<div class="img-ph">[IMG: Mac O Mac Pizza]</div>
<div class="add-btn">ADD +</div>
<div class="customize-note">Customizable</div>
</div>
</div>
</div>
</div>
<!-- Bottom floating sheet -->
<div class="bottom-sheet">
<div class="sheet-top">
<div class="selected-card">
<div class="sel-row">
<svg class="svg" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" ry="3" fill="none" stroke="#2E7D32" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#2E7D32" stroke-width="2"></circle>
</svg>
<div class="sel-name">Awesome Blosso...</div>
</div>
<div class="sel-price">₹645</div>
<div class="sel-sub">customized</div>
</div>
<div class="placeholder-card">SECOND ITEM HERE</div>
</div>
<div class="sheet-actions">
<div class="clear">CLEAR</div>
<div class="continue">CONTINUE WITH ONE ITEM
<svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="#2E7D32" stroke-width="3" style="margin-left:6px;">
<path d="M8 4l8 8-8 8"></path>
</svg>
</div>
</div>
</div>
</div>
</body>
</html>