AndroidCode / code /10074 /10074_0.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>Cart UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #111;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Top App Bar */
.appbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 180px;
background: #17337A; /* deep navy */
color: #fff;
display: flex;
align-items: center;
padding: 0 48px;
box-sizing: border-box;
}
.appbar .title {
font-size: 56px;
font-weight: 700;
margin-left: 28px;
letter-spacing: 0.2px;
}
/* Main content area (empty cart) */
.content {
position: absolute;
top: 180px;
left: 0;
right: 0;
bottom: 280px; /* space for summary + checkout bar */
background: #fff;
}
/* Summary row above checkout */
.summary {
position: absolute;
left: 0;
right: 0;
bottom: 160px;
height: 120px;
padding: 0 48px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 36px;
}
.summary .amount {
font-size: 38px;
}
.summary .amount .value {
color: #1E3F93; /* blue for $0 */
font-weight: 700;
margin-left: 12px;
}
/* Checkout bottom bar */
.checkout-bar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 160px;
background: #17337A;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
gap: 26px;
padding: 0 40px;
box-sizing: border-box;
}
.checkout-bar .label {
font-size: 48px;
font-weight: 600;
letter-spacing: 0.3px;
}
/* Icon styles */
.icon {
display: inline-block;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top App Bar -->
<div class="appbar">
<!-- Back arrow icon -->
<svg class="icon" width="64" height="64" viewBox="0 0 80 80" aria-hidden="true">
<path d="M50 15 L25 40 L50 65" stroke="#FFFFFF" stroke-width="10" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="title">Cart</div>
</div>
<!-- Empty content area -->
<div class="content"></div>
<!-- Summary Row -->
<div class="summary">
<div>Total 0 items</div>
<div class="amount">Total HKD <span class="value">$0</span></div>
</div>
<!-- Checkout Bottom Bar -->
<div class="checkout-bar">
<svg class="icon" width="64" height="64" viewBox="0 0 24 24" aria-hidden="true">
<path d="M3 6h2l3 9h9l2-7H8" stroke="#FFFFFF" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
<circle cx="10" cy="19" r="2" fill="#FFFFFF"></circle>
<circle cx="17" cy="19" r="2" fill="#FFFFFF"></circle>
</svg>
<div class="label">Checkout</div>
</div>
</div>
</body>
</html>