AndroidCode / code /10134 /10134_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
7.89 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, height=2400, initial-scale=1.0" />
<title>Hotels UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
color: #1f2937;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Global helpers */
.row {
display: flex;
align-items: center;
}
.spacer {
flex: 1;
}
.hairline {
height: 2px;
background: #e9edf3;
width: 100%;
}
.content {
padding: 0 48px;
}
/* Status bar */
.statusbar {
height: 120px;
padding: 36px 36px 0 36px;
font-size: 36px;
color: #111827;
}
.status-icons {
display: flex;
gap: 24px;
align-items: center;
}
.status-icon {
width: 40px;
height: 40px;
}
/* App bar */
.appbar {
height: 140px;
padding: 0 36px;
}
.appbar-title {
font-size: 52px;
font-weight: 600;
letter-spacing: 0.2px;
color: #0f172a;
}
.appbar-btn {
width: 88px;
height: 88px;
display: flex;
align-items: center;
justify-content: center;
}
.icon {
width: 48px;
height: 48px;
}
/* Search card */
.search-card {
margin: 24px 48px 0 48px;
border: 2px solid #e6e8ee;
border-radius: 36px;
overflow: hidden;
box-shadow: 0 2px 0 rgba(17, 24, 39, 0.03);
background: #ffffff;
}
.search-row {
padding: 36px 36px;
font-size: 38px;
color: #0f172a;
}
.search-row .label {
margin-left: 24px;
}
.search-row.small {
font-size: 34px;
color: #1f2937;
}
.divider {
height: 2px;
background: #e9edf3;
margin: 0 0;
}
.search-btn {
background: #ea8a35;
color: #ffffff;
font-size: 42px;
font-weight: 600;
padding: 36px 36px;
display: flex;
align-items: center;
gap: 18px;
}
/* Banner image placeholder */
.img-placeholder {
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.rounded {
border-radius: 36px;
}
/* Section titles */
.section-title {
font-size: 46px;
font-weight: 600;
margin: 48px 48px 24px 48px;
color: #111827;
}
/* Offer card carousel (single visible) */
.offer-card {
width: 984px;
height: 520px;
margin: 0 48px;
}
.pager {
display: flex;
gap: 18px;
justify-content: center;
align-items: center;
margin: 24px 0 36px 0;
}
.dot {
width: 24px;
height: 24px;
border-radius: 12px;
background: #e5e7eb;
}
.dot.active {
background: #3b82f6;
}
/* Why Book cards */
.why-row {
display: flex;
gap: 24px;
padding: 0 48px;
}
.why-card {
width: 320px;
height: 220px;
border-radius: 32px;
}
/* Bottom gesture bar */
.gesture {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 18px;
border-radius: 9px;
background: rgba(0,0,0,0.25);
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar row content">
<div>10:52</div>
<div class="spacer"></div>
<div class="status-icons">
<!-- Network -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M3 17h3v2H3v-2zm5-4h3v6H8v-6zm5-3h3v9h-3V10zm5-4h3v13h-3V6z" fill="#6b7280"></path>
</svg>
<!-- Battery -->
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" stroke="#6b7280" fill="none" stroke-width="2"></rect>
<rect x="20" y="10" width="2" height="4" fill="#6b7280"></rect>
<rect x="4" y="8" width="12" height="8" fill="#6b7280"></rect>
</svg>
</div>
</div>
<!-- App bar -->
<div class="appbar row">
<div class="appbar-btn">
<!-- Back chevron -->
<svg class="icon" viewBox="0 0 48 48">
<path d="M30 10 L16 24 L30 38" fill="none" stroke="#111827" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="spacer"></div>
<div class="appbar-title">Hotels</div>
<div class="spacer"></div>
<div class="appbar-btn">
<!-- Heart outline -->
<svg class="icon" viewBox="0 0 48 48">
<path d="M24 39s-12-8-16-14a10 10 0 0 1 16-12 10 10 0 0 1 16 12c-4 6-16 14-16 14z" fill="none" stroke="#111827" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<div class="hairline"></div>
<!-- Search card -->
<div class="search-card">
<div class="search-row row">
<!-- Location pin -->
<svg class="icon" viewBox="0 0 48 48">
<path d="M24 44s-14-16-14-24a14 14 0 1 1 28 0c0 8-14 24-14 24z" fill="none" stroke="#0f172a" stroke-width="3"></path>
<circle cx="24" cy="20" r="5" fill="none" stroke="#0f172a" stroke-width="3"></circle>
</svg>
<div class="label" style="font-weight:600;">Berlin</div>
</div>
<div class="divider"></div>
<div class="search-row row small" style="gap: 18px;">
<!-- Calendar icon -->
<svg class="icon" viewBox="0 0 48 48">
<rect x="6" y="10" width="36" height="28" rx="4" fill="none" stroke="#0f172a" stroke-width="3"></rect>
<path d="M12 6v8M36 6v8M6 18h36" stroke="#0f172a" stroke-width="3" stroke-linecap="round"></path>
</svg>
<div>Sat, 23 Dec</div>
<div style="color:#9ca3af; margin: 0 6px;"></div>
<svg class="icon" viewBox="0 0 48 48">
<rect x="6" y="10" width="36" height="28" rx="4" fill="none" stroke="#0f172a" stroke-width="3"></rect>
<path d="M12 6v8M36 6v8M6 18h36" stroke="#0f172a" stroke-width="3" stroke-linecap="round"></path>
</svg>
<div>Mon, 25 Dec</div>
</div>
<div class="divider"></div>
<div class="search-row row small">
<!-- Person icon -->
<svg class="icon" viewBox="0 0 48 48">
<circle cx="24" cy="16" r="7" fill="none" stroke="#0f172a" stroke-width="3"></circle>
<path d="M8 40c4-8 12-10 16-10s12 2 16 10" fill="none" stroke="#0f172a" stroke-width="3" stroke-linecap="round"></path>
</svg>
<div class="label">1 Room • 2 Adults</div>
</div>
<div class="search-btn row">
<!-- Search icon -->
<svg class="icon" viewBox="0 0 48 48">
<circle cx="22" cy="22" r="12" fill="none" stroke="#ffffff" stroke-width="3"></circle>
<path d="M34 34 L42 42" stroke="#ffffff" stroke-width="3" stroke-linecap="round"></path>
</svg>
<div>Search Hotels</div>
</div>
</div>
<!-- Sign-in banner placeholder -->
<div class="content" style="margin-top: 36px;">
<div class="img-placeholder rounded" style="width: 984px; height: 280px;">
[IMG: Sign-in deals on hotel bookings banner]
</div>
</div>
<!-- Offers For You -->
<div class="section-title">Offers For You</div>
<div class="offer-card img-placeholder rounded">
[IMG: Offer banner - Get up to 25% off on Hotels (Code: IXISTAY)]
</div>
<div class="pager">
<div class="dot active"></div>
<div class="dot"></div>
</div>
<!-- Why Book With ixigo? -->
<div class="section-title" style="margin-top: 24px;">Why Book With ixigo?</div>
<div class="why-row">
<div class="img-placeholder why-card">[IMG: 24x7 support card]</div>
<div class="img-placeholder why-card">[IMG: Largest selection of hotels card]</div>
<div class="img-placeholder why-card">[IMG: Best prices & deals card]</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>