AndroidCode / code /10134 /10134_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
13.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Flights UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1f2a44; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden; background: #ffffff;
}
.status-bar { height: 90px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; font-size: 36px; color: #333; }
.status-icons { display: flex; align-items: center; gap: 24px; }
.icon-sq { width: 40px; height: 40px; border-radius: 8px; border: 2px solid #666; }
.nav-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 40px 0 40px; column-gap: 30px; row-gap: 6px; }
.nav-item { text-align: center; }
.nav-img {
width: 140px; height: 96px; margin: 0 auto 8px auto;
background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 20px;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 26px;
}
.nav-label { font-size: 34px; color: #5a667d; }
.nav-active .nav-label { color: #1a60ff; font-weight: 600; }
.nav-active .underline { width: 120px; height: 8px; background: #1a60ff; border-radius: 6px; margin: 10px auto 0; }
.search-card {
margin: 26px 34px 0 34px; border-radius: 30px; border: 1px solid #d9dde7; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.toggle-wrap { padding: 28px 32px 24px; background: #f5f6fa; display: flex; gap: 22px; }
.pill { padding: 18px 28px; border-radius: 50px; font-size: 34px; color: #667; background: #e9ebf2; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.03); }
.pill.active { background: #fff; color: #222; border: 1px solid #d0d6e3; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.row { padding: 30px 36px; border-top: 1px solid #e5e8ef; display: flex; align-items: center; justify-content: space-between; }
.fromto { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 12px; width: 100%; }
.city { display: flex; align-items: center; gap: 16px; }
.code { font-size: 56px; font-weight: 700; color: #102a43; }
.sub { font-size: 28px; color: #7a859b; }
.swap { width: 90px; height: 90px; border-radius: 50%; border: 1px solid #d7dbe6; display: flex; align-items: center; justify-content: center; }
.label-icon { display: flex; align-items: center; gap: 20px; font-size: 38px; color: #223; }
.muted { font-size: 30px; color: #7a859b; }
.chips { padding: 24px 36px; border-top: 1px solid #e5e8ef; }
.chips-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; padding: 18px 26px; border-radius: 40px; border: 1px solid #d1d6e2; color: #2f3b56; font-size: 32px; margin-right: 18px; background: #fff; }
.badge { font-size: 26px; color: #fff; background: #7a2cf2; padding: 6px 14px; border-radius: 20px; }
.assured { background: #eaf2ff; padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; }
.check { width: 48px; height: 48px; border: 3px solid #9aa9c7; border-radius: 10px; margin-right: 22px; }
.assured-text { display: flex; align-items: center; }
.shield {
width: 80px; height: 80px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 20px;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 24px;
}
.search-cta { background: #ff7a00; color: #fff; font-size: 44px; font-weight: 600; padding: 34px 36px; display: flex; align-items: center; gap: 24px; justify-content: center; border-top-left-radius: 26px; border-top-right-radius: 26px; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; }
.search-cta svg { width: 48px; height: 48px; }
.services { background: #f6f7fb; padding: 34px 24px 16px; display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; gap: 10px; }
.svc-item { display: flex; flex-direction: column; align-items: center; }
.svc-icon { width: 110px; height: 110px; border: 3px solid #1a60ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1a60ff; }
.svc-label { margin-top: 18px; font-size: 30px; color: #4b5874; }
.banner { margin: 20px 34px; background: #ff7a00; border-radius: 30px; padding: 26px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.banner .img {
width: 420px; height: 200px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 20px;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 28px;
}
.banner .text { font-size: 46px; line-height: 1.2; text-align: right; }
.login { margin-top: 16px; display: inline-block; padding: 12px 24px; background: #fff; color: #ff7a00; border-radius: 20px; font-weight: 600; font-size: 30px; }
.bottom-nav { position: absolute; left: 0; bottom: 80px; width: 100%; background: #fff4ea; border-top: 1px solid #eee2d6; padding: 20px 40px; display: grid; grid-template-columns: repeat(5, 1fr); }
.bn-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bn-icon { width: 96px; height: 96px; border-radius: 30px; background: #ffe0c7; display: flex; align-items: center; justify-content: center; }
.bn-item.active .bn-icon { background: #ff7a00; }
.bn-item span { font-size: 32px; color: #6b768a; }
.bn-item.active span { color: #ff7a00; font-weight: 600; }
.home-indicator { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 360px; height: 16px; background: #0f0f12; border-radius: 10px; opacity: 0.85; }
/* Small SVG icon style */
.ico { width: 48px; height: 48px; }
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div>10:48</div>
<div class="status-icons">
<svg class="ico" viewBox="0 0 24 24">
<path d="M2 8l10-5 10 5v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8z" fill="#666"/>
<path d="M6 12h12v4H6z" fill="#fff"/>
</svg>
<svg class="ico" viewBox="0 0 24 24">
<path d="M3 8h18v8H3z" fill="none" stroke="#666" stroke-width="2"/>
<rect x="5" y="10" width="10" height="4" fill="#666"/>
</svg>
</div>
</div>
<div class="nav-row">
<div class="nav-item nav-active">
<div class="nav-img">[IMG: Plane]</div>
<div class="nav-label">Flights</div>
<div class="underline"></div>
</div>
<div class="nav-item">
<div class="nav-img">[IMG: Hotel]</div>
<div class="nav-label">Hotels</div>
</div>
<div class="nav-item">
<div class="nav-img">[IMG: Train]</div>
<div class="nav-label">Trains</div>
</div>
<div class="nav-item">
<div class="nav-img">[IMG: Bus]</div>
<div class="nav-label">Buses</div>
</div>
</div>
<div class="search-card">
<div class="toggle-wrap">
<div class="pill active">One Way</div>
<div class="pill">Round Trip</div>
</div>
<div class="row">
<div class="fromto">
<div class="city">
<div class="code">AMS</div>
<svg class="ico" viewBox="0 0 24 24">
<path d="M2 12l9 2 1 8 2-7 8-2-8-2-2-7-1 8-9 2z" fill="#1a60ff"/>
</svg>
<div>
<div class="sub">Amsterdam</div>
</div>
</div>
<div class="swap">
<svg class="ico" viewBox="0 0 24 24">
<path d="M7 7h10l-3-3M17 17H7l3 3" fill="none" stroke="#7a859b" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="city" style="justify-content: flex-end;">
<svg class="ico" viewBox="0 0 24 24">
<path d="M2 12l9 2 1 8 2-7 8-2-8-2-2-7-1 8-9 2z" fill="#1a60ff"/>
</svg>
<div class="code">BER</div>
<div>
<div class="sub" style="text-align:right;">Berlin</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="label-icon">
<svg class="ico" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="2" fill="none" stroke="#1f2a44" stroke-width="2"/>
<path d="M7 5v4M17 5v4" stroke="#1f2a44" stroke-width="2"/>
</svg>
<div>Sat, 23 Dec</div>
</div>
</div>
<div class="row">
<div class="label-icon">
<svg class="ico" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="3" fill="none" stroke="#1f2a44" stroke-width="2"/>
<path d="M4 20c2-4 6-4 8-4s6 0 8 4" fill="none" stroke="#1f2a44" stroke-width="2"/>
</svg>
<div>1 Traveller • Economy</div>
</div>
</div>
<div class="chips">
<div class="chips-head">
<div style="font-size:32px; color:#2f3b56;">Special Fares (Optional)</div>
<div class="badge">New</div>
</div>
<div>
<span class="chip">Student</span>
<span class="chip">Senior Citizen</span>
<span class="chip">Armed Forces</span>
</div>
</div>
<div class="assured">
<div class="assured-text">
<div class="check"></div>
<div>
<div style="font-size:36px;">Always opt for Assured</div>
<div class="muted">Instant full refunds</div>
</div>
</div>
<div class="shield">[IMG: Shield]</div>
</div>
<div class="search-cta">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M15 15l6 6" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
<div>Search Flights</div>
</div>
</div>
<div class="services">
<div class="svc-item">
<div class="svc-icon">
<svg viewBox="0 0 24 24" width="64" height="64">
<path d="M2 13l7 1 2 8 2-7 9-2-9-2-2-7-2 9-7 1z" fill="#1a60ff"/>
</svg>
</div>
<div class="svc-label">Flight Status</div>
</div>
<div class="svc-item">
<div class="svc-icon">
<svg viewBox="0 0 24 24" width="64" height="64">
<path d="M4 12l8-5 8 5-8 5-8-5z" fill="none" stroke="#1a60ff" stroke-width="2"/>
</svg>
</div>
<div class="svc-label">Travel Insurance</div>
</div>
<div class="svc-item">
<div class="svc-icon">
<svg viewBox="0 0 24 24" width="64" height="64">
<circle cx="10" cy="12" r="5" fill="none" stroke="#1a60ff" stroke-width="2"/>
<path d="M15 7l6 6-6 6" fill="none" stroke="#1a60ff" stroke-width="2"/>
</svg>
</div>
<div class="svc-label">Forex Card</div>
</div>
<div class="svc-item">
<div class="svc-icon">
<svg viewBox="0 0 24 24" width="64" height="64">
<rect x="3" y="6" width="18" height="12" rx="2" fill="none" stroke="#1a60ff" stroke-width="2"/>
<rect x="6" y="10" width="12" height="3" fill="#1a60ff"/>
</svg>
</div>
<div class="svc-label">Credit Card</div>
</div>
<div class="svc-item">
<div class="svc-icon">
<svg viewBox="0 0 24 24" width="64" height="64">
<circle cx="12" cy="12" r="9" fill="none" stroke="#1a60ff" stroke-width="2"/>
<path d="M12 7v10M7 12h10" stroke="#1a60ff" stroke-width="2"/>
</svg>
</div>
<div class="svc-label">Book Visa</div>
</div>
<div class="svc-item">
<div class="svc-icon">
<svg viewBox="0 0 24 24" width="64" height="64">
<rect x="5" y="5" width="14" height="14" rx="3" fill="none" stroke="#1a60ff" stroke-width="2"/>
<path d="M9 9h6v6H9z" fill="#1a60ff"/>
</svg>
</div>
<div class="svc-label">Plans</div>
</div>
</div>
<div class="banner">
<div class="img">[IMG: Airplane Illustration]</div>
<div class="text">
Flat 12% Off<br/>on 1st Flight<br/>
<span class="login">Login</span>
</div>
</div>
<div class="bottom-nav">
<div class="bn-item active">
<div class="bn-icon">
<svg viewBox="0 0 24 24" width="52" height="52">
<path d="M3 11l9-7 9 7v9H3z" fill="#fff"/>
</svg>
</div>
<span>Home</span>
</div>
<div class="bn-item">
<div class="bn-icon" style="background:#ffe0c7;">
<svg viewBox="0 0 24 24" width="52" height="52">
<path d="M4 12l8-5 8 5-8 5-8-5z" fill="#ff7a00"/>
</svg>
</div>
<span>ixigo money</span>
</div>
<div class="bn-item">
<div class="bn-icon" style="background:#ffe0c7;">
<svg viewBox="0 0 24 24" width="52" height="52">
<rect x="5" y="7" width="14" height="12" rx="2" fill="#ff7a00"/>
</svg>
</div>
<span>My Trips</span>
</div>
<div class="bn-item">
<div class="bn-icon" style="background:#ffe0c7;">
<svg viewBox="0 0 24 24" width="52" height="52">
<path d="M4 4h16v14l-8 4-8-4z" fill="#ff7a00"/>
</svg>
</div>
<span>Contact Us</span>
</div>
<div class="bn-item">
<div class="bn-icon" style="background:#ffe0c7;">
<svg viewBox="0 0 24 24" width="52" height="52">
<circle cx="6" cy="6" r="3" fill="#ff7a00"/>
<circle cx="18" cy="6" r="3" fill="#ff7a00"/>
<circle cx="6" cy="18" r="3" fill="#ff7a00"/>
<circle cx="18" cy="18" r="3" fill="#ff7a00"/>
</svg>
</div>
<span>More</span>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>