AndroidCode / code /10159 /10159_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Travel Plans - Date Picker</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #eaf0f5;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 160px;
background: #8e8e8e;
color: #fff;
font-family: "Segoe UI", Arial, sans-serif;
font-weight: 600;
}
.status-inner {
position: absolute;
top: 40px;
left: 40px;
right: 40px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 38px;
}
.status-left, .status-right {
display: flex;
align-items: center;
gap: 24px;
}
.status-icon svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 4; }
/* Main card behind modal */
.hero-card {
position: absolute;
top: 200px;
left: 40px;
width: 1000px;
height: 980px;
background: #ffffff;
border-radius: 56px;
box-shadow: 0 24px 48px rgba(0,0,0,0.12);
padding: 60px 60px 40px;
font-family: "Segoe UI", Arial, sans-serif;
}
.hero-title {
text-align: center;
color: #1f2a37;
font-weight: 800;
font-size: 64px;
line-height: 1.1;
margin-top: 40px;
margin-bottom: 50px;
}
.form-row {
display: grid;
grid-template-columns: 1fr;
gap: 26px;
}
.pill-field {
background: #f5f7fb;
border: 1px solid #d9dee6;
border-radius: 28px;
height: 120px;
display: flex;
align-items: center;
padding: 0 36px;
color: #3b4a5a;
font-size: 36px;
}
.suggestions {
position: absolute;
bottom: 40px;
left: 40px;
right: 40px;
display: flex;
gap: 28px;
align-items: center;
}
.suggestion-card {
flex: 1;
background: #f7f9fc;
border: 1px solid #d9dee6;
border-radius: 40px;
height: 180px;
padding: 28px 34px;
box-shadow: inset 0 0 0 rgba(0,0,0,0);
}
.suggestion-card .sub { color: #5b6b7c; font-size: 34px; }
.suggestion-card .main { color: #0b1f33; font-size: 48px; font-weight: 700; }
.hero-image {
width: 340px;
height: 180px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 28px;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 220px;
background: #ffffff;
border-top: 1px solid #e2e8f0;
display: flex;
justify-content: space-around;
align-items: center;
font-family: "Segoe UI", Arial, sans-serif;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
color: #667085;
font-size: 34px;
font-weight: 700;
}
.nav-item .icon svg { width: 64px; height: 64px; stroke: #667085; stroke-width: 6; fill: none; }
.nav-item.active { color: #0d8bff; }
.nav-item.active .icon svg { stroke: #0d8bff; }
/* Modal overlay */
.overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.18);
z-index: 10;
}
/* Date picker modal */
.date-modal {
position: absolute;
top: 720px;
left: 80px;
width: 920px;
background: #ffffff;
border-radius: 48px;
overflow: hidden;
box-shadow: 0 40px 90px rgba(0,0,0,0.25);
z-index: 11;
}
.modal-header {
background: #0d8bff;
color: #fff;
padding: 40px 56px 44px;
border-bottom: 1px solid rgba(255,255,255,0.2);
}
.modal-header .label {
font-size: 30px;
letter-spacing: 1px;
font-weight: 700;
opacity: 0.95;
}
.modal-header .date-display {
margin-top: 26px;
font-size: 88px;
font-weight: 800;
line-height: 1.05;
}
.edit-icon {
position: absolute;
right: 40px;
top: 40px;
}
.edit-icon svg { width: 54px; height: 54px; fill: none; stroke: #fff; stroke-width: 6; }
.modal-body {
padding: 36px 56px 30px;
}
.month-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 34px;
}
.month-left {
display: flex;
align-items: center;
gap: 14px;
font-size: 42px;
color: #667085;
font-weight: 800;
}
.chevron {
width: 22px;
height: 22px;
border-right: 4px solid #9AA4B2;
border-bottom: 4px solid #9AA4B2;
transform: rotate(45deg);
margin-left: 8px;
}
.month-right {
display: flex;
align-items: center;
gap: 32px;
}
.arrows svg { width: 40px; height: 40px; fill: none; stroke: #9AA4B2; stroke-width: 6; }
.dow {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 22px;
margin-bottom: 24px;
color: #111827;
font-size: 40px;
font-weight: 700;
text-align: center;
}
.calendar-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 22px;
}
.day {
height: 104px;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
color: #3b4a5a;
font-weight: 700;
}
.empty { color: transparent; }
.outlined {
border: 4px solid #3b4a5a;
border-radius: 50%;
width: 104px;
height: 104px;
box-sizing: border-box;
}
.selected {
background: #0d8bff;
color: #fff;
border-radius: 50%;
width: 104px;
height: 104px;
box-shadow: inset 0 -2px 0 rgba(255,255,255,0.3);
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 40px;
padding: 40px 56px 54px;
font-size: 42px;
font-weight: 800;
}
.modal-actions .btn {
color: #0d8bff;
cursor: default;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-inner">
<div class="status-left">
<div>2:50</div>
<div class="status-icon">
<svg viewBox="0 0 24 24"><path d="M2 6h20v12H2z"/><path d="M2 6l10 7 10-7"/></svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="14" rx="2"/><path d="M8 20h8"/></svg>
</div>
</div>
<div class="status-right">
<div class="status-icon">
<svg viewBox="0 0 24 24"><path d="M2 9c5.5-6 14.5-6 20 0"/><path d="M5 12c3.5-3.5 10.5-3.5 14 0"/><path d="M8 15c2-2 6-2 8 0"/></svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24"><rect x="2" y="6" width="18" height="12" rx="2"/><rect x="20.5" y="9" width="2" height="6" rx="1"/></svg>
</div>
</div>
</div>
</div>
<!-- Background hero card -->
<div class="hero-card">
<div class="hero-title">What are your travel plans?</div>
<div class="form-row">
<div class="pill-field">From • Boston</div>
<div class="pill-field">To • New York</div>
<div class="pill-field">Date • Nov 10, 2023</div>
<div class="pill-field">Passengers • 1 Adult</div>
</div>
<div class="suggestions">
<div class="suggestion-card">
<div class="sub">Boston</div>
<div class="main">New York</div>
</div>
<div class="suggestion-card">
<div class="sub">Miami</div>
<div class="main">Orlando</div>
</div>
<div class="hero-image">[IMG: Neon street / theater]</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<div class="icon">
<svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg>
</div>
<div>SEARCH</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 24 24"><rect x="5" y="4" width="14" height="14" rx="3"/><path d="M8 9h8M8 13h8"/></svg>
</div>
<div>TRIPS</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="6" r="1.5"/><path d="M12 10v8"/><circle cx="12" cy="18" r="1.5"/></svg>
</div>
<div>HELP</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-6 8-6s8 2 8 6"/></svg>
</div>
<div>PROFILE</div>
</div>
</div>
<!-- Overlay + Date Picker Modal -->
<div class="overlay"></div>
<div class="date-modal">
<div class="modal-header">
<div class="label">SELECT DATE</div>
<div class="date-display">Nov 10, 2023</div>
<div class="edit-icon">
<svg viewBox="0 0 24 24"><path d="M3 17l3-1 11-11-2-2-11 11-1 3z"/><path d="M14 4l6 6"/></svg>
</div>
</div>
<div class="modal-body">
<div class="month-row">
<div class="month-left">November 2023 <span class="chevron" style="transform: rotate(-45deg);"></span></div>
<div class="month-right">
<div class="arrows">
<svg viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6"/></svg>
</div>
<div class="arrows">
<svg viewBox="0 0 24 24"><path d="M9 6l6 6-6 6"/></svg>
</div>
</div>
</div>
<div class="dow">
<div>S</div><div>M</div><div>T</div><div>W</div><div>T</div><div>F</div><div>S</div>
</div>
<div class="calendar-grid">
<div class="day empty">0</div>
<div class="day empty">0</div>
<div class="day empty">0</div>
<div class="day">1</div>
<div class="day">2</div>
<div class="day">3</div>
<div class="day">4</div>
<div class="day">5</div>
<div class="day">6</div>
<div class="day">7</div>
<div class="day">8</div>
<div class="day"><div class="outlined">9</div></div>
<div class="day"><div class="selected">10</div></div>
<div class="day">11</div>
<div class="day">12</div>
<div class="day">13</div>
<div class="day">14</div>
<div class="day">15</div>
<div class="day">16</div>
<div class="day">17</div>
<div class="day">18</div>
<div class="day">19</div>
<div class="day">20</div>
<div class="day">21</div>
<div class="day">22</div>
<div class="day">23</div>
<div class="day">24</div>
<div class="day">25</div>
<div class="day">26</div>
<div class="day">27</div>
<div class="day">28</div>
<div class="day">29</div>
<div class="day">30</div>
<div class="day empty">0</div>
<div class="day empty">0</div>
</div>
</div>
<div class="modal-actions">
<div class="btn">Cancel</div>
<div class="btn">OK</div>
</div>
</div>
</div>
</body>
</html>