AndroidCode / code /10143 /10143_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
6.61 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Ticket Options UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #eef4f7;
}
/* Header */
.header { background: #2f0b8f; color: #ffffff; }
.status {
height: 88px; padding: 0 40px;
display: flex; align-items: center; justify-content: space-between;
font-size: 36px;
}
.status .left, .status .right { display: flex; align-items: center; gap: 22px; color: #fff; }
.appbar { height: 156px; display: flex; align-items: center; padding: 0 40px; }
.appbar .back {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-right: 24px;
}
.appbar h1 { margin: 0; font-size: 56px; font-weight: 600; }
/* Trip details section */
.card-section { background: #ffffff; padding: 40px; border-bottom: 1px solid #e4e9ee; }
.details .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.details .label { color: #738090; font-size: 38px; }
.view-link { color: #6d7785; font-size: 38px; display: flex; align-items: center; }
.view-link svg { margin-left: 12px; }
.time { font-weight: 700; color: #111; font-size: 56px; display: flex; align-items: center; }
.arrow-mid { width: 40px; height: 40px; fill: none; stroke: #8a96a6; stroke-width: 6; margin: 0 18px; }
.sub { color: #71808f; font-size: 34px; margin-top: 12px; }
/* Ticket card */
.main { padding: 40px; }
.ticket-card {
background: #ffffff; border: 1px solid #dfe7ea; border-radius: 22px;
box-shadow: 0 2px 0 rgba(0,0,0,0.04); padding: 34px; position: relative;
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; }
.ticket-title { display: flex; align-items: center; font-size: 46px; font-weight: 700; color: #111; }
.radio {
width: 48px; height: 48px; border-radius: 50%; box-sizing: border-box;
border: 6px solid #3255e6; margin-right: 20px; display: flex; align-items: center; justify-content: center;
background: #ffffff;
}
.radio::after { content: ''; width: 20px; height: 20px; background: #ffffff; border-radius: 50%; }
.price-box { text-align: right; }
.pill {
display: inline-block; background: #0ec0a8; color: #fff; border-radius: 12px;
padding: 12px 18px; font-size: 32px; font-weight: 700; margin-bottom: 8px;
}
.price { font-size: 60px; font-weight: 800; color: #111; }
.divider { height: 1px; background: #e5edf0; margin: 28px 0; }
.desc { font-size: 36px; line-height: 1.45; color: #667381; }
.info {
position: absolute; right: 24px; bottom: 24px; width: 48px; height: 48px;
border: 2px solid #cdd6dc; border-radius: 24px; display: flex; align-items: center; justify-content: center; color: #7b8a97;
}
.info svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
/* Bottom bar */
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
background: #ffffff; border-top: 1px solid #dfe7ea;
display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
}
.summary { color: #667381; font-size: 40px; }
.summary .amount { font-size: 64px; color: #111; font-weight: 800; margin-top: 8px; }
.cta {
background: #0ec0a8; color: #fff; border: none; border-radius: 18px;
padding: 34px 60px; font-size: 46px; font-weight: 800; box-shadow: 0 6px 0 rgba(0,0,0,0.1);
}
/* Android home indicator */
.android-home {
position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
width: 280px; height: 14px; background: #000000; border-radius: 7px; opacity: 0.25;
}
/* Icon sizes */
.back svg { width: 56px; height: 56px; fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="status">
<div class="left">
<span>10:26</span>
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><circle cx="12" cy="12" r="10"/></svg>
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M4 12h16"/></svg>
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><rect x="4" y="4" width="16" height="16"/></svg>
<svg width="6" height="6"><circle cx="3" cy="3" r="3" fill="#fff"/></svg>
</div>
<div class="right">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M12 6v6"/></svg>
<svg width="28" height="28" viewBox="0 0 24 24" fill="#fff"><path d="M6 18h12l-1-8H7z"/></svg>
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M12 1v4M5 7l-3 3v9a3 3 0 003 3h14a3 3 0 003-3v-9l-3-3H5z"/></svg>
</div>
</div>
<div class="appbar">
<div class="back">
<svg viewBox="0 0 24 24"><path d="M15 19l-7-7 7-7" /></svg>
</div>
<h1>Ticket options</h1>
</div>
</div>
<div class="card-section">
<div class="details">
<div class="row">
<div class="label">Outbound: Thu, Oct 26</div>
<div class="view-link">view details
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#8a96a6" stroke-width="3"><path d="M9 6l6 6-6 6"/></svg>
</div>
</div>
<div class="time">
<span>10:36 AM</span>
<svg class="arrow-mid" viewBox="0 0 24 24"><path d="M4 12h12l-3-3M16 12l-3 3" stroke-linecap="round" stroke-linejoin="round"/></svg>
<span>3:57 PM</span>
</div>
<div class="sub">6h 21m, 2 changes</div>
</div>
</div>
<div class="main">
<div class="ticket-card">
<div class="ticket-top">
<div class="ticket-title">
<div class="radio"></div>
<span>Standard</span>
</div>
<div class="price-box">
<span class="pill">Cheapest</span>
<div class="price">$7.79</div>
</div>
</div>
<div class="divider"></div>
<div class="desc">
Exchangeable and refundable for free until midnight before departure. Strictly non-refundable and non-exchangeable on the day of departure.
</div>
<div class="info">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12"