AndroidCode / code /10127 /10127_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
5.38 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Guest Details UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
color: #212121;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000000;
}
/* Header */
.header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 160px;
background: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
display: flex;
align-items: center;
padding: 0 36px;
}
.close-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 24px;
}
.header-title {
font-size: 48px;
font-weight: 500;
color: #333333;
}
/* List area */
.content {
position: absolute;
top: 280px; /* 120 + 160 */
left: 0;
width: 100%;
background: #ffffff;
}
.row {
display: flex;
align-items: center;
padding: 40px 36px;
height: 220px;
box-sizing: border-box;
border-bottom: 1.5px solid #E0E0E0;
}
.count {
font-size: 92px;
font-weight: 400;
width: 120px;
color: #333333;
}
.label {
font-size: 44px;
color: #606060;
flex: 1;
}
.actions {
display: flex;
gap: 32px;
align-items: center;
}
.icon-btn {
width: 88px;
height: 88px;
border-radius: 44px;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
background: #ffffff;
}
.icon-btn.disabled {
border: 2px solid #E0E0E0;
background: #F7F7F7;
}
.icon-btn.primary {
border: 3px solid #3D7BF6;
background: #ffffff;
}
.icon {
width: 44px;
height: 44px;
}
.icon path {
stroke-width: 8;
stroke-linecap: round;
}
.icon.primary path { stroke: #3D7BF6; }
.icon.disabled path { stroke: #BDBDBD; }
/* Bottom button */
.footer-btn {
position: absolute;
left: 60px;
bottom: 170px; /* above nav bar */
width: 960px;
height: 120px;
background: #3368F3;
border-radius: 60px;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 42px;
font-weight: 600;
letter-spacing: 1px;
}
/* Navigation bar */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 140px;
background: #000000;
display: flex;
align-items: center;
justify-content: center;
}
.home-indicator {
width: 260px;
height: 12px;
background: #BDBDBD;
border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="statusbar"></div>
<div class="header">
<div class="close-btn" aria-label="Close">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M8 8 L40 40 M40 8 L8 40" stroke="#4A4A4A" stroke-width="4" stroke-linecap="round"></path>
</svg>
</div>
<div class="header-title">Guest details</div>
</div>
<div class="content">
<!-- Row 1 -->
<div class="row">
<div class="count">1</div>
<div class="label">Room</div>
<div class="actions">
<div class="icon-btn disabled" aria-label="Decrease rooms">
<svg class="icon disabled" viewBox="0 0 48 48">
<path d="M12 24 H36" fill="none" stroke="#BDBDBD"></path>
</svg>
</div>
<div class="icon-btn primary" aria-label="Increase rooms">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M24 12 V36 M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
</div>
</div>
<!-- Row 2 -->
<div class="row">
<div class="count">2</div>
<div class="label">Adults</div>
<div class="actions">
<div class="icon-btn primary" aria-label="Decrease adults">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
<div class="icon-btn primary" aria-label="Increase adults">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M24 12 V36 M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
</div>
</div>
<!-- Row 3 -->
<div class="row">
<div class="count">0</div>
<div class="label">Children</div>
<div class="actions">
<div class="icon-btn disabled" aria-label="Decrease children">
<svg class="icon disabled" viewBox="0 0 48 48">
<path d="M12 24 H36" fill="none" stroke="#BDBDBD"></path>
</svg>
</div>
<div class="icon-btn primary" aria-label="Increase children">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M24 12 V36 M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
</div>
</div>
</div>
<div class="footer-btn">OK</div>
<div class="nav-bar">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>