AndroidCode / code /10159 /10159_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.67 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: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
color: #26364D;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #DDF0F7;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 140px;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
box-sizing: border-box;
}
.status-left {
font-size: 38px;
letter-spacing: 0.5px;
color: #2F3D56;
}
.status-right {
display: flex;
gap: 28px;
align-items: center;
}
.icon {
width: 44px;
height: 44px;
}
/* Main card */
.main-card {
position: absolute;
top: 160px;
left: 40px;
width: 1000px;
background: #FFFFFF;
border-radius: 56px;
box-shadow: 0 10px 30px rgba(31, 60, 85, 0.14);
padding: 54px 48px 38px 48px;
box-sizing: border-box;
}
.logo-mark {
width: 72px;
height: 72px;
background: #F6B62C;
border-radius: 16px;
margin: 0 auto 28px;
position: relative;
}
.logo-mark::after {
content: '';
position: absolute;
left: 18px;
top: 22px;
width: 36px;
height: 20px;
border-radius: 20px 20px 0 0;
border: 6px solid rgba(255,255,255,0.9);
border-bottom: none;
}
.card-title {
text-align: center;
font-weight: 800;
font-size: 64px;
line-height: 74px;
margin-bottom: 48px;
color: #1F344F;
}
.field {
background: #EEF4F7;
border-radius: 28px;
padding: 26px 32px;
margin-bottom: 26px;
position: relative;
}
.field-label {
font-size: 32px;
color: #6D819C;
margin-bottom: 10px;
}
.field-value {
font-weight: 800;
font-size: 44px;
color: #2A3E5A;
}
.field-placeholder {
font-weight: 600;
font-size: 44px;
color: #94A6BB;
}
.swap-bubble {
position: absolute;
right: 16px;
top: 16px;
width: 78px;
height: 78px;
background: #FFFFFF;
border-radius: 22px;
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
display: flex;
align-items: center;
justify-content: center;
}
.dual-row {
display: flex;
gap: 28px;
margin-top: 6px;
margin-bottom: 26px;
}
.dual-row .field {
flex: 1;
margin: 0;
min-height: 160px;
}
.sub-label {
font-size: 34px;
color: #6D819C;
}
.sub-link {
color: #3A73B5;
font-weight: 700;
}
.search-bar {
margin-top: 14px;
background: linear-gradient(180deg, #9ED1FF 0%, #78B9F4 100%);
border-radius: 44px;
height: 140px;
display: flex;
align-items: center;
justify-content: center;
color: #EAF6FF;
font-weight: 800;
font-size: 48px;
letter-spacing: 0.5px;
}
.search-bar svg {
margin-right: 20px;
width: 56px;
height: 56px;
opacity: 0.9;
}
/* Ideas section */
.ideas {
position: absolute;
left: 40px;
top: 1200px;
width: 1000px;
}
.ideas-title {
font-weight: 800;
font-size: 54px;
color: #2A3E5A;
margin-bottom: 34px;
}
.cards-row {
display: flex;
gap: 32px;
}
.idea-card {
width: 484px;
border-radius: 40px;
overflow: hidden;
position: relative;
background: #FFFFFF;
box-shadow: 0 12px 26px rgba(31, 60, 85, 0.12);
}
.idea-image {
width: 100%;
height: 540px;
background: #E0E0E0;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-weight: 700;
font-size: 34px;
}
.idea-label {
position: absolute;
left: 24px;
bottom: 24px;
right: 24px;
background: #FFFFFF;
border-radius: 34px;
padding: 26px 28px;
box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.idea-sub {
font-size: 34px;
color: #6D819C;
margin-bottom: 6px;
}
.idea-main {
font-size: 48px;
font-weight: 800;
color: #1F344F;
}
/* Bottom nav */
.bottom-nav {
position: absolute;
left: 0;
bottom: 140px;
width: 1080px;
height: 210px;
background: #FFFFFF;
border-top-left-radius: 36px;
border-top-right-radius: 36px;
box-shadow: 0 -8px 24px rgba(31,60,85,0.12);
display: flex;
align-items: center;
justify-content: space-around;
padding: 0 40px;
box-sizing: border-box;
}
.nav-item {
text-align: center;
color: #7A8CA8;
}
.nav-item .icon {
width: 58px;
height: 58px;
margin-bottom: 16px;
}
.nav-label {
font-size: 32px;
font-weight: 800;
letter-spacing: 0.4px;
}
.nav-item.active {
color: #3A73B5;
}
/* Home indicator */
.home-indicator {
position: absolute;
left: 340px;
bottom: 60px;
width: 400px;
height: 14px;
background: #000000;
opacity: 0.12;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">2:46</div>
<div class="status-right">
<!-- simple indicators -->
<svg class="icon" viewBox="0 0 24 24">
<path fill="#5B6D86" d="M3 17h18v2H3zM4 6h16l2 3H2z"/>
</svg>
<svg class="icon" viewBox="0 0 24 24">
<rect x="3" y="7" width="18" height="10" rx="2" ry="2" fill="#5B6D86"/>
<rect x="21" y="10" width="2" height="4" fill="#5B6D86"/>
</svg>
</div>
</div>
<!-- Main card -->
<div class="main-card">
<div class="logo-mark"></div>
<div class="card-title">What are your travel plans?</div>
<div class="field">
<div class="field-label">From</div>
<div class="field-placeholder">Leaving from...</div>
<div class="swap-bubble">
<svg class="icon" viewBox="0 0 24 24">
<path d="M7 4l4 4-4 4M17 20l-4-4 4-4" stroke="#5B6D86" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="field">
<div class="field-label">To</div>
<div class="field-value">Gajnice Train Station, <span style="color:#6D819C; font-weight:800;">Zagreb</span></div>
</div>
<div class="dual-row">
<div class="field">
<div class="sub-label">Date • <span class="sub-link">Tomorrow</span></div>
<div class="field-value" style="margin-top:10px;">Fri, Nov 10</div>
</div>
<div class="field" style="display:flex; align-items:center; justify-content:space-between;">
<div style="display:flex; align-items:center;">
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#5B6D86" stroke-width="2" stroke-linecap="round"/>
</svg>
<div class="field-value" style="font-size:42px;">Return</div>
</div>
</div>
</div>
<div class="field">
<div class="field-label">Passengers</div>
<div class="field-value">1 Adult</div>
</div>
<div class="search-bar">
<svg viewBox="0 0 24 24">
<circle cx="10.5" cy="10.5" r="6.5" stroke="#EAF6FF" stroke-width="2" fill="none"/>
<path d="M16 16l5 5" stroke="#EAF6FF" stroke-width="2" stroke-linecap="round"/>
</svg>
Search
</div>
</div>
<!-- Ideas section -->
<div class="ideas">
<div class="ideas-title">Ideas for your next trip</div>
<div class="cards-row">
<div class="idea-card">
<div class="idea-image">[IMG: Statue of Liberty]</div>
<div class="idea-label">
<div class="idea-sub">Boston</div>
<div class="idea-main">New York</div>
</div>
</div>
<div class="idea-card">
<div class="idea-image">[IMG: Neon Diner Sign]</div>
<div class="idea-label">
<div class="idea-sub">Miami</div>
<div class="idea-main">Orlando</div>
</div>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#3A73B5" stroke-width="2" fill="none"/>
<path d="M16 16l5 5" stroke="#3A73B5" stroke-width="2" stroke-linecap="round"/>
</svg>
<div class="nav-label">SEARCH</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 8h12v11H6z" fill="#7A8CA8"/>
<path d="M9 8V6a3 3 0 0 1 6 0v2" stroke="#7A8CA8" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div class="nav-label">TRIPS</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#7A8CA8" stroke-width="2"/>
<path d="M12 7a3 3 0 0 0-3 3h2a1 1 0 0 1 2 0c0 1-1 1.5-2 2-1 .5-2 1.2-2 3h2c0-1 .5-1.5 1.5-2 .8-.4 2-1.2 2-3 0-2-1.7-3-3.5-3z" fill="#7A8CA8"/>
<circle cx="12" cy="17.5" r="1.2" fill="#7A8CA8"/>
</svg>
<div class="nav-label">HELP</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="#7A8CA8"/>
<path d="M4 22c0-4.4 3.6-8 8-8s8 3.6 8 8" fill="none" stroke="#7A8CA8" stroke-width="2" stroke-linecap="round"/>
</svg>
<div class="nav-label">PROFILE</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>