AndroidCode / code /10113 /10113_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
9.22 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, Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #f3f4f5;
}
/* Header */
.app-header {
position: relative;
width: 100%;
height: 270px;
background: #0c5160;
color: #fff;
}
.status-bar {
height: 60px;
padding: 18px 28px 0 28px;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 600;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 22px; }
.status-icon { width: 36px; height: 36px; opacity: 0.9; }
.gh-logo-wrap {
position: absolute;
left: 40px;
bottom: 40px;
}
.gh-logo {
width: 380px; height: 80px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-style: italic; font-size: 36px; letter-spacing: 1px;
}
/* Cards */
.card {
width: 1006px;
margin: 24px auto;
background: #fff;
border-radius: 16px;
box-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 6px 18px rgba(0,0,0,0.08);
}
/* Search form */
.search-card { padding: 26px; position: relative; }
.field {
border: 2px solid #D4D4D4;
border-radius: 16px;
padding: 24px;
margin-bottom: 22px;
}
.field-row { display: flex; gap: 22px; }
.field.half { width: calc(50% - 11px); }
.label {
font-size: 26px; color: #7a7d80; margin-bottom: 12px; letter-spacing: 0.05em;
}
.value {
font-size: 44px; color: #2b2d30;
}
.swap-btn {
position: absolute;
right: 26px; top: 170px;
width: 110px; height: 110px; border-radius: 55px;
border: 3px solid #c8c9cb; background: #fff;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.swap-btn svg { width: 60px; height: 60px; }
.plus-btn {
position: absolute; right: 52px; top: 372px;
width: 52px; height: 52px; border-radius: 26px;
border: 2px solid #c8c9cb; display: flex; align-items: center; justify-content: center; color: #0c5160; font-size: 40px; font-weight: 600;
}
.search-button {
margin-top: 8px;
width: 100%; height: 120px; border-radius: 12px;
background: #b55a11; color: #fff; font-size: 44px; letter-spacing: 0.12em; font-weight: 700;
border: none; box-shadow: 0 8px 0 rgba(0,0,0,0.06), 0 10px 22px rgba(0,0,0,0.15);
}
/* What's New card */
.news-card { padding: 26px; }
.news-eyebrow { font-size: 26px; color: #7a7d80; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; }
.news-title { font-size: 54px; color: #2b2d30; font-weight: 700; margin-bottom: 22px; }
.news-image {
width: 954px; height: 480px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 34px;
margin: 0 auto 24px;
}
.news-text { font-size: 36px; color: #5a5e62; line-height: 1.4; margin-bottom: 16px; }
.news-link { font-size: 36px; color: #0c5160; font-weight: 700; text-decoration: none; }
/* Bottom nav */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 78px;
height: 160px; background: #fff; border-top: 1px solid #ddd;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 25%; }
.nav-icon-wrap {
width: 88px; height: 88px; border-radius: 44px; display: flex; align-items: center; justify-content: center;
}
.nav-item.active .nav-icon-wrap { background: rgba(12,81,96,0.12); }
.nav-item span { font-size: 30px; color: #4b4f53; }
.nav-item.active span { color: #0c5160; font-weight: 700; }
.home-indicator {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 22px; width: 300px; height: 12px; border-radius: 6px; background: #1f1f1f; opacity: 0.25;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="app-header">
<div class="status-bar">
<div class="status-left">
<div>10:15</div>
<!-- simple status glyphs -->
<svg class="status-icon" viewBox="0 0 24 24">
<path fill="#fff" d="M12 2a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2V2z"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path fill="#fff" d="M3 12h18M3 12c3-6 15-6 18 0" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<path fill="#fff" d="M4 12h16M8 6l8 12" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="2" fill="#fff"/>
</svg>
</div>
<div class="status-right">
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M3 18h18l-6-8-4 5-3-3z" fill="#fff"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="5" y="3" width="14" height="18" rx="3" ry="3" fill="none" stroke="#fff" stroke-width="2"/>
<rect x="8" y="6" width="8" height="12" fill="#fff"/>
</svg>
</div>
</div>
<div class="gh-logo-wrap">
<div class="gh-logo">[IMG: Greyhound Logo]</div>
</div>
</div>
<!-- Search form card -->
<div class="card search-card">
<div class="label">From</div>
<div class="field">
<div class="value">San Francisco, CA</div>
</div>
<div class="label">To</div>
<div class="field">
<div class="value">Albenga</div>
</div>
<div class="field-row">
<div class="field half">
<div class="label">Departing</div>
<div class="value">Oct 25, 2023</div>
</div>
<div class="field half" style="position: relative;">
<div class="label">Return</div>
<div class="value" style="color:#7a7d80;">Tap to add</div>
</div>
</div>
<div class="label">Passengers/Bikes</div>
<div class="field">
<div class="value">1 adult</div>
</div>
<button class="search-button">SEARCH</button>
<!-- swap and plus buttons -->
<div class="swap-btn" aria-label="Swap">
<svg viewBox="0 0 24 24">
<path d="M7 16l-3-3 3-3" stroke="#0c5160" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17 8l3 3-3 3" stroke="#0c5160" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 13h7M18 11h-7" stroke="#0c5160" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="plus-btn" aria-label="Add return">+</div>
</div>
<!-- News card -->
<div class="card news-card">
<div class="news-eyebrow">What's new?</div>
<div class="news-title">Greyhound and Flix join forces!</div>
<div class="news-image">[IMG: Greyhound and FlixBus coaches]</div>
<div class="news-text">Our network has expanded! See how this benefits you.</div>
<a href="#" class="news-link">FIND OUT MORE</a>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<div class="nav-icon-wrap">
<svg viewBox="0 0 24 24" width="42" height="42">
<circle cx="10" cy="10" r="7" stroke="#0c5160" stroke-width="2" fill="none"/>
<path d="M16 16l5 5" stroke="#0c5160" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<span>Booking</span>
</div>
<div class="nav-item">
<div class="nav-icon-wrap">
<svg viewBox="0 0 24 24" width="42" height="42">
<rect x="4" y="5" width="16" height="12" rx="2" fill="none" stroke="#6b6e72" stroke-width="2"/>
<circle cx="8" cy="11" r="1.6" fill="#6b6e72"/>
<circle cx="12" cy="11" r="1.6" fill="#6b6e72"/>
<circle cx="16" cy="11" r="1.6" fill="#6b6e72"/>
</svg>
</div>
<span>Tickets</span>
</div>
<div class="nav-item">
<div class="nav-icon-wrap">
<svg viewBox="0 0 24 24" width="42" height="42">
<path d="M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7z" fill="none" stroke="#6b6e72" stroke-width="2"/>
<circle cx="12" cy="9" r="2.2" fill="#6b6e72"/>
</svg>
</div>
<span>Stops</span>
</div>
<div class="nav-item">
<div class="nav-icon-wrap">
<svg viewBox="0 0 24 24" width="42" height="42">
<circle cx="12" cy="12" r="10" stroke="#6b6e72" stroke-width="2" fill="none"/>
<path d="M12 7.5v0.1" stroke="#6b6e72" stroke-width="3" stroke-linecap="round"/>
<path d="M12 11v6" stroke="#6b6e72" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<span>More</span>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>