AndroidCode / code /10134 /10134_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
13.7 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Flight Results UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #1c2430;
}
.status-bar {
height: 88px;
padding: 20px 30px;
display: flex;
align-items: center;
justify-content: space-between;
color: #222;
font-weight: 600;
font-size: 36px;
}
.status-icons {
display: flex;
gap: 24px;
}
.header {
position: relative;
padding: 18px 32px 24px 32px;
}
.header .pill {
width: 880px;
margin: 0 auto;
background: #ECEFF1;
border-radius: 60px;
padding: 34px 40px;
text-align: center;
box-sizing: border-box;
}
.header .title {
font-size: 40px;
font-weight: 700;
letter-spacing: 0.2px;
}
.header .subtitle {
margin-top: 10px;
font-size: 26px;
color: #6b778c;
}
.icon-btn {
position: absolute;
top: 40px;
width: 64px;
height: 64px;
border-radius: 32px;
display: flex;
align-items: center;
justify-content: center;
color: #4b5b76;
}
.icon-back { left: 22px; }
.icon-share { right: 22px; }
.dates-bar {
margin-top: 8px;
border-top: 1px solid #E5E8EC;
border-bottom: 1px solid #E5E8EC;
display: flex;
height: 140px;
box-sizing: border-box;
background: #fff;
}
.dates-bar .month {
width: 90px;
border-right: 1px solid #E5E8EC;
display: flex;
align-items: center;
justify-content: center;
color: #6b778c;
font-weight: 600;
letter-spacing: 2px;
writing-mode: vertical-rl;
transform: rotate(180deg);
font-size: 24px;
}
.dates-bar .day {
flex: 1;
min-width: 165px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
position: relative;
}
.dates-bar .day .dow { font-size: 26px; color: #6b778c; }
.dates-bar .day .price { font-size: 26px; color: #17a35b; font-weight: 700; }
.dates-bar .day .dash { font-size: 28px; color: #9aa6b2; }
.dates-bar .day.selected::after {
content: "";
height: 6px; width: 70%;
background: #1976D2;
position: absolute; bottom: 0; left: 15%;
border-radius: 6px;
}
.divider { height: 1px; background: #E9EDF2; }
.flight-card {
padding: 32px;
display: grid;
grid-template-columns: 140px 1fr 240px;
gap: 24px;
box-sizing: border-box;
background: #fff;
}
.airline-logo {
width: 110px; height: 110px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 22px; border-radius: 8px;
}
.airline-name {
font-size: 30px; color: #3a475a; font-weight: 600;
margin-bottom: 12px;
}
.times {
display: grid;
grid-template-columns: 1fr 220px 1fr;
align-items: center;
gap: 16px;
}
.time-big {
font-size: 54px; font-weight: 700; letter-spacing: 0.5px;
}
.location { font-size: 22px; color: #59667a; margin-top: 6px; }
.duration {
text-align: center;
font-size: 24px; color: #8a95a6;
}
.duration .bar {
height: 8px; background: #C7CDD6; border-radius: 4px; margin: 10px 20px;
position: relative;
}
.duration .bar::after {
content: "";
position: absolute; right: 0; top: -6px;
width: 16px; height: 16px; border-radius: 50%; background: #C7CDD6;
}
.tag {
display: inline-flex; align-items: center; gap: 8px;
margin-top: 18px;
border: 1px solid #90CAF9;
color: #1976D2;
background: #E3F2FD;
border-radius: 18px;
padding: 8px 12px;
font-size: 24px;
font-weight: 600;
width: fit-content;
}
.price {
text-align: right;
display: flex;
flex-direction: column;
justify-content: center;
}
.old-price {
font-size: 26px; color: #A1A8B2; text-decoration: line-through; margin-bottom: 8px;
}
.new-price {
font-size: 42px; font-weight: 800; color: #1d2b3a;
}
.plus1 {
color: #E53935; font-size: 30px; font-weight: 700; margin-left: 6px;
}
.promo {
margin: 18px 32px;
background: #FF7F1E;
border-radius: 30px;
padding: 26px;
display: grid;
grid-template-columns: 420px 1fr;
gap: 24px;
color: #fff;
align-items: center;
}
.promo .img {
width: 100%; height: 220px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 24px; border-radius: 20px;
}
.promo h3 { font-size: 44px; margin: 0 0 8px 0; }
.promo p { font-size: 30px; margin: 0 0 18px 0; }
.promo .btn {
display: inline-block; padding: 10px 26px; border: 2px solid #fff;
border-radius: 28px; color: #fff; font-size: 28px; font-weight: 700;
}
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 90px;
background: #FFFFFF;
border-top: 1px solid #E5E8EC;
height: 140px;
display: grid;
grid-template-columns: repeat(5, 1fr);
align-items: center;
padding: 0 20px;
box-sizing: border-box;
}
.bottom-item {
display: flex; flex-direction: column; align-items: center; gap: 10px;
color: #3e4b5f; font-size: 24px; font-weight: 700;
}
.toggle {
width: 100px; height: 56px; border-radius: 28px; background: #ECEFF1;
position: relative;
display: flex; align-items: center; justify-content: center;
color: #7c8796; font-size: 26px; font-weight: 700;
}
.gesture {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 24px; width: 360px; height: 12px; background: #0F0F0F; border-radius: 8px;
opacity: 0.9;
}
/* Small helper for inline SVG icons */
.svg { width: 36px; height: 36px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:48</div>
<div class="status-icons">
<!-- simple signal icon -->
<svg class="svg" viewBox="0 0 24 24"><path d="M3 17h2v2H3v-2zm4-4h2v6H7v-6zm4-4h2v10h-2V9zm4-4h2v14h-2V5z" fill="#5b6677"/></svg>
<!-- battery -->
<svg class="svg" viewBox="0 0 24 24"><path d="M16 4h-1V3h-6v1H8C6.9 4 6 4.9 6 6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z" fill="none" stroke="#5b6677" stroke-width="1.5"/><rect x="9" y="7" width="6" height="10" fill="#5b6677"/></svg>
</div>
</div>
<!-- Header with pill and icons -->
<div class="header">
<div class="icon-btn icon-back">
<svg class="svg" viewBox="0 0 24 24"><path d="M15 6l-6 6 6 6" stroke="#243447" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="pill">
<div class="title">AMS → BER</div>
<div class="subtitle">23 Dec • 1 Traveller • Economy</div>
</div>
<div class="icon-btn icon-share">
<svg class="svg" viewBox="0 0 24 24"><path d="M18 8a3 3 0 10-2.9-3.9L7.8 7.2a3.1 3.1 0 000 9.6l7.2 3.1A3 3 0 1016 18a3 3 0 00-.2-1.1l-7.5-3.2a3 3 0 010-3.4l7.5-3.2A3 3 0 0018 8z" fill="#243447"/></svg>
</div>
</div>
<!-- Date selector bar -->
<div class="dates-bar">
<div class="month">DEC</div>
<div class="day">
<div class="dow">Thu, 21</div>
<div class="price">₹11123</div>
</div>
<div class="day">
<div class="dow">Fri, 22</div>
<div class="dash">-</div>
</div>
<div class="day selected">
<div class="dow">Sat, 23</div>
<div class="dash">-</div>
</div>
<div class="day">
<div class="dow">Sun, 24</div>
<div class="dash">-</div>
</div>
<div class="day">
<div class="dow">Mon, 25</div>
<div class="dash">-</div>
</div>
<div class="day">
<div class="dow">Tue, 26</div>
<div class="dash">-</div>
</div>
</div>
<!-- First flight card -->
<div class="flight-card">
<div class="airline-logo">[IMG: Airline]</div>
<div>
<div class="airline-name">Brussels Airlines • SN 4236</div>
<div class="times">
<div>
<div class="time-big">16:43</div>
<div class="location">AMS</div>
</div>
<div class="duration">
<div>5h 37m</div>
<div class="bar"></div>
<div>4 stops</div>
</div>
<div style="text-align:right">
<div class="time-big">22:20<span class="plus1">+1</span></div>
<div class="location" style="text-align:right">BER</div>
</div>
</div>
<div class="tag">
<svg class="svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="#1976D2" stroke-width="2" fill="none"/><path d="M6 12h12" stroke="#1976D2" stroke-width="2"/></svg>
Value for money
</div>
</div>
<div class="price">
<div class="old-price">₹23901</div>
<div class="new-price">₹23266</div>
</div>
</div>
<div class="divider"></div>
<!-- Second flight -->
<div class="flight-card">
<div class="airline-logo">[IMG: Airline]</div>
<div>
<div class="airline-name">Brussels Airlines • SN 4246</div>
<div class="times">
<div>
<div class="time-big">21:43</div>
<div class="location">AMS</div>
</div>
<div class="duration">
<div>13h 22m</div>
<div class="bar"></div>
<div>4 stops</div>
</div>
<div style="text-align:right">
<div class="time-big">11:05</div>
<div class="location" style="text-align:right">BER</div>
</div>
</div>
</div>
<div class="price">
<div class="old-price">₹23901</div>
<div class="new-price">₹23266</div>
</div>
</div>
<div class="divider"></div>
<!-- Third flight -->
<div class="flight-card">
<div class="airline-logo">[IMG: Airline]</div>
<div>
<div class="airline-name">Brussels Airlines • SN 4218</div>
<div class="times">
<div>
<div class="time-big">07:43</div>
<div class="location">AMS</div>
</div>
<div class="duration">
<div>14h 37m</div>
<div class="bar"></div>
<div>4 stops</div>
</div>
<div style="text-align:right">
<div class="time-big">22:20<span class="plus1">+1</span></div>
<div class="location" style="text-align:right">BER</div>
</div>
</div>
</div>
<div class="price">
<div class="old-price">₹23901</div>
<div class="new-price">₹23266</div>
</div>
</div>
<!-- Promo banner -->
<div class="promo">
<div class="img">[IMG: Airplane Illustration]</div>
<div>
<h3>Flat 12% Off</h3>
<p>on 1st Flight</p>
<span class="btn">Login</span>
</div>
</div>
<div class="divider"></div>
<!-- Fourth flight -->
<div class="flight-card">
<div class="airline-logo">[IMG: Airline]</div>
<div>
<div class="airline-name">Brussels Airlines • SN 4216</div>
<div class="times">
<div>
<div class="time-big">06:43</div>
<div class="location">AMS</div>
</div>
<div class="duration">
<div>15h 37m</div>
<div class="bar"></div>
<div>4 stops</div>
</div>
<div style="text-align:right">
<div class="time-big">22:20<span class="plus1">+1</span></div>
<div class="location" style="text-align:right">BER</div>
</div>
</div>
</div>
<div class="price">
<div class="old-price">₹23901</div>
<div class="new-price">₹23266</div>
</div>
</div>
<div class="divider"></div>
<!-- Fifth flight -->
<div class="flight-card">
<div class="airline-logo">[IMG: Airline]</div>
<div>
<div class="airline-name">Brussels Airlines • SN 4236</div>
<div class="times">
<div>
<div class="time-big">16:43</div>
<div class="location">AMS</div>
</div>
<div class="duration">
<div>18h 22m</div>
<div class="bar"></div>
<div>4 stops</div>
</div>
<div style="text-align:right">
<div class="time-big">11:05<span class="plus1">+1</span></div>
<div class="location" style="text-align:right">BER</div>
</div>
</div>
</div>
<div class="price">
<div class="old-price">₹23901</div>
<div class="new-price">₹23266</div>
</div>
</div>
<!-- Bottom filter bar -->
<div class="bottom-bar">
<div class="bottom-item">
<svg class="svg" viewBox="0 0 24 24"><path d="M3 4h18l-7 8v6l-4-2v-4L3 4z" fill="#3e4b5f"/></svg>
<div>FILTER</div>
</div>
<div class="bottom-item">
<div class="toggle"></div>
<div>NON-STOP</div>
</div>
<div class="bottom-item">
<svg class="svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" stroke="#3e4b5f" stroke-width="2" fill="none"/><path d="M12 7v6l4 2" stroke="#3e4b5f" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
<div>TIME</div>
</div>
<div class="bottom-item">
<svg class="svg" viewBox="0 0 24 24"><path d="M2 17h20l-3-10H5L2 17zm5-12h10l1-2H6l1 2z" fill="#3e4b5f"/></svg>
<div>AIRLINE</div>
</div>
<div class="bottom-item">
<svg class="svg" viewBox="0 0 24 24"><path d="M4 10h16v2H4v-2zm0-6h12v2H4V4zm0 12h8v2H4v-2z" fill="#3e4b5f"/></svg>
<div>SORT</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>