AndroidCode / code /10165 /10165_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
6.47 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Choose Your Size UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f5f5f5;
}
/* Top header/toolbar */
.top-bar {
position: absolute;
left: 0;
top: 0;
width: 1080px;
height: 360px;
background: #e9e9ea;
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
}
.icon-btn {
width: 84px;
height: 84px;
display: flex;
align-items: center;
justify-content: center;
cursor: default;
}
.back-btn {
position: absolute;
left: 36px;
top: 96px;
}
.search-btn {
position: absolute;
right: 36px;
top: 96px;
}
.cart-area {
position: absolute;
right: 168px;
top: 88px;
display: flex;
align-items: center;
gap: 12px;
color: #111;
}
.cart-bubble {
position: absolute;
right: -16px;
top: -8px;
width: 54px;
height: 54px;
background: #111;
color: #fff;
border-radius: 27px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 28px;
}
.sort-area {
position: absolute;
right: 36px;
bottom: 78px;
display: flex;
align-items: center;
gap: 12px;
color: #222;
font-weight: 700;
letter-spacing: 1px;
}
.products-label {
position: absolute;
left: 44px;
bottom: 78px;
font-size: 42px;
font-weight: 800;
color: #222;
letter-spacing: 1px;
}
.small-handle {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 24px;
width: 140px;
height: 8px;
background: #c4c7ca;
border-radius: 6px;
}
/* Modal sheet */
.sheet {
position: absolute;
left: 0;
top: 360px;
width: 1080px;
height: 2040px;
background: #ffffff;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
box-shadow: 0 -2px 6px rgba(0,0,0,0.06);
}
.sheet .close-btn {
position: absolute;
right: 36px;
top: 48px;
}
.sheet-title {
position: absolute;
left: 44px;
top: 100px;
font-size: 72px;
font-weight: 900;
color: #111;
letter-spacing: 1px;
}
/* Size list */
.size-list {
position: absolute;
left: 0;
top: 220px;
width: 100%;
}
.size-row {
display: flex;
align-items: center;
justify-content: space-between;
height: 160px;
border-bottom: 2px solid #ececec;
padding: 0 60px;
}
.size-row .num {
font-size: 54px;
font-weight: 800;
color: #111;
}
.size-row .check {
width: 48px;
height: 48px;
}
/* Size guide row */
.guide-row {
position: absolute;
left: 0;
bottom: 280px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 60px;
height: 140px;
color: #111;
border-top: 2px solid transparent;
}
.guide-row .label {
font-size: 46px;
font-weight: 800;
letter-spacing: 1px;
color: #222;
}
/* Bottom primary button */
.primary-btn {
position: absolute;
left: 44px;
bottom: 120px;
width: 992px;
height: 140px;
background: #111;
color: #fff;
border-radius: 8px;
font-size: 44px;
font-weight: 800;
letter-spacing: 2px;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top toolbar -->
<div class="top-bar">
<div class="icon-btn back-btn">
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="cart-area">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M7 6h10M7 12h10M7 18h10" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div class="cart-bubble">1</div>
</div>
<div class="icon-btn search-btn">
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#111" stroke-width="2" fill="none"/>
<path d="M20 20l-4.2-4.2" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="products-label">44 PRODUCTS</div>
<div class="sort-area">
<div>SORT</div>
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M8 6l-3 3-3-3M16 18l3-3 3 3" stroke="#111" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="small-handle"></div>
</div>
<!-- White sheet -->
<div class="sheet">
<div class="close-btn icon-btn">
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#111" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="sheet-title">CHOOSE YOUR SIZE</div>
<div class="size-list">
<div class="size-row">
<div class="num">4</div>
<svg class="check" viewBox="0 0 24 24">
<path d="M4 12l6 6 10-12" stroke="#222" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="size-row">
<div class="num">5</div>
</div>
<div class="size-row">
<div class="num">6</div>
</div>
<div class="size-row">
<div class="num">7</div>
</div>
<div class="size-row">
<div class="num">8</div>
</div>
<div class="size-row">
<div class="num">9</div>
</div>
<div class="size-row">
<div class="num">10</div>
</div>
<div class="size-row">
<div class="num">11</div>
</div>
<div class="size-row" style="border-bottom: none;">
<div class="num">12</div>
</div>
</div>
<div class="guide-row">
<div class="label">SIZE GUIDE</div>
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="primary-btn">ADD TO WISHLIST</div>
</div>
</div>
</body>
</html>