AndroidCode / code /10159 /10159_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Travel Plans UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
color: #1F2C3A;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #DFF1F7;
border-radius: 32px;
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* Status bar (simplified) */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 140px;
background: #FFFFFF;
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.status-content {
position: absolute;
top: 36px;
left: 40px;
right: 40px;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
color: #2A3140;
font-weight: 600;
font-size: 38px;
letter-spacing: 0.2px;
}
.status-icons {
display: flex;
align-items: center;
gap: 24px;
}
.status-icon {
width: 44px;
height: 44px;
opacity: 0.85;
}
/* Main card */
.card {
position: absolute;
top: 180px;
left: 40px;
width: 1000px;
background: #FFFFFF;
border-radius: 56px;
box-shadow: 0 10px 24px rgba(18, 62, 96, 0.12);
padding: 48px 44px 44px 44px;
}
.brand-mark {
width: 80px;
height: 80px;
margin: 0 auto 24px auto;
background: #F5A623;
border-radius: 18px;
transform: rotate(45deg);
box-shadow: 0 3px 8px rgba(0,0,0,0.15);
position: relative;
}
.brand-mark::after {
content: "";
position: absolute;
left: 18px;
right: 18px;
bottom: 18px;
height: 14px;
border-radius: 14px 14px 0 0;
background: rgba(255,255,255,0.85);
transform: rotate(-45deg);
}
.card-title {
text-align: center;
font-size: 58px;
line-height: 68px;
font-weight: 800;
color: #1D3853;
margin: 0 0 36px 0;
}
.field {
background: #EBF2F5;
border-radius: 36px;
padding: 26px 32px;
margin-bottom: 22px;
}
.field.inline {
display: flex;
gap: 22px;
}
.pill {
flex: 1;
background: #EBF2F5;
border-radius: 36px;
padding: 26px 32px;
}
.label {
font-size: 28px;
color: #6C7C90;
margin-bottom: 8px;
}
.value {
font-size: 44px;
color: #1F2C3A;
font-weight: 700;
}
.value.secondary {
font-weight: 600;
color: #627389;
}
/* Swap icon bubble at right of From field */
.field.from {
position: relative;
padding-right: 96px;
}
.swap-bubble {
position: absolute;
right: 22px;
top: 22px;
width: 92px;
height: 92px;
background: #FFFFFF;
border-radius: 28px;
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
display: flex;
align-items: center;
justify-content: center;
}
/* Search button */
.search-btn {
margin-top: 24px;
background: #4D87FF;
border-radius: 46px;
padding: 30px 40px;
display: flex;
align-items: center;
justify-content: center;
gap: 22px;
color: #FFFFFF;
font-size: 42px;
font-weight: 800;
box-shadow: 0 12px 22px rgba(77,135,255,0.32);
}
.search-btn svg {
width: 52px;
height: 52px;
fill: none;
stroke: #FFFFFF;
stroke-width: 6;
}
/* Ideas section */
.ideas {
position: absolute;
left: 40px;
right: 40px;
top: 1210px;
}
.ideas h2 {
margin: 0 0 22px 0;
font-size: 44px;
color: #2A4D74;
font-weight: 800;
}
.cards {
display: flex;
gap: 28px;
}
.trip-card {
width: 480px;
border-radius: 40px;
overflow: visible;
position: relative;
}
.img-placeholder {
width: 480px;
height: 420px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 40px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 30px;
text-align: center;
}
.trip-label {
position: absolute;
left: 16px;
bottom: -6px;
background: #FFFFFF;
border-radius: 36px;
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
padding: 22px 28px;
width: 420px;
}
.trip-label .sub {
font-size: 30px;
color: #6C7C90;
margin-bottom: 6px;
}
.trip-label .title {
font-size: 44px;
font-weight: 800;
color: #1F2C3A;
}
/* Bottom nav */
.bottom-nav {
position: absolute;
left: 0;
bottom: 80px;
width: 1080px;
height: 220px;
background: #FFFFFF;
box-shadow: 0 -10px 18px rgba(0,0,0,0.08);
border-top-left-radius: 28px;
border-top-right-radius: 28px;
padding-top: 28px;
}
.nav-items {
display: flex;
justify-content: space-around;
align-items: center;
text-align: center;
}
.nav-item {
width: 200px;
color: #73859A;
}
.nav-item .icon-wrap {
width: 72px;
height: 72px;
margin: 0 auto 12px auto;
}
.nav-item svg {
width: 72px;
height: 72px;
stroke: #73859A;
fill: none;
stroke-width: 6;
}
.nav-item .label {
font-size: 28px;
font-weight: 700;
}
.nav-item.active svg {
stroke: #3777FF;
}
.nav-item.active .label {
color: #3777FF;
}
/* Home indicator */
.home-indicator {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 24px;
width: 300px;
height: 18px;
background: #111;
opacity: 0.2;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar"></div>
<div class="status-content">
<div>2:50</div>
<div class="status-icons">
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M5 4h14v16H5z" fill="none" stroke="#2A3140" stroke-width="2"></path>
<path d="M8 7h8v10H8z" fill="none" stroke="#2A3140" stroke-width="2"></path>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M2 16h20M5 12h14M8 8h8M11 4h2" stroke="#2A3140" stroke-width="2" fill="none"></path>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M18 6v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V6" stroke="#2A3140" stroke-width="2" fill="none"></path>
<path d="M9 3h6v3H9z" stroke="#2A3140" stroke-width="2" fill="none"></path>
</svg>
</div>
</div>
<!-- Main card -->
<div class="card">
<div class="brand-mark"></div>
<h1 class="card-title">What are your travel plans?</h1>
<div class="field from">
<div class="label">From</div>
<div class="value">Brussels City Center - Midi Train station, …</div>
<div class="swap-bubble" title="Swap">
<svg viewBox="0 0 24 24">
<path d="M12 4v8M9 8l3-3 3 3M12 12v8M9 16l3 3 3-3" stroke="#4D87FF" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<div class="field">
<div class="label">To</div>
<div class="value">Antwerp, <span class="value secondary">Antwerp, Belgium</span></div>
</div>
<div class="field inline">
<div class="pill">
<div class="label">Date • <span style="color:#3777FF;font-weight:700;">Tomorrow</span></div>
<div class="value">Fri, Nov 10</div>
</div>
<div class="pill" style="display:flex;align-items:center;gap:18px;">
<svg viewBox="0 0 24 24" style="width:40px;height:40px;stroke:#6C7C90;">
<path d="M12 5v14M5 12h14" stroke-width="2.4" fill="none" stroke-linecap="round"></path>
</svg>
<div class="value secondary" style="font-size:40px;">Return</div>
</div>
</div>
<div class="field">
<div class="label">Passengers</div>
<div class="value">1 Adult</div>
</div>
<div class="search-btn">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6"></circle>
<path d="M15 15l6 6"></path>
</svg>
<span>Search</span>
</div>
</div>
<!-- Ideas section -->
<div class="ideas">
<h2>Ideas for your next trip</h2>
<div class="cards">
<div class="trip-card">
<div class="img-placeholder">[IMG: Statue of Liberty]</div>
<div class="trip-label">
<div class="sub">Boston</div>
<div class="title">New York</div>
</div>
</div>
<div class="trip-card">
<div class="img-placeholder">[IMG: Neon Drive-In Diner]</div>
<div class="trip-label">
<div class="sub">Miami</div>
<div class="title">Orlando</div>
</div>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-items">
<div class="nav-item active">
<div class="icon-wrap">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6"></circle>
<path d="M15.5 15.5L22 22"></path>
</svg>
</div>
<div class="label">SEARCH</div>
</div>
<div class="nav-item">
<div class="icon-wrap">
<svg viewBox="0 0 24 24">
<rect x="4" y="8" width="16" height="10" rx="2"></rect>
<path d="M8 8V6h8v2"></path>
</svg>
</div>
<div class="label">TRIPS</div>
</div>
<div class="nav-item">
<div class="icon-wrap">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2"></circle>
<path d="M12 9c2.5 0 4 1.2 4 3 0 1.3-1 2.3-2.6 2.8M12 17h0"></path>
</svg>
</div>
<div class="label">HELP</div>
</div>
<div class="nav-item">
<div class="icon-wrap">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 20c2.2-3.5 6-4 8-4s5.8.5 8 4" stroke-linecap="round"></path>
</svg>
</div>
<div class="label">PROFILE</div>
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>