AndroidCode / code /10162 /10162_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
4.27 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Cart Screen</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #ffffff;
}
.status-time {
position: absolute;
left: 32px;
top: 0;
height: 120px;
line-height: 120px;
font-size: 44px;
color: #616161;
letter-spacing: 0.5px;
}
.status-icons {
position: absolute;
right: 32px;
top: 0;
height: 120px;
display: flex;
align-items: center;
gap: 28px;
color: #616161;
}
.status-icons svg {
width: 42px;
height: 42px;
fill: none;
stroke: #616161;
stroke-width: 6;
}
.battery {
display: flex;
align-items: center;
gap: 12px;
color: #616161;
font-size: 38px;
}
.battery svg {
width: 52px;
height: 32px;
stroke-width: 6;
}
/* Header */
.header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 140px;
background: #ffffff;
border-bottom: 1px solid #E5E5E5;
}
.header-title {
position: absolute;
left: 0;
right: 0;
top: 0;
height: 140px;
line-height: 140px;
text-align: center;
font-size: 64px;
font-weight: 700;
color: #2E7D32;
}
.back-btn {
position: absolute;
left: 36px;
top: 50%;
transform: translateY(-50%);
width: 72px;
height: 72px;
}
.back-btn svg {
width: 72px;
height: 72px;
stroke: #2E7D32;
stroke-width: 10;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
/* Content area */
.content {
position: absolute;
top: 260px; /* statusbar + header */
left: 0;
width: 1080px;
height: calc(2400px - 260px - 120px); /* subtract bottom nav */
background: #F3F3F3;
}
/* Left scrollbar indicator */
.scroll-indicator {
position: absolute;
left: 24px;
top: 980px;
width: 10px;
height: 280px;
background: #9E9E9E;
border-radius: 6px;
}
/* Spinner */
.spinner {
position: absolute;
left: 50%;
top: 1200px;
width: 100px;
height: 100px;
transform: translateX(-50%);
border-radius: 50%;
border: 12px solid #2E7D32;
border-top-color: transparent;
border-right-color: transparent;
}
/* Bottom navigation bar (system) */
.bottom-nav {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 120px;
background: #000000;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="statusbar">
<div class="status-time">10:12</div>
<div class="status-icons">
<!-- Do Not Disturb icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<line x1="7" y1="12" x2="17" y2="12"></line>
</svg>
<!-- WiFi icon (simplified) -->
<svg viewBox="0 0 24 24">
<path d="M3 9c4.5-4 13.5-4 18 0"></path>
<path d="M6 12c3-2.5 9-2.5 12 0"></path>
<path d="M9 15c1.5-1 4.5-1 6 0"></path>
<circle cx="12" cy="18" r="1"></circle>
</svg>
<!-- Battery + percentage -->
<div class="battery">
<svg viewBox="0 0 28 16">
<rect x="1" y="1" width="24" height="14" rx="2"></rect>
<rect x="3" y="3" width="18" height="10" fill="#616161" stroke="none"></rect>
<rect x="25" y="5" width="2" height="6" rx="1"></rect>
</svg>
<span>100%</span>
</div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-btn">
<svg viewBox="0 0 24 24">
<path d="M15 5l-7 7 7 7"></path>
</svg>
</div>
<div class="header-title">Cart</div>
</div>
<!-- Content Area -->
<div class="content">
<div class="scroll-indicator"></div>
<div class="spinner"></div>
</div>
<!-- Bottom Navigation Bar -->
<div class="bottom-nav"></div>
</div>
</body>
</html>