File size: 8,973 Bytes
ff1f000 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Cart Screen</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #FFFFFF; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 28px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #111;
}
.status-bar {
height: 110px; padding: 0 36px; display: flex; align-items: center; justify-content: space-between;
color: #666; font-size: 42px;
}
.status-right { display: flex; align-items: center; gap: 24px; }
.header {
height: 120px; display: flex; align-items: center; position: relative; padding: 0 36px;
}
.back-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.header-title { position: absolute; left: 0; right: 0; text-align: center; font-weight: 700; color: #1F8E2C; font-size: 56px; }
.content {
position: absolute; left: 0; right: 0; top: 230px; bottom: 260px;
overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 36px 40px;
}
.card {
background: #FAFAFA; border: 1px solid #E0E0E0; border-radius: 20px;
padding: 34px; margin-bottom: 34px;
}
.card-row { display: flex; gap: 30px; }
.card-left { flex: 1; }
.card-title { font-size: 44px; line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
.card-price { font-size: 40px; font-weight: 700; margin-bottom: 26px; }
.stepper { display: flex; align-items: center; border: 1px solid #DFDFDF; border-radius: 12px; overflow: hidden; width: 360px; height: 120px; margin-bottom: 26px; }
.stepper div { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #333; }
.stepper .sep { width: 1px; background: #E5E5E5; }
.card-right { width: 280px; display: flex; align-items: center; justify-content: center; }
.img-placeholder {
width: 260px; height: 360px; background: #E0E0E0; border: 1px solid #BDBDBD;
border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #757575; text-align: center; font-size: 30px; padding: 10px;
}
.card-actions { display: flex; margin-top: 24px; border-top: 1px solid #E6E6E6; }
.card-actions button { flex: 1; padding: 36px 20px; background: transparent; border: none; font-size: 40px; font-weight: 700; color: #222; }
.card-actions button + button { border-left: 1px solid #E6E6E6; }
.list-row {
background: #FFFFFF; border-top: 1px solid #EEEEEE; border-bottom: 1px solid #EEEEEE;
border-radius: 18px; padding: 30px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.list-left { display: flex; align-items: center; gap: 24px; font-size: 40px; font-weight: 700; color: #222; }
.section-title { font-size: 46px; font-weight: 800; margin: 32px 0 12px; }
.subtext { color: #666; font-size: 34px; }
.total-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 6px; }
.total-row .label { font-size: 42px; font-weight: 800; }
.total-row .amount { font-size: 42px; font-weight: 800; }
.info-row { display: flex; align-items: center; gap: 18px; color: #555; font-size: 34px; padding: 12px 6px 24px; }
.options { display: flex; gap: 24px; margin-top: 18px; }
.option-card {
flex: 1; background: #F2F2F2; border: 1px solid #D9D9D9; border-radius: 20px;
padding: 38px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.option-title { font-size: 36px; color: #333; }
.hint { margin: 30px 6px; font-size: 34px; color: #333; }
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 0; height: 240px;
background: #FFFFFF; border-top-left-radius: 24px; border-top-right-radius: 24px;
box-shadow: 0 -8px 20px rgba(0,0,0,0.08);
padding: 26px 36px; display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.bottom-total { text-align: center; font-size: 40px; font-weight: 700; color: #333; }
.checkout-btn {
background: #2E8F34; color: #FFFFFF; border: none; height: 120px; border-radius: 26px;
font-size: 44px; font-weight: 800; letter-spacing: 0.3px;
}
/* simple icon styles for consistency */
.icon { width: 48px; height: 48px; }
.icon-green { color: #2E8F34; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>10:12</div>
<div class="status-right">
<!-- Do Not Disturb -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#888"/>
<rect x="6" y="11" width="12" height="2" fill="#fff"/>
</svg>
<!-- Wifi -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0M6 12c3-3 9-3 12 0M10 16c2-2 4-2 6 0M12 20l2-2-2-2-2 2 2 2z" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<!-- Battery -->
<svg class="icon" viewBox="0 0 28 24">
<rect x="2" y="6" width="22" height="12" rx="2" ry="2" fill="#666"/>
<rect x="24" y="9" width="3" height="6" rx="1" fill="#666"/>
<rect x="4" y="8" width="18" height="8" fill="#fff"/>
</svg>
<div style="font-size:34px; color:#666;">100%</div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-btn">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 5l-7 7 7 7" stroke="#2E8F34" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="header-title">Cart</div>
</div>
<!-- Scrollable Content -->
<div class="content">
<!-- Product Card -->
<div class="card">
<div class="card-row">
<div class="card-left">
<div class="card-title">Silk Original Almond Milk, Half Gallon</div>
<div class="card-price">$3.49</div>
<div class="stepper">
<div style="font-weight:800;">−</div>
<div class="sep"></div>
<div>1</div>
<div class="sep"></div>
<div style="font-weight:800;">+</div>
</div>
</div>
<div class="card-right">
<div class="img-placeholder">[IMG: Silk Almond Milk Carton]</div>
</div>
</div>
<div class="card-actions">
<button>Remove</button>
<button>Move to favorites</button>
</div>
</div>
<!-- Apply Coupon Row -->
<div class="list-row">
<div class="list-left">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#2E8F34" stroke-width="2" fill="none"/>
<text x="12" y="16" text-anchor="middle" font-size="12" fill="#2E8F34">%</text>
</svg>
<span>Apply Coupon</span>
</div>
<svg class="icon" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#999" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Price Information -->
<div class="section-title">Price Information <span style="font-size:34px; font-weight:600; color:#666;">(1 Items)</span></div>
<div class="total-row">
<div class="label">Total</div>
<div class="amount">$3.49</div>
</div>
<div class="info-row">
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 2l9 6v6c0 5-4 8-9 8S3 19 3 14V8l9-6z" fill="#C9CED6"/>
<circle cx="12" cy="12" r="3" fill="#fff"/>
</svg>
<div>100% secure & safe payment process.</div>
</div>
<!-- Delivery Options -->
<div class="section-title" style="margin-top:10px;">Choose Delivery Options</div>
<div class="options">
<div class="option-card">
<svg class="icon" viewBox="0 0 24 24" style="width:96px;height:96px;">
<rect x="2" y="9" width="14" height="8" fill="#111"/>
<rect x="16" y="11" width="6" height="6" fill="#111"/>
<circle cx="7" cy="18" r="2" fill="#111"/>
<circle cx="18" cy="18" r="2" fill="#111"/>
</svg>
<div class="option-title">Local Delivery</div>
</div>
<div class="option-card">
<svg class="icon" viewBox="0 0 24 24" style="width:96px;height:96px;">
<path d="M3 10h18l-2 8H5l-2-8zm2-4h14l2 4H3l2-4z" fill="#111"/>
<rect x="7" y="14" width="10" height="4" fill="#fff"/>
</svg>
<div class="option-title">Store Pickup</div>
</div>
</div>
<div class="hint">Enter your zip code into the field below to check if we deliver to your area:</div>
<!-- (Zip field placeholder area could be below the visible area) -->
<div style="height: 500px;"></div>
</div>
<!-- Bottom Payment Bar -->
<div class="bottom-bar">
<div class="bottom-total">Total Payment: $3.49</div>
<button class="checkout-btn">Check Out</button>
</div>
</div>
</body>
</html> |