AndroidCode / code /10113 /10113_12.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
5.31 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Select passengers</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* App bar */
.appbar {
position: relative;
width: 100%;
height: 220px;
background: #0b5963;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
}
.appbar .title {
font-size: 56px;
font-weight: 600;
margin-left: 24px;
}
.appbar .right {
margin-left: auto;
}
.icon-btn {
width: 72px;
height: 72px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.icon {
width: 48px;
height: 48px;
}
/* List / rows */
.list {
padding-top: 12px;
}
.row {
display: flex;
align-items: center;
padding: 40px 40px;
border-bottom: 1px solid #eaeaea;
}
.row .labels {
flex: 1;
}
.primary {
font-size: 46px;
color: #424242;
}
.secondary {
margin-top: 16px;
font-size: 36px;
color: #7a7a7a;
}
.qty {
display: inline-flex;
align-items: center;
gap: 40px;
}
.qty .num {
font-size: 48px;
color: #5e5e5e;
width: 60px;
text-align: center;
}
.svg-action {
width: 64px;
height: 64px;
}
.action-active svg path { stroke: #0b5963; fill: none; }
.action-disabled svg path { stroke: #9e9e9e; fill: none; }
/* Bottom gesture bar */
.gesture {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 18px;
background: #d9d9d9;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- App Bar -->
<div class="appbar">
<div class="icon-btn">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#ffffff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Select passengers</div>
<div class="right icon-btn">
<svg class="icon" viewBox="0 0 24 24">
<path d="M20 6l-11 11-5-5" stroke="#ffffff" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- List Content -->
<div class="list">
<!-- Adult -->
<div class="row">
<div class="labels">
<div class="primary">Adult</div>
</div>
<div class="qty">
<div class="action-active">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
<div class="num">1</div>
<div class="action-active">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Child -->
<div class="row">
<div class="labels">
<div class="primary">Child (2-15)</div>
</div>
<div class="qty">
<div class="action-disabled">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
<div class="num" style="color:#9e9e9e;">0</div>
<div class="action-active">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Bike -->
<div class="row">
<div class="labels">
<div class="primary">Bike</div>
<div class="secondary">E-bikes are not allowed on buses.</div>
</div>
<div class="qty">
<div class="action-disabled">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
<div class="num" style="color:#9e9e9e;">0</div>
<div class="action-active">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Wheelchair -->
<div class="row">
<div class="labels">
<div class="primary">Travel in your wheelchair</div>
<div class="secondary">Please select passenger first</div>
</div>
<div class="qty">
<div class="action-disabled">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
<div class="num" style="color:#9e9e9e;">0</div>
<div class="action-active">
<svg class="svg-action" viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>