AndroidCode / code /10159 /10159_13.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
11.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Select Trip UI</title>
<style>
body { margin:0; padding:0; background:transparent; }
#render-target {
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#ECF6FB; color:#1E3D53; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
}
/* Top header */
.topbar {
height:180px; background:#E7F2F7; display:flex; align-items:center;
padding:32px 40px; box-sizing:border-box;
}
.title { font-size:52px; font-weight:700; margin-left:18px; }
.righticons { margin-left:auto; display:flex; align-items:center; gap:22px; }
.currency-pill {
display:flex; align-items:center; gap:12px; font-size:40px; color:#324B5E;
}
.flag {
font-size:42px; line-height:42px;
}
.icon-btn {
width:62px; height:62px; border-radius:16px; display:flex; align-items:center; justify-content:center;
}
.x-icon svg { width:42px; height:42px; }
.x-icon line { stroke:#5B7C90; stroke-width:6; stroke-linecap:round; }
/* Trip summary card */
.trip-card {
width:1000px; margin:26px auto 18px; background:#FFF; border-radius:48px;
box-shadow:0 8px 20px rgba(24,80,121,0.12); padding:38px 36px; box-sizing:border-box;
}
.trip-title { text-align:center; font-weight:700; font-size:40px; line-height:1.25; color:#233D55; }
.trip-meta { display:flex; justify-content:center; gap:40px; margin-top:24px; color:#4E6C82; font-size:34px; }
.trip-meta .meta { display:flex; align-items:center; gap:14px; }
.meta svg { width:40px; height:40px; }
/* Day selector */
.days { display:flex; justify-content:space-between; align-items:center; margin-top:34px; padding:0 12px; }
.day {
width:150px; text-align:center; color:#7A95A8; font-size:30px; padding:8px 0;
border-right:1px solid #E5EDF2;
}
.day:last-child { border-right:none; }
.day .num { display:block; margin-top:8px; font-weight:700; font-size:38px; }
.day.selected {
background:#D9ECFF; border-radius:28px; color:#1676D1; padding:18px 0;
box-shadow: inset 0 0 0 1px rgba(22,118,209,0.08);
}
/* Info card */
.info-card {
width:1000px; margin:26px auto; background:#DDEEF8; border-radius:40px; padding:34px 36px;
box-sizing:border-box; color:#2B4A63; position:relative;
}
.info-illustration {
width:180px; height:120px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius:14px;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:28px; margin:0 auto 18px;
}
.info-card h3 { text-align:center; font-size:40px; margin:12px 0 8px; font-weight:800; }
.info-card p { text-align:center; font-size:32px; color:#5F7F93; margin:0; }
/* Ticket cards */
.ticket {
width:1000px; margin:24px auto; background:#FFF; border-radius:36px;
box-shadow:0 8px 16px rgba(21,77,115,0.12); padding:34px; box-sizing:border-box; position:relative;
}
.ticket-head { display:flex; align-items:center; }
.brand {
font-weight:900; font-size:56px; letter-spacing:1px;
color:#6FD000; /* FLIXBUS green */
}
.brand .accent { color:#FFA800; }
.qr {
margin-left:auto; width:56px; height:56px; border:2px solid #BFD6E6; border-radius:12px; position:relative;
}
.qr::before, .qr::after {
content:""; position:absolute; width:16px; height:16px; border:2px solid #BFD6E6; top:6px; left:6px;
}
.qr::after { left:auto; right:6px; bottom:auto; }
.ticket-body { display:flex; align-items:flex-start; gap:28px; margin-top:18px; }
.col { flex:1; }
.time { font-size:44px; font-weight:800; color:#233D55; }
.place { font-size:38px; margin-top:6px; color:#2C4962; }
.sub { font-size:28px; letter-spacing:1px; color:#8AA5B8; margin-top:4px; text-transform:uppercase; }
.arrow {
width:160px; display:flex; align-items:center; justify-content:center; margin-top:28px;
}
.arrow svg { width:140px; height:20px; }
.ticket-footer { display:flex; align-items:center; margin-top:26px; }
.footer-icons { display:flex; align-items:center; gap:22px; color:#3D5D74; font-size:34px; }
.pricebtn {
margin-left:auto; padding:18px 28px; border:2px solid #3EA3FF; color:#1676D1;
border-radius:24px; font-size:36px; font-weight:700; display:flex; align-items:center; gap:12px; background:#F7FBFF;
}
/* Small chip buttons overlapping second card */
.chip {
position:absolute; left:30px; top:120px; padding:22px 32px; border-radius:30px; background:#FFF;
box-shadow:0 10px 22px rgba(21,77,115,0.16); display:flex; align-items:center; gap:16px; color:#385B72; font-size:34px;
}
.chip + .chip { top:210px; }
.chip svg { width:38px; height:38px; }
/* Home indicator */
.home-indicator {
position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
width:320px; height:10px; background:#0C0C0C; border-radius:10px; opacity:0.14;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="topbar">
<div class="icon-btn x-icon">
<svg viewBox="0 0 24 24">
<line x1="4" y1="4" x2="20" y2="20"></line>
<line x1="20" y1="4" x2="4" y2="20"></line>
</svg>
</div>
<div class="title">Select trip</div>
<div class="righticons">
<div class="currency-pill"><span class="flag">🇺🇸</span><span>$</span></div>
</div>
</div>
<!-- Trip summary card with day selector -->
<div class="trip-card">
<div class="trip-title">Brussels City Center - Midi<br>Train station → Antwerp Train station</div>
<div class="trip-meta">
<span class="meta">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="3" ry="3" fill="none" stroke="#5B7C90" stroke-width="2"></rect>
<line x1="7" y1="3" x2="7" y2="8" stroke="#5B7C90" stroke-width="2"></line>
<line x1="17" y1="3" x2="17" y2="8" stroke="#5B7C90" stroke-width="2"></line>
</svg> Nov 14
</span>
<span class="meta">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="none" stroke="#5B7C90" stroke-width="2"></circle>
<path d="M4 21c2-5 14-5 16 0" fill="none" stroke="#5B7C90" stroke-width="2"></path>
</svg> 1 passenger
</span>
</div>
<div class="days">
<div class="day">
SUN<span class="num">12</span>
</div>
<div class="day">
MON<span class="num">13</span>
</div>
<div class="day selected">
TUE<span class="num">14</span>
</div>
<div class="day">
WED<span class="num">15</span>
</div>
<div class="day">
THU<span class="num">16</span>
</div>
<div class="day">
FRI<span class="num">17</span>
</div>
</div>
</div>
<!-- No results message -->
<div class="info-card">
<div class="info-illustration">[IMG: No trips illustration]</div>
<h3>Sorry, we couldn't find any departures for this trip.</h3>
<p>Here are alternatives we could find:</p>
</div>
<!-- First ticket -->
<div class="ticket">
<div class="ticket-head">
<div class="brand">FLIX<span class="accent">BUS</span></div>
<div class="qr"></div>
</div>
<div class="ticket-body">
<div class="col">
<div class="time">1:55 AM</div>
<div class="place">Midi</div>
<div class="sub">BRUSSELS</div>
</div>
<div class="arrow">
<svg viewBox="0 0 120 20">
<line x1="4" y1="10" x2="100" y2="10" stroke="#AFC4D4" stroke-width="3" stroke-dasharray="8 8"></line>
<polygon points="100,5 118,10 100,15" fill="#AFC4D4"></polygon>
</svg>
</div>
<div class="col">
<div class="time">3:15 AM</div>
<div class="place">Antwerp Rooseveltplaats</div>
<div class="sub">ANTWERP</div>
</div>
</div>
<div class="ticket-footer">
<div class="footer-icons">
<span>
<svg viewBox="0 0 24 24" width="38" height="38">
<rect x="3" y="7" width="16" height="10" rx="2" ry="2" fill="none" stroke="#5B7C90" stroke-width="2"></rect>
<circle cx="7" cy="19" r="2" fill="#5B7C90"></circle>
<circle cx="17" cy="19" r="2" fill="#5B7C90"></circle>
</svg> Bus
</span>
<span>
<svg viewBox="0 0 24 24" width="38" height="38">
<circle cx="12" cy="12" r="9" fill="none" stroke="#5B7C90" stroke-width="2"></circle>
<line x1="12" y1="12" x2="16" y2="14" stroke="#5B7C90" stroke-width="2"></line>
<line x1="12" y1="6" x2="12" y2="12" stroke="#5B7C90" stroke-width="2"></line>
</svg> 1h 20m
</span>
</div>
<div class="pricebtn">$4
<svg viewBox="0 0 24 24" width="34" height="34">
<path d="M7 17l10-10M14 7h6v6" fill="none" stroke="#1676D1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
</div>
<!-- Second ticket with floating chips -->
<div class="ticket">
<div class="ticket-head">
<div class="brand">FLIX<span class="accent">BUS</span></div>
<div class="qr"></div>
</div>
<div class="ticket-body">
<div class="col">
<div class="time">8:15 AM</div>
<div class="place">Brux-Nord</div>
<div class="sub">BRUSSELS</div>
</div>
<div class="arrow">
<svg viewBox="0 0 120 20">
<line x1="4" y1="10" x2="100" y2="10" stroke="#AFC4D4" stroke-width="3" stroke-dasharray="8 8"></line>
<polygon points="100,5 118,10 100,15" fill="#AFC4D4"></polygon>
</svg>
</div>
<div class="col">
<div class="time">9:15 AM</div>
<div class="place">Antwerp Rooseveltplaats</div>
<div class="sub">ANTWERP</div>
</div>
</div>
<div class="ticket-footer">
<div class="footer-icons">
<span>
<svg viewBox="0 0 24 24" width="38" height="38">
<rect x="3" y="7" width="16" height="10" rx="2" ry="2" fill="none" stroke="#5B7C90" stroke-width="2"></rect>
<circle cx="7" cy="19" r="2" fill="#5B7C90"></circle>
<circle cx="17" cy="19" r="2" fill="#5B7C90"></circle>
</svg> Bus
</span>
<span>
<svg viewBox="0 0 24 24" width="38" height="38">
<circle cx="12" cy="12" r="9" fill="none" stroke="#5B7C90" stroke-width="2"></circle>
<line x1="12" y1="12" x2="16" y2="14" stroke="#5B7C90" stroke-width="2"></line>
<line x1="12" y1="6" x2="12" y2="12" stroke="#5B7C90" stroke-width="2"></line>
</svg> 1h 00m
</span>
</div>
<div class="pricebtn">$4
<svg viewBox="0 0 24 24" width="34" height="34">
<path d="M7 17l10-10M14 7h6v6" fill="none" stroke="#1676D1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<!-- Floating chips -->
<div class="chip">
<svg viewBox="0 0 24 24">
<path d="M3 18h18M6 12h12M9 6h6" stroke="#5B7C90" stroke-width="2" stroke-linecap="round"></path>
</svg>
Filters
</div>
<div class="chip">
<svg viewBox="0 0 24 24">
<path d="M8 6l-5 6h9l-5 6" stroke="#5B7C90" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
Earliest
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>