AndroidCode / code /10162 /10162_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.65 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>UI Render</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: #ffffff;
}
/* Status bar */
.status-bar {
height: 120px;
padding: 0 36px;
display: flex; align-items: center; justify-content: space-between;
color: #444;
font-weight: 600;
font-size: 42px;
}
.status-right {
display: flex; align-items: center; gap: 24px;
color: #444;
font-size: 36px;
}
.icon { width: 48px; height: 48px; }
.icon-small { width: 36px; height: 36px; }
/* Search header */
.header {
padding: 0 36px;
}
.header-row {
display: flex; align-items: center; gap: 24px;
}
.back-btn {
width: 84px; height: 84px; border-radius: 42px;
display: flex; align-items: center; justify-content: center;
color: #2E7D32;
}
.search-bar {
flex: 1;
height: 120px;
border: 2px solid #B8D7B9;
border-radius: 60px;
background: #EEF7EE;
display: flex; align-items: center;
padding: 0 36px;
gap: 24px;
color: #333;
box-shadow: inset 0 0 0 2px rgba(46,125,50,0.08);
}
.search-text {
flex: 1;
font-size: 44px;
color: #333;
}
.mic-btn { color: #2E7D32; }
/* Product modal/card area */
.product-modal {
margin-top: 36px;
background: #F4F4F4;
border-top-left-radius: 48px;
border-top-right-radius: 48px;
padding: 36px;
}
.modal-top {
display: flex; align-items: center; justify-content: space-between;
padding: 18px 12px 24px;
}
.modal-actions {
display: flex; align-items: center; gap: 24px;
color: #333;
}
.product-image {
width: 720px; height: 980px; margin: 0 auto 24px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 38px; text-align: center;
border-radius: 8px;
}
.title {
font-size: 46px; letter-spacing: 2px; color: #222;
padding: 18px 12px;
}
.price {
font-size: 90px; font-weight: 800; color: #111;
padding: 0 12px 12px;
}
.info-list { padding: 12px; }
.info-item {
display: flex; align-items: center; gap: 18px;
font-size: 44px; color: #333; margin: 18px 0;
}
.check {
color: #2E7D32;
}
.ebt {
display: inline-flex; align-items: center; justify-content: center;
background: #1E8E3E; color: #fff; font-weight: 700;
padding: 12px 22px; border-radius: 12px;
font-size: 38px; margin-right: 12px;
}
.subtle { color: #555; }
.section-title {
padding: 24px 12px 12px;
font-size: 42px; color: #333; font-weight: 600;
}
/* Recommendations */
.recs {
display: flex; gap: 24px;
padding: 12px;
overflow: hidden;
}
.rec-card {
width: 320px; height: 460px;
border-radius: 24px; border: 1px solid #E0E0E0; background: #fff;
position: relative; padding: 18px;
box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.rec-img {
width: 100%; height: 360px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 32px; border-radius: 12px;
}
.fav-btn {
position: absolute; top: 18px; right: 18px;
width: 72px; height: 72px; border-radius: 36px;
display: flex; align-items: center; justify-content: center;
background: rgba(255,255,255,0.9); border: 1px solid #E0E0E0;
}
/* Bottom sheet - cart added */
.bottom-sheet {
position: absolute; left: 0; right: 0; bottom: 0;
height: 420px; background: #2E7D32; color: #fff;
padding: 36px; border-top-left-radius: 28px; border-top-right-radius: 28px;
}
.sheet-close {
position: absolute; top: 24px; right: 24px;
width: 60px; height: 60px; border-radius: 30px;
display: flex; align-items: center; justify-content: center;
color: #fff; opacity: 0.9;
}
.sheet-row {
display: flex; align-items: center; gap: 24px;
font-size: 48px; font-weight: 600; margin-top: 48px;
}
.sheet-check {
width: 72px; height: 72px; border-radius: 36px;
background: rgba(255,255,255,0.2);
display: flex; align-items: center; justify-content: center;
}
.sheet-btn {
margin: 48px auto 0; width: 940px; height: 140px;
border-radius: 24px; background: #DCEFD9; color: #2E7D32;
display: flex; align-items: center; justify-content: center;
font-size: 54px; font-weight: 800;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:11</div>
<div class="status-right">
<!-- simple status icons -->
<svg class="icon-small" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="#666" stroke-width="2"/><rect x="10" y="11" width="6" height="2" fill="#666"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path d="M2 18h20M5 14h14M8 10h8M11 6h2" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><rect x="3" y="7" width="16" height="10" rx="2" fill="none" stroke="#666" stroke-width="2"/><rect x="20" y="9" width="2" height="6" fill="#666"/></svg>
<div>100%</div>
</div>
</div>
<!-- Search header -->
<div class="header">
<div class="header-row">
<div class="back-btn">
<svg class="icon" viewBox="0 0 24 24"><path d="M15 18L9 12l6-6" stroke="#2E7D32" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="search-bar">
<svg class="icon" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" stroke="#2E7D32" stroke-width="2" fill="none"/><path d="M20 20l-4.5-4.5" stroke="#2E7D32" stroke-width="2" stroke-linecap="round"/></svg>
<div class="search-text">milk</div>
<div class="mic-btn">
<svg class="icon" viewBox="0 0 24 24"><rect x="9" y="5" width="6" height="9" rx="3" fill="#2E7D32"/><path d="M12 15v3M8 18h8" stroke="#2E7D32" stroke-width="2" stroke-linecap="round"/></svg>
</div>
</div>
</div>
</div>
<!-- Product modal -->
<div class="product-modal">
<div class="modal-top">
<div>
<svg class="icon" viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19" stroke="#333" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<div class="modal-actions">
<svg class="icon" viewBox="0 0 24 24"><path d="M4 12v7h16v-7M12 4v12M8 8l4-4 4 4" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M12 21s-6-4.35-6-9a4 4 0 018 0 4 4 0 018 0c0 4.65-6 9-6 9s-2.1-1.5-4-3.2C14.1 19.5 12 21 12 21z" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
<div class="product-image">[IMG: Almond Milk Carton]</div>
<div class="title">Silk Original Almond Milk, Half Gallon</div>
<div class="price">$3.49</div>
<div class="info-list">
<div class="info-item">
<svg class="icon" viewBox="0 0 24 24" class="check"><path d="M20 6L9 17l-5-5" stroke="#2E7D32" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
<span>Pickup: Tomorrow 9am - 5pm</span>
</div>
<div class="info-item">
<svg class="icon" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" stroke="#2E7D32" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
<span>Delivery: Tomorrow 1pm - 8pm</span>
</div>
<div class="info-item">
<span class="ebt">EBT</span>
<span>SNAP EBT eligible</span>
</div>
</div>
<div class="section-title">Product Recommendations</div>
<div class="recs">
<div class="rec-card">
<div class="rec-img">[IMG: Milk Product]</div>
<div class="fav-btn">
<svg class="icon-small" viewBox="0 0 24 24"><path d="M12 21s-6-4.35-6-9a4 4 0 018 0 4 4 0 018 0c0 4.65-6 9-6 9z" fill="none" stroke="#777" stroke-width="2"/></svg>
</div>
</div>
<div class="rec-card">
<div class="rec-img">[IMG: Almond Milk Unsweetened]</div>
<div class="fav-btn">
<svg class="icon-small" viewBox="0 0 24 24"><path d="M12 21s-6-4.35-6-9a4 4 0 018 0 4 4 0 018 0c0 4.65-6 9-6 9z" fill="none" stroke="#777" stroke-width="2"/></svg>
</div>
</div>
<div class="rec-card">
<div class="rec-img">[IMG: Dairy-Free Milk]</div>
<div class="fav-btn">
<svg class="icon-small" viewBox="0 0 24 24"><path d="M12 21s-6-4.35-6-9a4 4 0 018 0 4 4 0 018 0c0 4.65-6 9-6 9z" fill="none" stroke="#777" stroke-width="2"/></svg>
</div>
</div>
</div>
</div>
<!-- Bottom sheet -->
<div class="bottom-sheet">
<div class="sheet-close">
<svg class="icon" viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19" stroke="#fff" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<div class="sheet-row">
<div class="sheet-check">
<svg class="icon-small" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div>Item added to your Cart</div>
</div>
<div class="sheet-btn">GO TO CART</div>
</div>
</div>
</body>
</html>