AndroidCode / code /10060 /10060_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Train Search - Amsterdam to London</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #F3F3F4;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #222;
}
/* Status bar */
.status-bar {
height: 120px;
background: #ffffff;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
}
.status-left {
font-weight: 600;
font-size: 42px;
color: #444;
}
.status-icons {
display: flex;
align-items: center;
gap: 26px;
}
.dot {
width: 44px; height: 44px; background:#AFAFAF; border-radius: 10px;
}
/* Header */
.header {
background: #ffffff;
padding: 10px 40px 28px 40px;
box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.header-row {
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-top: 6px;
}
.back-btn {
position: absolute;
left: 0;
top: 0;
width: 80px; height: 80px;
display: flex; align-items: center; justify-content: center;
cursor: default;
}
.title {
font-size: 54px;
font-weight: 800;
color: #1E1E1E;
letter-spacing: 0.2px;
}
/* Dates row */
.dates {
display: flex;
align-items: center;
gap: 32px;
padding: 26px 40px 28px 40px;
background: #ffffff;
}
.date-item {
display: flex;
flex-direction: column;
align-items: center;
width: 130px;
color: #3c3c3c;
}
.date-item .day {
font-size: 38px; font-weight: 700;
}
.date-item .dow {
margin-top: 6px;
font-size: 28px; color: #9C9C9C;
}
.date-item.active {
background: #FFEFE4;
border-radius: 30px;
padding: 18px 22px;
}
.divider-vert {
width: 2px; height: 60px; background: #E4E4E4; margin-left: auto;
}
.icon-btn {
width: 84px; height: 84px; margin-left: 24px;
border-radius: 24px;
display: flex; align-items: center; justify-content: center;
border: 2px solid #E6E6E6;
}
/* Promo */
.promo {
margin: 24px 40px;
background: #ffffff;
border-radius: 28px;
}
.promo-inner {
border: 3px solid #7EB3FF;
color: #2D6CF6;
border-radius: 26px;
padding: 28px 34px;
display: flex;
align-items: center;
font-size: 36px;
font-weight: 600;
justify-content: space-between;
}
/* Card */
.card {
margin: 18px 40px 0 40px;
background: #ffffff;
border-radius: 32px;
box-shadow: 0 8px 26px rgba(0,0,0,0.06);
padding: 34px;
}
.brand {
width: 240px; height: 60px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; border-radius: 10px;
font-size: 26px;
margin-bottom: 18px;
}
.times {
display: grid;
grid-template-columns: 1fr 220px 1fr;
align-items: center;
gap: 12px;
margin: 8px 0 16px 0;
}
.time {
font-size: 64px; font-weight: 800;
}
.duration {
text-align: center;
color: #9A9A9A; font-size: 28px; font-weight: 600;
position: relative;
}
.duration:before, .duration:after {
content: "";
position: absolute; top: 50%; width: 160px; height: 2px; background: #E5E5E5;
}
.duration:before { left: -176px; }
.duration:after { right: -176px; }
.stations {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
color: #666;
font-size: 36px;
line-height: 1.25;
}
.pill {
margin-top: 28px;
display: inline-flex;
align-items: center;
gap: 12px;
background: #EEF1F4;
color: #32363A;
padding: 16px 24px;
border-radius: 999px;
font-weight: 700;
font-size: 30px;
}
.price {
float: right;
margin-top: -10px;
text-align: right;
}
.price .amount {
color: #EB6D2A;
font-size: 48px;
font-weight: 800;
}
.price .unit {
color: #9B9B9B;
font-size: 30px;
margin-left: 6px;
}
.end-text {
text-align: center;
margin: 48px 0 0;
color: #B7B7B7;
font-size: 40px;
font-weight: 700;
}
/* Bottom floating controls */
.floating-controls {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 190px;
width: 760px;
background: #ffffff;
border-radius: 100px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
padding: 26px 34px;
display: flex; align-items: center; justify-content: space-between;
font-size: 36px; font-weight: 700; color: #3a3a3a;
}
.split {
width: 2px; height: 44px; background: #E8E8E8;
}
.control {
display: flex; align-items: center; gap: 16px;
}
/* Bottom system bar */
.system-bottom {
position: absolute; bottom: 0; left: 0; right: 0;
height: 120px; background: #000;
}
.home-indicator {
position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
width: 220px; height: 10px; background: #E6E6E6; border-radius: 8px; opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">12:29</div>
<div class="status-icons">
<div style="opacity:.85;">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#9C9C9C" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="3" r="2"/>
<path d="M6 7h12v10a4 4 0 0 1-4 4H10a4 4 0 0 1-4-4V7z" fill="#C8C8C8"/>
</svg>
</div>
<svg width="44" height="44" viewBox="0 0 24 24" fill="none">
<path d="M2 18h2a8 8 0 0 1 8-8V8a10 10 0 0 0-10 10z" fill="#9C9C9C"/>
<path d="M2 14h2a12 12 0 0 1 12-12V0A14 14 0 0 0 2 14z" fill="#C1C1C1"/>
</svg>
<svg width="54" height="54" viewBox="0 0 24 24" fill="none">
<rect x="2" y="6" width="18" height="12" rx="3" stroke="#9C9C9C" stroke-width="2"/>
<rect x="20" y="9" width="2" height="6" rx="1" fill="#9C9C9C"/>
<rect x="4" y="8" width="14" height="8" rx="2" fill="#C1C1C1"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-row">
<div class="back-btn" aria-hidden="true">
<svg width="54" height="54" viewBox="0 0 24 24" fill="none">
<path d="M15 18l-6-6 6-6" stroke="#333" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Amsterdam ⇌ London</div>
</div>
<!-- Dates -->
<div class="dates">
<div class="date-item">
<div class="day">26 Oct</div>
<div class="dow">Thu</div>
</div>
<div class="date-item active">
<div class="day" style="color:#F1792D;">27 Oct</div>
<div class="dow" style="color:#D38864;">Fri</div>
</div>
<div class="date-item">
<div class="day">28 Oct</div>
<div class="dow">Sat</div>
</div>
<div class="date-item">
<div class="day">29 Oct</div>
<div class="dow">Sun</div>
</div>
<div class="date-item">
<div class="day">30 Oct</div>
<div class="dow">Mon</div>
</div>
<div class="date-item">
<div class="day">31 Oct</div>
<div class="dow">Tue</div>
</div>
<div class="divider-vert"></div>
<div class="icon-btn" aria-hidden="true">
<svg width="44" height="44" viewBox="0 0 24 24" fill="none">
<rect x="3" y="5" width="18" height="16" rx="2" stroke="#3C3C3C" stroke-width="2"/>
<path d="M8 3v4M16 3v4" stroke="#3C3C3C" stroke-width="2" stroke-linecap="round"/>
<path d="M3 10h18" stroke="#3C3C3C" stroke-width="2"/>
</svg>
</div>
</div>
</div>
<!-- Promo banner -->
<div class="promo">
<div class="promo-inner">
<div>Free 4G eSIM for your Europe train tickets!</div>
<svg width="44" height="44" viewBox="0 0 24 24" fill="none">
<path d="M9 6l6 6-6 6" stroke="#2D6CF6" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Ticket card -->
<div class="card">
<div class="brand">[IMG: eurostar logo]</div>
<div class="times">
<div class="time">07:47</div>
<div class="duration">4h 13m</div>
<div class="time" style="text-align:right;">11:00</div>
</div>
<div class="stations">
<div>
Amsterdam<br>Central
</div>
<div style="text-align:right;">
London St Pancras<br>International
</div>
</div>
<div class="pill">
<div style="width:18px;height:18px;border-radius:50%;background:#9BA9B6;"></div>
0 transfers
<svg width="26" height="26" viewBox="0 0 24 24" fill="none">
<path d="M8 10l4 4 4-4" stroke="#5F6A72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="price">
<span class="amount">US$ 402.49</span>
<span class="unit">/pax</span>
</div>
<div style="clear: both;"></div>
</div>
<div class="end-text">You've Klooked to the end</div>
<!-- Floating controls -->
<div class="floating-controls">
<div class="control">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none">
<path d="M3 4h18l-8 9v6l-2-1v-5L3 4z" stroke="#444" stroke-width="2" stroke-linejoin="round"/>
</svg>
Filters
</div>
<div class="split"></div>
<div class="control">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none">
<path d="M7 15l5 5 5-5M7 9l5-5 5 5" stroke="#444" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Sort: Time
</div>
</div>
<!-- Bottom system bar -->
<div class="system-bottom">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>