AndroidCode / code /10165 /10165_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
7.31 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Choose Your Size - Mobile UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: Arial, Helvetica, sans-serif;
color: #111;
}
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #f6f6f6;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #0f0f10;
color: #cfcfcf;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
}
.status-time {
font-size: 36px;
font-weight: 600;
}
.status-icons {
margin-left: auto;
display: flex;
align-items: center;
gap: 22px;
}
.dot {
width: 20px;
height: 20px;
background: #cfcfcf;
border-radius: 50%;
opacity: 0.8;
}
/* App header behind sheet */
.app-header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 190px;
background: #e9e9ea;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
}
.back-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
}
.header-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 36px;
}
.icon-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.badge {
position: absolute;
top: -8px;
right: -8px;
width: 46px;
height: 46px;
background: #111;
color: #fff;
border-radius: 50%;
font-size: 28px;
display: flex;
align-items: center;
justify-content: center;
}
.sub-header {
position: absolute;
top: 310px;
left: 0;
width: 1080px;
height: 120px;
background: #efeff0;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
.sub-left {
font-size: 44px;
font-weight: 700;
letter-spacing: 1px;
}
.sub-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 18px;
font-size: 40px;
font-weight: 700;
color: #222;
}
/* Modal sheet */
.sheet {
position: absolute;
top: 360px;
left: 0;
width: 1080px;
height: 1840px;
background: #ffffff;
box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
z-index: 5;
}
.sheet-header {
position: relative;
padding: 60px 60px 30px 60px;
}
.sheet-title {
font-size: 72px;
font-weight: 800;
letter-spacing: 1px;
color: #111;
}
.close-btn {
position: absolute;
right: 40px;
top: 40px;
width: 88px;
height: 88px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 44px;
}
.size-list {
padding: 10px 0 0 0;
}
.size-item {
height: 140px;
display: flex;
align-items: center;
padding: 0 60px;
font-size: 56px;
font-weight: 800;
color: #111;
border-top: 1px solid #e3e3e5;
box-sizing: border-box;
}
.size-item:last-child {
border-bottom: 1px solid #e3e3e5;
}
.sheet-bottom {
position: absolute;
left: 0;
bottom: 180px;
width: 100%;
padding: 0 60px;
box-sizing: border-box;
}
.size-guide {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 16px;
font-size: 44px;
font-weight: 700;
color: #111;
padding-bottom: 40px;
}
.wishlist-btn {
width: 100%;
height: 150px;
background: #c3c7cb;
color: #222;
border: none;
font-size: 44px;
font-weight: 800;
letter-spacing: 3px;
text-transform: uppercase;
border-radius: 6px;
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 28px;
left: 50%;
transform: translateX(-50%);
width: 620px;
height: 18px;
background: #c9c9cc;
border-radius: 12px;
}
/* SVG styles for icons */
svg {
display: block;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-time">10:15</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<svg width="40" height="40" viewBox="0 0 24 24" fill="#cfcfcf"><path d="M19 6l-7 0-2 2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"/></svg>
</div>
</div>
<!-- App header with back/search etc. (behind sheet) -->
<div class="app-header">
<div class="back-btn">
<svg width="54" height="54" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#111" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="header-actions">
<div class="icon-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#111" stroke-width="2.2" stroke-linecap="round"/>
</svg>
<div class="badge">1</div>
</div>
<div class="icon-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#111" stroke-width="2.2" fill="none"/>
<path d="M20 20l-4-4" stroke="#111" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Sub header (behind sheet) -->
<div class="sub-header">
<div class="sub-left">44 PRODUCTS</div>
<div class="sub-right">
<div>SORT</div>
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M8 7l-3 3-3-3" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 17l3-3 3 3" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Modal sheet -->
<div class="sheet">
<div class="sheet-header">
<div class="sheet-title">CHOOSE YOUR SIZE</div>
<div class="close-btn">
<svg width="54" height="54" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#111" stroke-width="2.4" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="size-list">
<div class="size-item">4</div>
<div class="size-item">5</div>
<div class="size-item">6</div>
<div class="size-item">7</div>
<div class="size-item">8</div>
<div class="size-item">9</div>
<div class="size-item">10</div>
<div class="size-item">11</div>
<div class="size-item">12</div>
</div>
<div class="sheet-bottom">
<div class="size-guide">SIZE GUIDE
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#111" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<button class="wishlist-btn">ADD TO WISHLIST</button>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>