AndroidCode / code /10134 /10134_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
8.2 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, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Common */
.text-dark { color: #1F2A37; }
.text-muted { color: #6B7280; }
.divider { height: 1px; background: #E5E7EB; }
.icon-btn {
width: 96px; height: 96px;
border: none; background: transparent; padding: 0; cursor: pointer;
display: flex; align-items: center; justify-content: center;
}
.icon { width: 48px; height: 48px; }
/* Status bar */
.status-bar {
height: 120px; padding: 28px 40px 0 44px;
display: flex; align-items: center; justify-content: space-between;
color: #111827; font-size: 42px; letter-spacing: 0.5px;
}
.status-icons { display: flex; gap: 28px; align-items: center; }
.status-icons svg { width: 44px; height: 44px; stroke: #1F2937; }
/* App bar */
.app-bar {
height: 140px;
display: grid;
grid-template-columns: 120px 1fr 120px;
align-items: center;
padding: 0 32px;
}
.app-title {
text-align: center; font-weight: 700; font-size: 54px; color: #1F2937;
}
/* Search card */
.search-wrapper { padding: 20px 48px 0 48px; }
.search-card {
background: #FFFFFF;
border: 1px solid #E5E7EB;
border-radius: 36px;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
overflow: hidden;
}
.row {
display: flex; align-items: center; gap: 24px;
padding: 34px 36px;
font-size: 42px; color: #111827;
}
.row .text { font-weight: 600; }
.separator { height: 1px; background: #E5E7EB; }
.dates-row { justify-content: space-between; padding-right: 36px; }
.date-chip { display: flex; align-items: center; gap: 18px; color: #111827; }
.dash { color: #6B7280; font-size: 42px; }
.search-btn {
margin: 22px 0 0 0;
background: #F08A2E;
color: #FFFFFF;
font-size: 46px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
gap: 24px;
height: 120px;
border-radius: 32px;
}
/* Image placeholders */
.img-placeholder {
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex; align-items: center; justify-content: center;
text-align: center;
font-size: 40px;
border-radius: 36px;
}
/* Banner */
.banner { margin: 40px 48px 0 48px; height: 360px; }
/* Sections */
.section-title {
font-size: 56px; font-weight: 700; color: #1F2937;
margin: 56px 48px 28px 48px;
}
/* Offers carousel */
.offers-carousel {
display: flex; gap: 24px;
padding: 0 48px;
overflow: hidden;
}
.offer-card { width: 708px; height: 500px; border-radius: 36px; }
.dots {
display: flex; gap: 18px; align-items: center; justify-content: center;
margin: 24px 0 0 0;
}
.dot {
width: 26px; height: 10px; border-radius: 8px; background: #D1D5DB;
}
.dot.active { width: 26px; height: 10px; background: #3B82F6; }
/* Features */
.features-row {
display: flex; gap: 24px;
padding: 0 48px;
}
.feature-card { width: 316px; height: 280px; border-radius: 28px; }
/* Bottom gesture bar */
.gesture-area { position: absolute; left: 0; bottom: 0; width: 100%; height: 140px; background: #0000000A; }
.gesture-bar {
position: absolute; left: 50%; bottom: 36px;
transform: translateX(-50%);
width: 360px; height: 12px; background: #111827; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">10:50</div>
<div class="status-icons">
<!-- simple wifi -->
<svg viewBox="0 0 24 24" fill="none">
<path d="M2 8c5-4 15-4 20 0" stroke-width="2" />
<path d="M5 12c4-3 10-3 14 0" stroke-width="2" />
<path d="M8 16c3-2 5-2 8 0" stroke-width="2" />
<circle cx="12" cy="19" r="1.6" fill="#1F2937"></circle>
</svg>
<!-- battery -->
<svg viewBox="0 0 24 24" fill="none">
<rect x="2" y="6" width="18" height="12" rx="2" stroke-width="2"></rect>
<rect x="4" y="8" width="12" height="8" fill="#1F2937"></rect>
<rect x="20" y="10" width="2.5" height="4" rx="1" fill="#1F2937"></rect>
</svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<button class="icon-btn" aria-label="Back">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#111827" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"/>
</svg>
</button>
<div class="app-title">Hotels</div>
<button class="icon-btn" aria-label="Favorites">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#111827" stroke-width="2">
<path d="M12 21s-6.5-4.4-8.5-7.4C1.6 10.6 3 7.5 6 7.2c1.7-.2 3.2.6 4 2 0 0 .3-.6 1-1.2 1.5-1.4 4.4-1.3 5.8.5 1.8 2.2.7 5.2-1.3 7.2S12 21 12 21z"/>
</svg>
</button>
</div>
<div class="divider"></div>
<!-- Search card -->
<div class="search-wrapper">
<div class="search-card">
<div class="row location-row">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#111827" stroke-width="2">
<path d="M12 21s-6-6.4-6-10a6 6 0 1 1 12 0c0 3.6-6 10-6 10z"></path>
<circle cx="12" cy="11" r="2.5"></circle>
</svg>
<div class="text">Berlin</div>
</div>
<div class="separator"></div>
<div class="row dates-row">
<div class="date-chip">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#111827" stroke-width="2">
<rect x="3" y="5" width="18" height="16" rx="2"></rect>
<path d="M16 3v4M8 3v4M3 10h18"></path>
</svg>
<div>Mon, 25 Dec</div>
</div>
<div class="dash"></div>
<div class="date-chip">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#111827" stroke-width="2">
<rect x="3" y="5" width="18" height="16" rx="2"></rect>
<path d="M16 3v4M8 3v4M3 10h18"></path>
</svg>
<div>Tue, 26 Dec</div>
</div>
</div>
<div class="separator"></div>
<div class="row">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#111827" stroke-width="2">
<circle cx="9" cy="9" r="3"></circle>
<circle cx="16" cy="11" r="2.5"></circle>
<path d="M3 20a6 6 0 0 1 12 0"></path>
<path d="M13 20c.3-1.9 1.7-3.3 3.6-3.6 1.6-.3 3.4.4 4.4 1.6"></path>
</svg>
<div>1 Room • 2 Adults</div>
</div>
</div>
<div class="search-btn">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M20 20l-4-4"></path>
</svg>
<span>Search Hotels</span>
</div>
</div>
<!-- Sign-in banner -->
<div class="banner img-placeholder">[IMG: Sign-in promo for hotel bookings]</div>
<!-- Offers -->
<div class="section-title">Offers For You</div>
<div class="offers-carousel">
<div class="offer-card img-placeholder">[IMG: Offer - Get up to 25% off on Hotels]</div>
<div class="offer-card img-placeholder">[IMG: Offer - Credit card discount on Hotels]</div>
<div class="offer-card img-placeholder">[IMG: Offer - Limited-time hotel deals]</div>
</div>
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
</div>
<!-- Why Book section -->
<div class="section-title">Why Book With ixigo?</div>
<div class="features-row">
<div class="feature-card img-placeholder">[IMG: Free cancellation on select hotels]</div>
<div class="feature-card img-placeholder">[IMG: Pay at hotel option available]</div>
<div class="feature-card img-placeholder">[IMG: Best price guarantee]</div>
</div>
<!-- Gesture bar -->
<div class="gesture-area"></div>
<div class="gesture-bar"></div>
</div>
</body>
</html>