AndroidCode / code /10113 /10113_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
10.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Greyhound Booking UI</title>
<style>
body { margin:0; padding:0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
#render-target {
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#f6f7f8;
color:#0e3c46;
}
/* Header / status area */
.top-header {
position:absolute; left:0; top:0; width:100%; height:300px;
background:#0c2f36;
}
.status-row {
height:100px; padding:0 40px; color:#ffffff; font-weight:600;
display:flex; align-items:center; justify-content:space-between;
font-size:40px;
}
.status-left { letter-spacing:1px; }
.status-right { display:flex; align-items:center; gap:26px; opacity:0.95; }
.icon-wifi, .icon-battery { width:44px; height:44px; }
.logo-wrap {
position:absolute; left:40px; top:150px; width:340px; height:70px;
display:flex; align-items:center;
}
.img-placeholder {
background:#E0E0E0; border:1px solid #BDBDBD; color:#757575;
display:flex; align-items:center; justify-content:center; text-align:center;
}
.logo-img { width:340px; height:70px; border-radius:6px; }
/* Form area */
.content {
position:absolute; left:0; top:300px; width:100%; padding:30px 30px 0;
}
.field-card {
background:#ffffff; border:2px solid #D6D6D6; border-radius:22px;
padding:28px 32px 34px; margin-bottom:26px;
box-shadow:0 2px 0 rgba(0,0,0,0.03);
position:relative;
}
.field-label {
font-size:28px; color:#4c6670; margin-bottom:16px; position:relative;
}
.label-line {
position:absolute; left:100px; right:10px; top:50%;
border-top:2px solid #ccd6da; content:"";
}
.field-value { font-size:52px; color:#1a3f47; }
.swap-btn {
position:absolute; right:20px; bottom:-34px;
width:120px; height:120px; border-radius:60px;
background:#F1F1F1; border:2px solid #CFCFCF;
display:flex; align-items:center; justify-content:center;
box-shadow:0 2px 0 rgba(0,0,0,0.04);
}
.grid-2 { display:flex; gap:26px; }
.grid-2 .field-card { flex:1; }
.inline-add {
position:absolute; right:26px; bottom:26px; width:64px; height:64px;
border-radius:32px; border:2px solid #CFCFCF; background:#F3F3F3;
display:flex; align-items:center; justify-content:center; color:#385b64; font-size:44px; font-weight:700;
}
.passengers .field-value { font-size:46px; }
.cta-btn {
width:960px; height:120px; border-radius:20px; background:#ba651f;
color:#fff; font-size:48px; font-weight:700; display:flex; align-items:center; justify-content:center;
margin:28px auto 36px;
box-shadow:0 8px 0 rgba(0,0,0,0.08);
}
/* Promo card below form */
.promo-card {
margin:20px 24px;
background:#ffffff; border-radius:20px; border:1px solid #E1E1E1;
overflow:hidden;
box-shadow:0 2px 0 rgba(0,0,0,0.03);
}
.promo-header { padding:24px 28px; color:#6d7f86; font-size:28px; letter-spacing:0.3px; }
.promo-title { padding:0 28px 18px; font-size:54px; font-weight:800; color:#1b3f47; }
.promo-image { width:100%; height:520px; }
.promo-text { padding:24px 28px; font-size:38px; color:#5a6e76; line-height:1.35; }
.promo-link { padding:0 28px 34px; font-size:40px; color:#0e3c46; font-weight:800; letter-spacing:1px; }
/* Bottom navigation */
.bottom-nav {
position:absolute; left:0; bottom:0; width:100%; height:170px;
background:#f0f0f0; border-top:1px solid #d9d9d9;
display:flex; align-items:center; justify-content:space-around;
}
.nav-item { display:flex; flex-direction:column; align-items:center; gap:16px; color:#5c6c73; font-size:34px; }
.nav-item.active { color:#0e3c46; font-weight:800; }
.nav-icon { width:64px; height:64px; }
.home-indicator {
position:absolute; left:50%; transform:translateX(-50%);
bottom:20px; width:360px; height:12px; border-radius:6px; background:#ffffff; box-shadow:0 0 0 1px rgba(0,0,0,0.06) inset;
}
/* Modal overlay */
.overlay {
position:absolute; left:0; top:0; width:100%; height:100%;
background:rgba(12,47,54,0.45);
}
.modal {
position:absolute; left:120px; top:840px; width:840px;
background:#ffffff; border-radius:16px;
box-shadow:0 18px 60px rgba(0,0,0,0.3);
padding:40px 40px 20px;
}
.modal-illustration {
width:220px; height:220px; border-radius:110px; margin:18px auto 16px;
background:#E0E0E0; border:1px solid #BDBDBD; color:#757575;
display:flex; align-items:center; justify-content:center;
box-shadow:0 0 0 7px #f5f7f8 inset;
}
.modal-title {
text-align:center; font-size:50px; color:#0e3c46; font-weight:800; margin:24px 24px 12px;
}
.modal-text {
text-align:center; font-size:36px; color:#5a6e76; margin:0 24px 24px; line-height:1.45;
}
.modal-actions {
display:flex; align-items:center; justify-content:space-between; padding:28px 20px 10px;
border-top:1px solid #e6eaec;
}
.modal-btn {
font-size:42px; font-weight:900; letter-spacing:2px; color:#0e3c46; text-transform:uppercase;
}
/* Simple SVG helpers */
svg { display:block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Top header with status bar -->
<div class="top-header">
<div class="status-row">
<div class="status-left">10:14</div>
<div class="status-right">
<!-- Light app badges as dots -->
<span></span>
<svg class="icon-wifi" viewBox="0 0 24 24">
<path d="M2 9c6-5 14-5 20 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M6 13c4-3 8-3 12 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="17" r="2" fill="#fff"/>
</svg>
<svg class="icon-battery" viewBox="0 0 28 16">
<rect x="1" y="1" width="22" height="14" rx="2" ry="2" fill="none" stroke="#fff" stroke-width="2"/>
<rect x="3" y="3" width="16" height="10" rx="1" fill="#fff"/>
<rect x="23" y="5" width="4" height="6" rx="1" fill="#fff"/>
</svg>
</div>
</div>
<div class="logo-wrap">
<div class="img-placeholder logo-img">[IMG: Greyhound logo]</div>
</div>
</div>
<!-- Booking form -->
<div class="content">
<div class="field-card">
<div class="field-label">From <span class="label-line"></span></div>
<div class="field-value">San Francisco, CA</div>
<div class="swap-btn" title="Swap">
<svg viewBox="0 0 64 64" width="64" height="64">
<path d="M20 22l8-8 8 8" fill="none" stroke="#0e3c46" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M28 14v24" fill="none" stroke="#0e3c46" stroke-width="3" stroke-linecap="round"/>
<path d="M44 42l-8 8-8-8" fill="none" stroke="#0e3c46" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M36 50V26" fill="none" stroke="#0e3c46" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="field-card">
<div class="field-label">To <span class="label-line"></span></div>
<div class="field-value">Albenga</div>
</div>
<div class="grid-2">
<div class="field-card">
<div class="field-label">Departing <span class="label-line"></span></div>
<div class="field-value">Oct 25, 2023</div>
</div>
<div class="field-card">
<div class="field-label">Return <span class="label-line"></span></div>
<div class="field-value" style="color:#7b9098;">Tap to add</div>
<div class="inline-add">+</div>
</div>
</div>
<div class="field-card passengers">
<div class="field-label">Passengers <span class="label-line"></span></div>
<div class="field-value">1 adult</div>
</div>
<div class="cta-btn">Search trips</div>
<!-- Promo content below -->
<div class="promo-card">
<div class="promo-header">WHAT'S NEW</div>
<div class="promo-title">Greyhound + FlixBus</div>
<div class="img-placeholder promo-image">[IMG: Greyhound and FlixBus buses]</div>
<div class="promo-text">Our network has expanded! See how this benefits you.</div>
<div class="promo-link">FIND OUT MORE</div>
</div>
</div>
<!-- Modal overlay -->
<div class="overlay"></div>
<div class="modal">
<div class="modal-illustration">[IMG: Notification on phone]</div>
<div class="modal-title">Be always updated about your trips!</div>
<div class="modal-text">
Don’t miss any information about your trips or our promotions.
We will notify you when there are changes, delays or any relevant updates.
</div>
<div class="modal-actions">
<div class="modal-btn">NOT NOW</div>
<div class="modal-btn">YES, PLEASE</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#0e3c46" stroke-width="2"/>
<circle cx="12" cy="12" r="2" fill="#0e3c46"/>
</svg>
<div>Booking</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<rect x="3" y="6" width="18" height="12" rx="2" fill="none" stroke="#5c6c73" stroke-width="2"/>
<circle cx="8" cy="12" r="2" fill="#5c6c73"/>
<path d="M18 6v3" stroke="#5c6c73" stroke-width="2"/>
</svg>
<div>Tickets</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M12 3c3.3 0 6 2.7 6 6 0 4.5-6 12-6 12S6 13.5 6 9c0-3.3 2.7-6 6-6z" fill="none" stroke="#5c6c73" stroke-width="2"/>
<circle cx="12" cy="9" r="2.5" fill="#5c6c73"/>
</svg>
<div>Stops</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#5c6c73" stroke-width="2"/>
<circle cx="12" cy="7" r="1.8" fill="#5c6c73"/>
<path d="M12 11v7" stroke="#5c6c73" stroke-width="2"/>
</svg>
<div>More</div>
</div>
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>