AndroidCode / code /10159 /10159_12.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.1 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Select trip UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f3f8fb;
}
/* Status bar (approximation) */
.status-bar {
height: 90px;
display: flex;
align-items: center;
padding: 0 40px;
color: #6b7c8e;
font-size: 36px;
}
.status-bar .right {
margin-left: auto;
display: flex;
gap: 22px;
align-items: center;
}
.status-dot {
width: 26px; height: 26px; background:#6b7c8e; border-radius: 50%;
}
/* Header */
.appbar {
background: #e9f2f8;
border-bottom: 3px solid #d6e6ef;
padding: 28px 40px 40px 40px;
position: relative;
}
.appbar .title {
font-weight: 700;
font-size: 60px;
color: #24384f;
margin-left: 80px;
}
.appbar .left, .appbar .right {
position: absolute; top: 36px;
display: flex; align-items: center; gap: 20px;
}
.appbar .left { left: 30px; }
.appbar .right { right: 30px; }
.circle-btn {
width: 72px; height: 72px; border-radius: 50%;
background: #ffffff; box-shadow: 0 6px 14px rgba(0,0,0,0.06);
display: flex; justify-content: center; align-items: center;
}
.flag-tile {
width: 88px; height: 60px; border-radius: 16px;
background: #ffffff; display:flex; align-items:center; justify-content:center;
box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.flag-placeholder {
width: 70px; height: 42px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:24px; border-radius:8px;
}
.money {
width: 72px; height: 72px; border-radius: 50%; background:#ffffff;
display:flex; align-items:center; justify-content:center; font-weight:700; color:#24384f;
box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
/* Cards */
.cards { padding: 28px 32px 0 32px; }
.trip-card {
background: #ffffff;
border-radius: 42px;
box-shadow: 0 16px 24px rgba(32,57,74,0.10);
margin-bottom: 42px;
padding: 40px 44px;
}
.trip-card .route {
text-align: center;
font-size: 44px;
font-weight: 700;
color: #21374f;
line-height: 1.25;
margin-bottom: 24px;
}
.meta {
display: flex; justify-content: center; gap: 26px; align-items: center;
color: #365268;
font-size: 34px;
margin-bottom: 34px;
}
.meta .chip {
display:flex; align-items:center; gap: 14px;
}
.meta svg { width: 40px; height: 40px; }
.calendar {
display: flex; justify-content: space-between; align-items: center;
margin-top: 6px;
padding: 18px 10px 8px 10px;
}
.day {
width: 184px; text-align:center; color:#6e8196;
font-size: 32px; font-weight: 600;
}
.day .num { display:block; margin-top: 12px; font-size: 42px; font-weight: 700; color:#97a9ba; }
.day.selected {
background: #e8f1ff;
color: #1976d2;
border-radius: 36px;
padding: 26px 0;
}
.day.selected .num { color: #1976d2; }
.divider {
width: 2px; height: 80px; background:#e2e9ef; border-radius: 1px;
}
/* Skeleton blocks within cards (for the list of trips) */
.skeleton-row { display:flex; gap: 26px; margin-top: 28px; align-items: center; }
.sk {
background: #f6f9fb; border-radius: 14px; height: 56px; width: 240px;
box-shadow: inset 0 0 0 1px #e6edf3;
}
.sk.small { width: 120px; height: 46px; }
.sk.xs { width: 86px; height: 42px; }
.sk.big { width: 360px; height: 120px; border-radius: 60px; }
.sk.title { width: 520px; height: 64px; }
.arrow-dash {
display:flex; align-items:center; gap:10px; color:#c7d3dc; font-weight:700; margin: 6px 0;
}
.arrow-dash svg { width: 44px; height: 44px; }
.right-badge {
margin-left: auto;
width: 220px; height: 120px; border-radius: 60px; background:#eef5fc;
box-shadow: inset 0 0 0 1px #deebf5;
}
/* Floating action chips */
.floating {
position: relative;
margin-top: 18px;
}
.action-chip {
position: absolute;
left: 24px;
bottom: 24px;
background: #ffffff;
color: #1f344a;
border-radius: 40px;
box-shadow: 0 16px 26px rgba(34,60,80,0.18);
display: flex; align-items: center; gap: 18px;
padding: 24px 32px;
font-weight: 700; font-size: 38px;
}
.action-chip + .action-chip { bottom: -92px; }
.action-chip svg { width: 44px; height: 44px; color:#34526a; }
/* Bottom system bar */
.system-bar {
position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; background: #000;
display:flex; justify-content:center; align-items:center;
}
.home-pill { width: 220px; height: 16px; border-radius: 8px; background:#eaeaea; }
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div>2:51</div>
<div class="right">
<div class="status-dot"></div>
<div class="status-dot" style="width:28px;height:18px;border-radius:6px;"></div>
</div>
</div>
<div class="appbar">
<div class="left">
<div class="circle-btn">
<svg viewBox="0 0 24 24" width="40" height="40">
<path d="M5 5 L19 19 M19 5 L5 19" stroke="#365268" stroke-width="2.6" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="title">Select trip</div>
<div class="right">
<div class="flag-tile">
<div class="flag-placeholder">[IMG: Flag]</div>
</div>
<div class="money">$</div>
</div>
</div>
<div class="cards">
<!-- Top info card with calendar -->
<div class="trip-card">
<div class="route">Brussels City Center - Midi → Antwerp<br>Train station</div>
<div class="meta">
<div class="chip">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="3" ry="3" fill="none" stroke="#365268" stroke-width="2"/>
<path d="M7 3 v4 M17 3 v4" stroke="#365268" stroke-width="2" stroke-linecap="round"/>
</svg>
<span>Nov 14</span>
</div>
<div class="chip">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="none" stroke="#365268" stroke-width="2"/>
<path d="M4 21c1.5-4 6-6 8-6s6.5 2 8 6" stroke="#365268" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<span>1 passenger</span>
</div>
</div>
<div class="calendar">
<div class="day">
SUN<span class="num">12</span>
</div>
<div class="divider"></div>
<div class="day">MON<span class="num">13</span></div>
<div class="divider"></div>
<div class="day selected">TUE<span class="num">14</span></div>
<div class="divider"></div>
<div class="day">WED<span class="num">15</span></div>
<div class="divider"></div>
<div class="day">THU<span class="num">16</span></div>
<div class="divider"></div>
<div class="day">FRI<span class="num">17</span></div>
</div>
</div>
<!-- Trip result card 1 (skeleton) -->
<div class="trip-card">
<div class="skeleton-row">
<div class="sk title"></div>
<div class="right-badge"></div>
</div>
<div class="skeleton-row">
<div class="sk"></div>
<div class="arrow-dash">
<span>···</span>
<svg viewBox="0 0 24 24"><path d="M4 12h12M12 6l6 6-6 6" stroke="#c7d3dc" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="sk"></div>
</div>
<div class="skeleton-row">
<div class="sk small"></div>
<div class="sk small"></div>
<div class="sk xs"></div>
<div class="sk big" style="margin-left:auto;"></div>
</div>
</div>
<!-- Trip result card 2 (skeleton) -->
<div class="trip-card">
<div class="skeleton-row">
<div class="sk title"></div>
<div class="right-badge"></div>
</div>
<div class="skeleton-row">
<div class="sk"></div>
<div class="arrow-dash">
<span>···</span>
<svg viewBox="0 0 24 24"><path d="M4 12h12M12 6l6 6-6 6" stroke="#c7d3dc" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="sk"></div>
</div>
<div class="skeleton-row">
<div class="sk small"></div>
<div class="sk small"></div>
<div class="sk xs"></div>
<div class="sk big" style="margin-left:auto;"></div>
</div>
</div>
<!-- Trip result card 3 (skeleton with floating chips) -->
<div class="trip-card floating">
<div class="skeleton-row">
<div class="sk title"></div>
<div class="right-badge"></div>
</div>
<div class="skeleton-row">
<div class="sk"></div>
<div class="arrow-dash">
<span>···</span>
<svg viewBox="0 0 24 24"><path d="M4 12h12M12 6l6 6-6 6" stroke="#c7d3dc" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="sk"></div>
</div>
<div class="skeleton-row">
<div class="sk small"></div>
<div class="sk xs"></div>
<div class="sk small"></div>
</div>
<div class="action-chip">
<svg viewBox="0 0 24 24">
<path d="M3 5h18M7 12h10M10 19h6" stroke="#34526a" stroke-width="2" stroke-linecap="round"/>
</svg>
<span>Filters</span>
</div>
<div class="action-chip">
<svg viewBox="0 0 24 24">
<path d="M8 6l-4 4 4 4M16 18l4-4-4-4" stroke="#34526a" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>Earliest</span>
</div>
</div>
</div>
<div class="system-bar">
<div class="home-pill"></div>
</div>
</div>
</body>
</html>