AndroidCode / code /1007 /1007_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Train Fare Selection</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif; }
#render-target {
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#ffffff;
}
/* Header */
.app-header {
background:#142e6f; color:#fff;
height:360px; padding:36px 40px 24px 40px;
box-sizing:border-box;
}
.status-row {
display:flex; justify-content:space-between; align-items:center;
font-weight:600; font-size:40px; opacity:0.95;
}
.status-icons { display:flex; align-items:center; gap:22px; }
.title-row {
margin-top:36px; display:flex; align-items:flex-start; justify-content:space-between;
}
.title-left { display:flex; gap:22px; align-items:flex-start; }
.title-text h1 {
margin:0; font-size:56px; line-height:1.2; letter-spacing:0.2px;
}
.title-text .sub {
margin-top:6px; font-size:32px; opacity:0.85; font-weight:500;
}
/* Content */
.content { padding:32px 36px 0 36px; }
.cards-row { display:flex; gap:28px; }
.feature-card {
flex:1; min-height:380px; border-radius:24px; padding:28px;
box-sizing:border-box;
border:2px solid #b9c9ea; background:#eaf2ff; color:#3f5f9a;
}
.muted-card {
flex:1; min-height:380px; border-radius:24px; padding:28px;
box-sizing:border-box;
border:2px solid #e2e6f2; background:#f5f7fb; color:#c7cede;
display:flex; align-items:center; justify-content:center; text-align:center; font-size:38px;
}
.feat-item { display:flex; align-items:center; gap:18px; margin:18px 0; font-size:38px; }
.price-note { margin-top:18px; font-weight:800; font-size:44px; color:#2b5bb2; }
.section-title {
color:#122a5f; font-weight:800; font-size:48px; margin:36px 0 16px 8px;
}
.desc { color:#6a7794; font-size:38px; line-height:1.5; margin:0 8px 28px 8px; }
.divider { height:2px; background:#e6ebf5; margin:26px 0; }
.fare-row { display:flex; gap:28px; padding:6px 8px 0 8px; }
.fare-card {
flex:1; min-height:240px; border-radius:24px; border:2px solid #d6e1f3; background:#ffffff;
padding:26px; box-sizing:border-box;
}
.fare-card.selected { background:#eaf2ff; border-color:#9db7ea; }
.fare-title { color:#3b66b8; font-weight:800; font-size:44px; }
.fare-price { color:#2b5bb2; font-weight:800; font-size:44px; margin-top:26px; }
.terms { padding:10px 8px; }
.terms h3 { margin:8px 0 8px 0; color:#122a5f; font-size:44px; }
.terms p { margin:0; color:#5d6e90; font-size:36px; line-height:1.45; }
.totals {
margin-top:14px; border-top:2px solid #e6ebf5; border-bottom:2px solid #e6ebf5;
padding:22px 8px;
}
.row { display:flex; justify-content:space-between; align-items:center; padding:18px 0; }
.row .label { color:#586a8e; font-size:40px; }
.row .amount { color:#2a2e4b; font-size:40px; }
.row.total .label { color:#122a5f; font-weight:800; }
.row.total .amount { color:#122a5f; font-weight:900; font-size:48px; }
.cta-area { padding:26px 28px 0 28px; }
.cta-note { color:#6a7794; font-size:34px; margin:8px 10px 18px 10px; }
.cta-btn {
width:100%; height:128px; background:#f36a6a; color:#fff; border-radius:28px;
display:flex; align-items:center; justify-content:center; font-size:46px; font-weight:800;
box-shadow:0 8px 16px rgba(243,106,106,0.25);
}
/* Bottom gesture pill and nav background */
.bottom-area {
position:absolute; left:0; right:0; bottom:0; height:140px; background:#0e224f;
}
.gesture-pill {
position:absolute; left:50%; transform:translateX(-50%);
bottom:78px; width:280px; height:14px; background:#e9e9ee; border-radius:14px; opacity:0.9;
}
/* Simple SVG icon style */
.icon { width:40px; height:40px; display:inline-block; }
.icon-lg { width:56px; height:56px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="app-header">
<div class="status-row">
<div>6:14</div>
<div class="status-icons">
<!-- Simple status placeholders -->
<svg class="icon" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="3" fill="#ffffff"/></svg>
<svg class="icon" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="3" fill="#ffffff"/></svg>
<svg class="icon" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="3" fill="#ffffff"/></svg>
<svg class="icon" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="3" fill="#ffffff"/></svg>
<svg class="icon" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="2" fill="#ffffff"/><circle cx="18" cy="12" r="2" fill="#ffffff"/></svg>
<!-- WiFi -->
<svg class="icon" viewBox="0 0 24 24" stroke="#fff" stroke-width="2" fill="none">
<path d="M2 8c6-6 14-6 20 0" stroke-linecap="round"/>
<path d="M5 11c4-4 10-4 14 0" stroke-linecap="round"/>
<path d="M8 14c3-3 5-3 8 0" stroke-linecap="round"/>
<circle cx="12" cy="18" r="1.6" fill="#fff"/>
</svg>
<!-- Battery -->
<svg class="icon" viewBox="0 0 28 24" fill="none" stroke="#fff" stroke-width="2">
<rect x="2" y="5" width="20" height="14" rx="2"></rect>
<rect x="22.5" y="9" width="3" height="6" rx="1" fill="#fff"></rect>
<rect x="4" y="7" width="14" height="10" fill="#fff" stroke="none"></rect>
</svg>
</div>
</div>
<div class="title-row">
<div class="title-left">
<!-- Back arrow -->
<svg class="icon-lg" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2.8">
<path d="M15 19L8 12l7-7" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="title-text">
<h1>Toronto, ON › Rice Lak...</h1>
<div class="sub">Sun, Oct 22, 3 passengers</div>
</div>
</div>
<!-- Share icon -->
<svg class="icon-lg" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2.2">
<circle cx="18" cy="5" r="3"></circle>
<circle cx="6" cy="12" r="3"></circle>
<circle cx="18" cy="19" r="3"></circle>
<path d="M8.7 11l6-3.2M8.7 13l6 3.2"/>
</svg>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="cards-row">
<div class="feature-card">
<div class="feat-item">
<!-- WiFi icon -->
<svg class="icon" viewBox="0 0 24 24" stroke="#3f5f9a" stroke-width="2" fill="none">
<path d="M2 8c6-6 14-6 20 0" stroke-linecap="round"/>
<path d="M5 11c4-4 10-4 14 0" stroke-linecap="round"/>
<circle cx="12" cy="16" r="1.6" fill="#3f5f9a"/>
</svg>
<span>Free Wi‑Fi</span>
</div>
<div class="feat-item">
<!-- Plug icon -->
<svg class="icon" viewBox="0 0 24 24" stroke="#3f5f9a" stroke-width="2" fill="none">
<path d="M9 3v6M15 3v6" stroke-linecap="round"/>
<path d="M6 9h12v3a6 6 0 0 1-12 0V9z"/>
</svg>
<span>Power plugs</span>
</div>
<div class="feat-item">
<!-- Fork & knife -->
<svg class="icon" viewBox="0 0 24 24" stroke="#3f5f9a" stroke-width="2" fill="none">
<path d="M6 3v7M10 3v7M8 3v18" stroke-linecap="round"/>
<path d="M16 3h2v9a3 3 0 0 1-3 3h-1" stroke-linecap="round"/>
</svg>
<span>Food available</span>
</div>
<div class="feat-item">
<!-- Seat icon -->
<svg class="icon" viewBox="0 0 24 24" stroke="#3f5f9a" stroke-width="2" fill="none">
<rect x="4" y="4" width="8" height="8" rx="1"></rect>
<path d="M14 8h4a2 2 0 0 1 2 2v7H6" stroke-linecap="round"/>
</svg>
<span>Extra legroom</span>
</div>
<div class="price-note">+$0</div>
</div>
<div class="muted-card">
There is only 1 class<br/>available for this journey
</div>
</div>
<div class="section-title">You also get</div>
<p class="desc">
Large reclinable seats, wifi on-board, at seat power outlet & snack and bar services available.
</p>
<div class="divider"></div>
<div class="section-title">Select your fare</div>
<div class="fare-row">
<div class="fare-card selected">
<div class="fare-title">Escape</div>
<div class="fare-price">+$0</div>
</div>
<div class="fare-card">
<div class="fare-title" style="color:#697b9c;">Economy</div>
<div class="fare-price">+$34.04</div>
</div>
</div>
<div class="terms">
<h3>Fare terms</h3>
<p>
Escape<br/>
Refundable & exchangeable prior to departure for a service charge (50% of the fare price)
</p>
</div>
<div class="divider"></div>
<div class="totals">
<div class="row">
<div class="label">Tickets (3 passengers)</div>
<div class="amount">$628.44</div>
</div>
<div class="row total">
<div class="label">Total (taxes included)</div>
<div class="amount">$628.44</div>
</div>
</div>
<div class="cta-area">
<div class="cta-note">One-way ticket for 3 passengers</div>
<div class="cta-btn">Go to VIA Rail</div>
</div>
</div>
<!-- Bottom area -->
<div class="gesture-pill"></div>
<div class="bottom-area"></div>
</div>
</body>
</html>