AndroidCode / code /10041 /10041_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Fare Selection UI</title>
<style>
body{ margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target{
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#ffffff; border-radius:24px;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
color:#222;
}
/* Header */
.header{
position:absolute; left:0; top:0; width:100%; height:280px;
background:#0ea7af;
}
.header .back{
position:absolute; left:36px; top:140px; width:72px; height:72px;
}
.header .price-chip{
position:absolute; right:36px; top:120px;
display:flex; align-items:center; gap:18px;
background:#ffe100; color:#222; font-weight:700;
padding:22px 28px; border-radius:40px; box-shadow:0 3px 0 rgba(0,0,0,0.15);
}
.chip-icon{ width:40px; height:40px; }
.chip-text{ font-size:36px; }
.chip-caret{ width:26px; height:26px; margin-left:6px; }
/* Content area */
.content{
position:absolute; left:0; top:280px; right:0; bottom:0;
background:#f2f5f6;
}
/* Fare cards row */
.fare-row{
margin:24px 24px 0 24px;
background:#fff; border-radius:16px;
box-shadow: 0 2px 0 rgba(0,0,0,0.06);
display:grid; grid-template-columns: 1fr 1fr 1fr;
border:1px solid #e6eaed;
}
.fare-col{
padding:34px; min-height:300px; position:relative;
border-right:1px solid #e6eaed;
}
.fare-col:last-child{ border-right:none; }
.time{
font-size:44px; font-weight:700; margin-bottom:16px;
display:flex; align-items:center; gap:22px;
}
.subtime{ font-size:34px; color:#666; }
.duration{ font-size:30px; color:#555; margin-top:14px; font-weight:700;}
.direct{ font-size:30px; color:#777; margin-top:8px; }
.price{
font-size:56px; font-weight:800; margin-top:30px;
}
.pill{
position:absolute; bottom:24px; left:34px;
background:#e8f3e8; color:#4e8c55; font-weight:700;
border-radius:12px; padding:12px 18px; font-size:28px; border:1px solid #cfe1cf;
}
.pill.gray{
background:#e7eef2; color:#56707c; border-color:#cdd8de;
}
.not-available{
font-size:44px; color:#9aa3a8; font-weight:700; margin-top:40px;
}
.selected-bar{
position:absolute; top:0; left:0; right:0; height:8px; background:#0ea7af;
border-top-left-radius:16px; border-top-right-radius:16px;
}
/* Fare conditions */
.section{
margin:24px; background:#fff; border-radius:16px; padding:34px;
box-shadow: 0 2px 0 rgba(0,0,0,0.06);
border:1px solid #e6eaed;
}
.section h2{ font-size:44px; margin:0 0 20px 0; }
.section p{ font-size:32px; line-height:1.5; color:#333; margin:0 0 14px 0; }
.price-summary{
margin-top:22px;
display:flex; justify-content:space-between; align-items:flex-end;
}
.price-summary .left{ font-size:32px; color:#333; }
.price-summary .right{ text-align:right; }
.price-summary .row{ font-size:36px; font-weight:700; margin-bottom:6px; }
.price-summary .total{ font-size:44px; font-weight:800; }
.select-btn{
margin:28px 24px 12px 24px;
background:#ffe100; color:#222; font-weight:800; font-size:44px; text-align:center;
padding:34px 0; border-radius:18px; box-shadow: 0 4px 0 rgba(0,0,0,0.12);
letter-spacing:2px;
}
/* Standard Premier includes */
.includes h3{ font-size:44px; margin:0 0 26px 0; }
.bullet{ display:flex; align-items:center; gap:22px; margin:18px 0; }
.bullet .icon{ width:58px; height:58px; }
.bullet .text{ font-size:34px; color:#333; }
/* Bottom nav */
.bottom-nav{
position:absolute; left:0; bottom:0; width:100%; height:190px;
background:#ffffff; border-top:1px solid #e6eaed;
display:flex; justify-content:space-around; align-items:center;
}
.nav-item{ display:flex; flex-direction:column; align-items:center; color:#0ea7af; }
.nav-item svg{ width:64px; height:64px; }
.nav-item span{ margin-top:10px; font-size:28px; color:#0ea7af; }
/* Small helper colors */
.muted{ color:#7a8388; }
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<!-- Back arrow -->
<svg class="back" viewBox="0 0 48 48">
<path d="M30 10 L14 24 L30 38" fill="none" stroke="#ffffff" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<!-- Price chip with suitcase icon and caret -->
<div class="price-chip">
<svg class="chip-icon" viewBox="0 0 48 48">
<rect x="10" y="16" width="28" height="22" rx="3" ry="3" fill="#1a1a1a"/>
<rect x="18" y="10" width="12" height="6" rx="3" fill="#1a1a1a"/>
</svg>
<div class="chip-text">$0.00</div>
<svg class="chip-caret" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" fill="none" stroke="#1a1a1a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="content">
<!-- Fare options row -->
<div class="fare-row">
<div class="fare-col">
<div class="time">
<span>11:31</span>
<svg viewBox="0 0 48 24" width="80" height="40">
<path d="M4 12 H36" stroke="#0ea7af" stroke-width="4" stroke-linecap="round"/>
<path d="M36 4 L44 12 L36 20" fill="#0ea7af"/>
</svg>
</div>
<div class="subtime">12:05</div>
<div class="duration">0hr 34min</div>
<div class="direct">Direct</div>
</div>
<div class="fare-col">
<div class="selected-bar"></div>
<div class="price">$35</div>
<div class="pill">Lowest fare</div>
</div>
<div class="fare-col">
<div class="price">$56</div>
<div class="pill gray">Upgrade $21</div>
</div>
</div>
<!-- Fare conditions -->
<div class="section">
<h2>Fare conditions</h2>
<p>Exchange your tickets fee-free up to 7 days before travel (after this, a £30 fee per person per journey applies). Just pay any difference in fare. Non-refundable.</p>
<div class="price-summary">
<div class="left">1 x adult</div>
<div class="right">
<div class="row">$56.00</div>
<div class="total">Total $56.00</div>
</div>
</div>
</div>
<!-- Select button -->
<div class="select-btn">SELECT</div>
<!-- Standard Premier includes -->
<div class="section includes">
<h3>Standard Premier includes</h3>
<div class="bullet">
<svg class="icon" viewBox="0 0 64 64">
<rect x="10" y="18" width="36" height="28" rx="6" fill="#0ea7af"/>
<rect x="24" y="10" width="14" height="8" rx="4" fill="#0ea7af"/>
<circle cx="52" cy="40" r="6" fill="#ffd54f"/>
</svg>
<div class="text">2 pieces of luggage + 1 hand luggage</div>
</div>
<div class="bullet">
<svg class="icon" viewBox="0 0 64 64">
<rect x="8" y="18" width="44" height="26" rx="6" fill="#0ea7af"/>
<circle cx="22" cy="31" r="5" fill="#ffffff"/>
<polygon points="36,24 42,31 36,38" fill="#ffffff"/>
</svg>
<div class="text">Unlimited ticket exchanges up to 7 days before departure*</div>
</div>
<div class="bullet">
<svg class="icon" viewBox="0 0 64 64">
<path d="M18 34 h28 a8 8 0 0 1 8 8 v0 H10 v0 a8 8 0 0 1 8 -8" fill="#7cc3ca"/>
<rect x="24" y="22" width="16" height="10" rx="4" fill="#7cc3ca"/>
</svg>
<div class="text">A light meal and drinks served at your seat</div>
</div>
<div class="bullet">
<svg class="icon" viewBox="0 0 64 64">
<rect x="22" y="16" width="24" height="12" rx="4" fill="#0ea7af"/>
<rect x="16" y="30" width="36" height="16" rx="6" fill="#0ea7af"/>
<circle cx="24" cy="50" r="4" fill="#0ea7af"/>
<circle cx="44" cy="50" r="4" fill="#0ea7af"/>
</svg>
<div class="text">Extra spacious seats</div>
</div>
</div>
<!-- Lower divider resembling next card header -->
<div style="margin:0 24px 0 24px; height:12px; background:#0ea7af; border-radius:8px;"></div>
</div>
<!-- Bottom navigation bar -->
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 64 64">
<polygon points="32,12 10,28 10,54 26,54 26,38 38,38 38,54 54,54 54,28" fill="#0ea7af"/>
</svg>
<span>Home</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 64 64">
<rect x="12" y="18" width="40" height="24" rx="4" fill="#0ea7af"/>
<circle cx="22" cy="46" r="4" fill="#0ea7af"/>
<circle cx="42" cy="46" r="4" fill="#0ea7af"/>
</svg>
<span>Book</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 64 64">
<rect x="12" y="18" width="40" height="26" rx="6" fill="#0ea7af"/>
<circle cx="24" cy="31" r="4" fill="#ffffff"/>
<circle cx="32" cy="31" r="4" fill="#ffffff"/>
<circle cx="40" cy="31" r="4" fill="#ffffff"/>
</svg>
<span>Your bookings</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 64 64">
<circle cx="16" cy="32" r="6" fill="#0ea7af"/>
<circle cx="32" cy="32" r="6" fill="#0ea7af"/>
<circle cx="48" cy="32" r="6" fill="#0ea7af"/>
</svg>
<span>More</span>
</div>
</div>
</div>
</body>
</html>