AndroidCode / code /10060 /10060_4.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>Ticket Options 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: #F3F3F3;
}
/* Status bar over header */
.header {
position: relative;
width: 100%;
height: 640px;
background: linear-gradient(180deg, #F26A22 0%, #FF9152 60%, #FFA56A 100%);
}
.status-bar {
position: absolute;
top: 28px;
left: 36px;
right: 36px;
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
font-size: 32px;
font-weight: 600;
opacity: 0.92;
}
.status-left {
display: flex;
align-items: center;
gap: 16px;
}
.status-square {
width: 34px;
height: 34px;
background: #6B3B1E;
border-radius: 6px;
}
.status-right {
display: flex;
align-items: center;
gap: 24px;
}
.status-right svg { width: 44px; height: 44px; }
.topbar {
position: absolute;
top: 110px;
left: 24px;
right: 24px;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
color: #FFFFFF;
}
.back-btn {
position: absolute;
left: 36px;
width: 64px;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
}
.top-title {
font-size: 48px;
font-weight: 700;
letter-spacing: 0.3px;
}
/* Top summary card */
.summary-card {
position: absolute;
left: 36px;
right: 36px;
bottom: -40px;
background: #FFFFFF;
border-radius: 36px;
box-shadow: 0 12px 24px rgba(0,0,0,0.08);
padding: 48px;
}
.summary-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}
.summary-title {
font-size: 42px;
font-weight: 800;
color: #1E1E1E;
margin-bottom: 16px;
}
.summary-sub {
font-size: 32px;
color: #9A9A9A;
line-height: 1.35;
}
.chevron {
width: 52px;
height: 52px;
}
/* Main content */
.content {
position: absolute;
top: 690px;
left: 24px;
right: 24px;
bottom: 180px;
padding: 24px 12px 0 12px;
overflow: hidden;
}
.section {
background: #FFFFFF;
border-radius: 36px;
padding: 42px;
box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}
.section-title {
font-size: 44px;
font-weight: 800;
color: #2D2D2D;
margin-bottom: 36px;
}
.ticket-card {
border: 2px solid #EFEFEF;
border-radius: 28px;
padding: 36px;
}
.ticket-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 18px;
}
.price-line {
font-size: 46px;
font-weight: 900;
color: #F26A22;
}
.per-pax {
font-size: 30px;
color: #8E8E8E;
margin-left: 8px;
font-weight: 600;
}
.select-btn {
background: #F26A22;
color: #FFFFFF;
font-size: 36px;
font-weight: 800;
padding: 22px 36px;
border-radius: 18px;
}
.policy-row {
display: flex;
align-items: center;
gap: 10px;
color: #9A9A9A;
font-size: 32px;
margin-bottom: 26px;
}
.dashed {
border-top: 2px dashed #E6E6E6;
margin: 14px 0 24px;
}
.bullet {
display: flex;
align-items: flex-start;
gap: 16px;
font-size: 34px;
color: #2D2D2D;
line-height: 1.4;
margin-bottom: 18px;
}
.dot {
width: 16px;
height: 16px;
background: #CFCFCF;
border-radius: 50%;
margin-top: 14px;
flex: 0 0 16px;
}
.ticket-sub {
font-size: 34px;
font-weight: 800;
color: #1E1E1E;
}
/* Bottom navigation bar mimic */
.bottom-bar {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 140px;
background: #000000;
}
.home-pill {
position: absolute;
bottom: 38px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 16px;
background: #CCCCCC;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="status-bar">
<div class="status-left">
<div>12:30</div>
<div class="status-square"></div>
</div>
<div class="status-right">
<!-- Do Not Disturb icon -->
<svg viewBox="0 0 24 24" fill="none">
<circle cx="12" cy="12" r="10" stroke="#FFFFFF" stroke-width="2"></circle>
<rect x="6" y="11" width="12" height="2" fill="#FFFFFF"></rect>
</svg>
<!-- WiFi icon -->
<svg viewBox="0 0 24 24" fill="none">
<path d="M2 8c5.5-4.5 14.5-4.5 20 0" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"></path>
<path d="M5 12c3.9-3.2 10.1-3.2 14 0" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"></path>
<path d="M8.5 15.5c2.6-2 6.4-2 9 0" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"></path>
<circle cx="12" cy="19" r="1.8" fill="#FFFFFF"></circle>
</svg>
<!-- Battery icon -->
<svg viewBox="0 0 28 24" fill="none">
<rect x="2" y="6" width="20" height="12" rx="2" stroke="#FFFFFF" stroke-width="2"></rect>
<rect x="4" y="8" width="14" height="8" rx="1" fill="#FFFFFF"></rect>
<rect x="22" y="9" width="3" height="6" rx="1" fill="#FFFFFF"></rect>
</svg>
</div>
</div>
<div class="topbar">
<div class="back-btn">
<svg viewBox="0 0 24 24" class="chevron" fill="none">
<path d="M15 4L7 12L15 20" stroke="#FFFFFF" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="top-title">Ticket options</div>
</div>
<div class="summary-card">
<div class="summary-row">
<div class="summary-texts">
<div class="summary-title">27 Oct 2023, 07:47–11:00</div>
<div class="summary-sub">Amsterdam Central – London St Pancras International · Eurostar 9119</div>
</div>
<svg viewBox="0 0 24 24" class="chevron" fill="none">
<path d="M9 4L17 12L9 20" stroke="#9C9C9C" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
</div>
<div class="content">
<div class="section">
<div class="section-title">Select tickets</div>
<div class="ticket-card">
<div class="ticket-top">
<div>
<span class="price-line">US$ 402.49</span>
<span class="per-pax">/pax</span>
</div>
<div class="select-btn">Select</div>
</div>
<div class="policy-row">
<span>Change &amp; refund policies</span>
<svg viewBox="0 0 24 24" width="28" height="28" fill="none">
<path d="M9 5l7 7-7 7" stroke="#B0B0B0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="dashed"></div>
<div class="bullet">
<div class="dot"></div>
<div>Amsterdam Central – London St Pancras International</div>
</div>
<div class="ticket-sub">1st class, Refundable</div>
</div>
</div>
</div>
<div class="bottom-bar">
<div class="home-pill"></div>
</div>
</div>
</body>
</html>