AndroidCode / code /10159 /10159_11.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.4 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, Inter, Arial, sans-serif;
color: #19324A;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: linear-gradient(180deg, #E6F7FC 0%, #DAF1F8 60%, #E6F7FC 100%);
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 140px;
background: #ffffff;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
color: #1B2E48;
}
.status-left {
font-size: 32px;
font-weight: 600;
}
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 28px;
}
.status-icon svg {
width: 40px;
height: 40px;
fill: none;
stroke: #1B2E48;
stroke-width: 2.5;
}
/* Main card */
.search-card {
position: absolute;
left: 40px;
top: 170px;
width: 1000px;
background: #ffffff;
border-radius: 44px;
box-shadow: 0 12px 24px rgba(21, 58, 102, 0.12);
padding: 36px 36px 44px;
box-sizing: border-box;
}
.brand-mark {
width: 68px;
height: 68px;
margin: 8px auto 16px;
transform: rotate(45deg);
background: #F5B542;
border-radius: 18px;
position: relative;
}
.brand-mark svg {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -35%) rotate(-45deg);
}
.card-title {
text-align: center;
font-size: 52px;
line-height: 1.15;
font-weight: 800;
margin: 8px 0 28px;
color: #1C3553;
}
.field {
background: #EAF1F4;
border-radius: 28px;
padding: 22px 28px;
margin-bottom: 18px;
position: relative;
}
.field-label {
font-size: 24px;
color: #6C839A;
margin-bottom: 8px;
}
.field-value {
font-size: 36px;
font-weight: 700;
color: #172D46;
}
.field-subtle {
font-weight: 500;
color: #8BA0B3;
}
.swap-chip {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
background: #ffffff;
border-radius: 20px;
padding: 10px 14px;
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.swap-chip svg {
width: 28px;
height: 28px;
stroke: #6C839A;
stroke-width: 2.5;
fill: none;
}
.row {
display: flex;
gap: 22px;
margin: 6px 0 6px;
}
.field-half {
flex: 1;
background: #EAF1F4;
border-radius: 28px;
padding: 22px 28px;
position: relative;
}
.right-plus {
position: absolute;
right: 28px;
top: 50%;
transform: translateY(-50%);
color: #6C839A;
font-size: 36px;
font-weight: 700;
}
.search-btn {
margin-top: 26px;
height: 124px;
background: linear-gradient(180deg, #4B8CFF 0%, #2F73F8 100%);
border-radius: 42px;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
gap: 22px;
box-shadow: inset 0 0 0 8px rgba(255,255,255,0.55), 0 10px 18px rgba(59, 130, 246, 0.24);
font-size: 40px;
font-weight: 800;
letter-spacing: 0.3px;
}
.search-btn svg {
width: 42px;
height: 42px;
stroke: #ffffff;
stroke-width: 3;
fill: none;
}
/* Ideas section */
.ideas {
position: absolute;
left: 40px;
top: 1210px;
width: 1000px;
}
.ideas-title {
font-size: 36px;
font-weight: 800;
color: #305271;
margin-bottom: 26px;
}
.ideas-row {
display: flex;
gap: 30px;
}
.trip-card {
width: 485px;
position: relative;
}
.trip-image {
width: 485px;
height: 480px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 40px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 26px;
text-align: center;
padding: 12px;
box-sizing: border-box;
}
.trip-label {
position: absolute;
left: 20px;
bottom: -10px;
background: #ffffff;
border-radius: 32px;
padding: 22px 26px;
width: 420px;
box-shadow: 0 8px 16px rgba(26, 54, 92, 0.12);
}
.trip-city {
font-size: 28px;
color: #7D90A6;
margin-bottom: 4px;
font-weight: 700;
}
.trip-name {
font-size: 40px;
font-weight: 800;
color: #1B2E48;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 200px;
background: #ffffff;
border-top: 1px solid #E4E9EE;
display: flex;
align-items: center;
justify-content: space-around;
box-sizing: border-box;
padding-bottom: 28px;
}
.nav-item {
width: 220px;
text-align: center;
color: #6B829A;
}
.nav-item .icon {
margin: 0 auto 12px;
width: 54px;
height: 54px;
}
.nav-item svg {
width: 54px;
height: 54px;
stroke: #6B829A;
stroke-width: 2.5;
fill: none;
}
.nav-item.active svg {
stroke: #3078F7;
}
.nav-item .label {
font-size: 26px;
font-weight: 800;
letter-spacing: 0.2px;
}
.nav-item.active .label {
color: #3078F7;
}
.home-indicator {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%);
width: 420px;
height: 12px;
background: #0A0A0A;
border-radius: 8px;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">2:51</div>
<div class="status-right">
<div class="status-icon">
<svg viewBox="0 0 24 24">
<path d="M3 5h18v14H3z"></path>
<path d="M3 5l9 8 9-8"></path>
</svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24">
<path d="M4 6h16v10H9l-5 4V6z"></path>
</svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="12" rx="2"></rect>
<path d="M8 19h8"></path>
</svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24">
<path d="M3 10c4-4 14-4 18 0"></path>
<path d="M6 13c3-3 9-3 12 0"></path>
<path d="M9 16c2-2 4-2 6 0"></path>
</svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="7" width="16" height="10" rx="2"></rect>
<rect x="20" y="10" width="2" height="4" rx="1"></rect>
</svg>
</div>
</div>
</div>
<!-- Main card -->
<div class="search-card">
<div class="brand-mark">
<svg viewBox="0 0 48 48" width="42" height="42">
<path d="M12 24c6 6 18 6 24 0" stroke="#D28824" stroke-width="4" stroke-linecap="round" fill="none"></path>
<circle cx="18" cy="16" r="2.5" fill="#D28824"></circle>
<circle cx="30" cy="16" r="2.5" fill="#D28824"></circle>
</svg>
</div>
<div class="card-title">What are your travel plans?</div>
<div class="field">
<div class="field-label">From</div>
<div class="field-value">Brussels City Center - Midi Train station, …</div>
<div class="swap-chip" aria-hidden="true">
<svg viewBox="0 0 24 24">
<path d="M8 5v8M5 8l3-3 3 3"></path>
<path d="M16 19V11M19 16l-3 3-3-3"></path>
</svg>
</div>
</div>
<div class="field">
<div class="field-label">To</div>
<div class="field-value">Antwerp, <span class="field-subtle">Antwerp, Belgium</span></div>
</div>
<div class="row">
<div class="field-half">
<div class="field-label">Date</div>
<div class="field-value">Tue, Nov 14</div>
</div>
<div class="field-half">
<div class="field-label">&nbsp;</div>
<div class="field-value"><span class="field-subtle">Return</span></div>
<div class="right-plus">+</div>
</div>
</div>
<div class="field">
<div class="field-label">Passengers</div>
<div class="field-value">1 Adult</div>
</div>
<div class="search-btn">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7"></circle>
<path d="M20 20l-4-4"></path>
</svg>
Search
</div>
</div>
<!-- Ideas section -->
<div class="ideas">
<div class="ideas-title">Ideas for your next trip</div>
<div class="ideas-row">
<div class="trip-card">
<div class="trip-image">[IMG: Statue of Liberty with cloudy sky]</div>
<div class="trip-label">
<div class="trip-city">Boston</div>
<div class="trip-name">New York</div>
</div>
</div>
<div class="trip-card">
<div class="trip-image">[IMG: Neon diner sign at night]</div>
<div class="trip-label">
<div class="trip-city">Miami</div>
<div class="trip-name">Orlando</div>
</div>
</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"></circle>
<path d="M20 20l-4-4"></path>
</svg>
</div>
<div class="label">SEARCH</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="6" y="4" width="12" height="16" rx="2"></rect>
<path d="M9 8h6M9 12h6M9 16h6"></path>
</svg>
</div>
<div class="label">TRIPS</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 17v-2"></path>
<path d="M9.5 9.5a3.5 3.5 0 0 1 5 3.2"></path>
</svg>
</div>
<div class="label">HELP</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 20c0-4 4-6 8-6s8 2 8 6"></path>
</svg>
</div>
<div class="label">PROFILE</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>