AndroidCode / code /10134 /10134_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
9.06 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Hotels UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #1f2937; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 32px 36px 0 36px;
box-sizing: border-box;
display: flex; align-items: center; justify-content: space-between;
color: #111827;
}
.status-time { font-size: 44px; letter-spacing: 0.5px; }
.status-icons { display: flex; align-items: center; gap: 26px; }
/* App bar */
.app-bar {
height: 140px;
display: flex; align-items: center; justify-content: center;
position: relative;
border-bottom: 1px solid #E5E7EB;
}
.app-title { font-size: 56px; font-weight: 600; }
.app-action { position: absolute; top: 50%; transform: translateY(-50%); }
.app-action.left { left: 32px; }
.app-action.right { right: 32px; }
/* Search card */
.search-section { padding: 36px 48px 0 48px; }
.search-card {
border: 1px solid #E5E7EB; border-radius: 36px; overflow: hidden;
background: #fff;
}
.row { display: flex; align-items: center; gap: 26px; padding: 34px 36px; font-size: 42px; }
.divider { height: 1px; background: #E5E7EB; margin: 0 36px; }
.muted { color: #6b7280; }
.bullet { margin: 0 10px; color: #6b7280; }
.search-btn {
margin-top: 20px;
margin-left: 48px; margin-right: 48px;
height: 120px; border-radius: 36px; background: #F28C28; color: #fff;
display: flex; align-items: center; justify-content: center; gap: 22px;
font-size: 44px; font-weight: 600;
}
/* Banner */
.banner {
margin: 34px 48px 0 48px;
background: #2D7BE5; border-radius: 36px; height: 300px;
display: flex; align-items: center; padding: 0 36px; box-sizing: border-box; color: #fff; gap: 36px;
}
.img-placeholder {
width: 240px; height: 220px; background: #E0E0E0;
border: 1px solid #BDBDBD; display: flex; justify-content: center; align-items: center;
color: #757575; border-radius: 16px; text-align: center; font-size: 28px; padding: 12px; box-sizing: border-box;
}
.banner-text { font-size: 42px; line-height: 1.2; font-weight: 600; }
/* Sections */
.section-title {
font-size: 48px; font-weight: 700; margin: 48px 48px 20px 48px; color: #1f2937;
}
/* Offers carousel */
.offers {
margin: 0 48px; display: flex; gap: 24px; overflow: hidden;
}
.offer-card {
width: 936px; height: 440px; border-radius: 36px; background: #F7EDE3;
position: relative; padding: 36px; box-sizing: border-box; flex: 0 0 auto;
display: flex; gap: 30px; align-items: center;
}
.offer-card.dark { background: #111827; color: #fff; }
.offer-content { flex: 1; }
.offer-title { font-size: 42px; font-weight: 700; color: #1f2937; }
.offer-title.light { color: #ffffff; }
.code-pill {
display: inline-block; margin-top: 18px; padding: 12px 18px; border-radius: 18px;
background: #F28C28; color: #fff; font-size: 32px; font-weight: 700;
}
.pager {
margin: 22px auto 0 auto; width: 140px; height: 18px; background: #E5E7EB; border-radius: 9px;
}
.pager-dot {
width: 34px; height: 18px; background: #2D7BE5; border-radius: 9px;
transform: translateX(52px);
}
/* Why Book */
.benefits {
margin: 20px 48px 0 48px; display: flex; gap: 24px;
}
.benefit-card {
width: 320px; height: 220px; border-radius: 28px; background: #EAF7E9;
padding: 24px; box-sizing: border-box;
}
.benefit-title { font-size: 36px; font-weight: 700; color: #1f2937; margin-top: 12px; }
/* Gesture bar */
.gesture {
position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
width: 360px; height: 18px; background: rgba(0,0,0,0.8); border-radius: 9px;
}
/* Simple icon defaults */
svg { display: block; }
.icon { width: 48px; height: 48px; }
.icon.large { width: 54px; height: 54px; }
.icon-stroke { stroke: #1f2937; stroke-width: 3; fill: none; }
.icon-fill { fill: #1f2937; }
.icon-muted { stroke: #6b7280; fill: none; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-time">10:49</div>
<div class="status-icons">
<!-- Network icon -->
<svg class="icon" viewBox="0 0 24 24">
<path class="icon-fill" d="M3 17h4l9-9 5-1-1 5-9 9H7L3 17z"></path>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" class="icon-stroke"></rect>
<rect x="20" y="9" width="2" height="6" class="icon-fill"></rect>
<rect x="4" y="8" width="10" height="8" rx="1" class="icon-fill"></rect>
</svg>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="app-action left">
<!-- Back chevron -->
<svg class="icon large" viewBox="0 0 24 24">
<path class="icon-stroke" d="M15 19L8 12l7-7"></path>
</svg>
</div>
<div class="app-title">Hotels</div>
<div class="app-action right">
<!-- Heart outline -->
<svg class="icon large" viewBox="0 0 24 24">
<path class="icon-stroke" d="M12 20s-7-4.5-9-8.5C1 7.6 3.6 5 6.6 5c1.8 0 3.4.9 4.4 2.3C12.9 5.9 14.5 5 16.3 5 19.3 5 22 7.6 21 11.5 19 15.5 12 20 12 20z"></path>
</svg>
</div>
</div>
<!-- Search Card -->
<div class="search-section">
<div class="search-card">
<div class="row">
<!-- Location pin -->
<svg class="icon" viewBox="0 0 24 24">
<path class="icon-stroke" d="M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z"></path>
<circle cx="12" cy="10" r="3" class="icon-stroke"></circle>
</svg>
<div>Goa</div>
</div>
<div class="divider"></div>
<div class="row">
<!-- Calendar left -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="2" class="icon-stroke"></rect>
<line x1="3" y1="9" x2="21" y2="9" class="icon-stroke"></line>
<line x1="8" y1="3" x2="8" y2="7" class="icon-stroke"></line>
<line x1="16" y1="3" x2="16" y2="7" class="icon-stroke"></line>
</svg>
<div>Mon, 25 Dec <span class="bullet"></span> Tue, 26 Dec</div>
</div>
<div class="divider"></div>
<div class="row">
<!-- Person icon -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" class="icon-stroke"></circle>
<path class="icon-stroke" d="M4 20c0-4 4-6 8-6s8 2 8 6"></path>
</svg>
<div>1 Room <span class="bullet"></span> 2 Adults</div>
</div>
</div>
<div class="search-btn">
<!-- Search icon -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#ffffff" stroke-width="3" fill="none"></circle>
<line x1="16.5" y1="16.5" x2="21" y2="21" stroke="#ffffff" stroke-width="3"></line>
</svg>
<span>Search Hotels</span>
</div>
</div>
<!-- Sign-in Banner -->
<div class="banner">
<div class="img-placeholder">[IMG: Hand holding phone]</div>
<div class="banner-text">Sign in to get the best deals on hotel bookings</div>
</div>
<!-- Offers Section -->
<div class="section-title">Offers For You</div>
<div class="offers">
<div class="offer-card">
<div class="img-placeholder" style="width: 280px; height: 300px;">[IMG: Hotel reception illustration]</div>
<div class="offer-content">
<div class="offer-title">Get upto 25% off on Hotels</div>
<div class="code-pill">Code: IXISTAY</div>
</div>
</div>
<div class="offer-card dark">
<div class="offer-content">
<div class="offer-title light">Get Flat off on Hotels</div>
<div class="code-pill" style="background:#F28C28; color:#fff;">Code: IXIGO</div>
</div>
</div>
</div>
<div class="pager"><div class="pager-dot"></div></div>
<!-- Why Book Section -->
<div class="section-title" style="margin-top: 46px;">Why Book With ixigo?</div>
<div class="benefits">
<div class="benefit-card">
<div class="img-placeholder" style="width: 80px; height: 80px;">[IMG: Support icon]</div>
<div class="benefit-title">24x7 support</div>
</div>
<div class="benefit-card" style="background:#E6F5EC;">
<div class="img-placeholder" style="width: 80px; height: 80px;">[IMG: Map pins]</div>
<div class="benefit-title">Largest selection of hotels</div>
</div>
<div class="benefit-card">
<div class="img-placeholder" style="width: 80px; height: 80px;">[IMG: Easy booking]</div>
<div class="benefit-title">Easy booking & cancellations</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>