AndroidCode / code /10127 /10127_10.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
5.93 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Guest details</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: #222;
}
/* Status bar (top) */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000000;
}
/* App bar */
.app-bar {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 180px;
background: #ffffff;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
display: flex;
align-items: center;
padding: 0 40px;
}
.app-title {
font-size: 54px;
font-weight: 600;
color: #333;
margin-left: 24px;
}
.icon-btn {
width: 72px;
height: 72px;
display: inline-flex;
align-items: center;
justify-content: center;
}
/* List area */
.content {
position: absolute;
top: 300px; /* below app bar */
left: 0;
right: 0;
bottom: 320px; /* leave space for bottom button and nav bar */
padding: 20px 40px 0 40px;
background: #fff;
}
.row {
height: 240px;
display: flex;
align-items: center;
}
.count {
width: 140px;
font-size: 120px;
font-weight: 400;
color: #3b3b3b;
line-height: 1;
}
.label {
flex: 1;
font-size: 52px;
color: #666;
padding-left: 20px;
}
.actions {
display: flex;
align-items: center;
gap: 40px;
margin-right: 10px;
}
.circle-btn {
width: 92px;
height: 92px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
}
.divider {
height: 1px;
background: #E0E0E0;
margin: 0 0 0 140px; /* align with text content */
}
/* Bottom primary button */
.primary-btn {
position: absolute;
left: 60px;
bottom: 200px;
width: 960px;
height: 120px;
background: #3367D6;
border-radius: 60px;
color: #fff;
font-size: 48px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 12px rgba(51,103,214,0.3);
}
/* Bottom system nav bar */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 140px;
background: #000000;
}
.gesture-pill {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 420px;
height: 12px;
background: #C5C5C5;
border-radius: 6px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar"></div>
<div class="app-bar">
<div class="icon-btn">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M8 8 L40 40 M40 8 L8 40" stroke="#606060" stroke-width="6" stroke-linecap="round"></path>
</svg>
</div>
<div class="app-title">Guest details</div>
</div>
<div class="content">
<!-- Row: Room -->
<div class="row">
<div class="count">1</div>
<div class="label">Room</div>
<div class="actions">
<div class="circle-btn">
<svg width="92" height="92" viewBox="0 0 92 92">
<circle cx="46" cy="46" r="42" fill="none" stroke="#D5D5D5" stroke-width="4"></circle>
<path d="M26 46 H66" stroke="#BDBDBD" stroke-width="8" stroke-linecap="round"></path>
</svg>
</div>
<div class="circle-btn">
<svg width="92" height="92" viewBox="0 0 92 92">
<circle cx="46" cy="46" r="42" fill="none" stroke="#3A73F3" stroke-width="4"></circle>
<path d="M26 46 H66 M46 26 V66" stroke="#3A73F3" stroke-width="8" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Row: Adult -->
<div class="row">
<div class="count">1</div>
<div class="label">Adult</div>
<div class="actions">
<div class="circle-btn">
<svg width="92" height="92" viewBox="0 0 92 92">
<circle cx="46" cy="46" r="42" fill="none" stroke="#D5D5D5" stroke-width="4"></circle>
<path d="M26 46 H66" stroke="#BDBDBD" stroke-width="8" stroke-linecap="round"></path>
</svg>
</div>
<div class="circle-btn">
<svg width="92" height="92" viewBox="0 0 92 92">
<circle cx="46" cy="46" r="42" fill="none" stroke="#3A73F3" stroke-width="4"></circle>
<path d="M26 46 H66 M46 26 V66" stroke="#3A73F3" stroke-width="8" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Row: Children -->
<div class="row">
<div class="count">0</div>
<div class="label">Children</div>
<div class="actions">
<div class="circle-btn">
<svg width="92" height="92" viewBox="0 0 92 92">
<circle cx="46" cy="46" r="42" fill="none" stroke="#D5D5D5" stroke-width="4"></circle>
<path d="M26 46 H66" stroke="#BDBDBD" stroke-width="8" stroke-linecap="round"></path>
</svg>
</div>
<div class="circle-btn">
<svg width="92" height="92" viewBox="0 0 92 92">
<circle cx="46" cy="46" r="42" fill="none" stroke="#3A73F3" stroke-width="4"></circle>
<path d="M26 46 H66 M46 26 V66" stroke="#3A73F3" stroke-width="8" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<div class="divider"></div>
</div>
<div class="primary-btn">OK</div>
<div class="nav-bar">
<div class="gesture-pill"></div>
</div>
</div>
</body>
</html>