AndroidCode / code /10134 /10134_11.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
11.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hotel Listing - Berlin</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1f2937; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden; background: #ffffff;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; width: 100%; height: 110px; padding: 28px 40px 0 40px; box-sizing: border-box; color: #333;
display: flex; align-items: center; justify-content: space-between; font-size: 34px; letter-spacing: 0.5px;
}
.status-icons { display: flex; gap: 24px; align-items: center; }
.icon { width: 36px; height: 36px; }
/* Header pill */
.header {
position: absolute; top: 120px; left: 0; width: 100%; padding: 0 80px; box-sizing: border-box;
}
.header-pill {
background: #f2f3f5; border-radius: 80px; height: 160px; display: flex; align-items: center; position: relative;
box-shadow: 0 0 0 rgba(0,0,0,0);
}
.back-btn { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.fav-outline { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.header-center { width: 100%; text-align: center; }
.header-title { font-weight: 600; font-size: 44px; color: #202124; margin-top: 20px; }
.header-sub { font-size: 30px; color: #6b7280; margin-top: 6px; }
.divider { position: absolute; top: 310px; left: 0; width: 100%; height: 2px; background: #e5e7eb; }
.content { position: absolute; top: 330px; left: 0; width: 100%; padding: 0 40px 220px; box-sizing: border-box; }
.section-title { font-size: 34px; color: #374151; margin: 24px 0 28px; }
/* Card */
.card { margin-bottom: 54px; }
.photo {
position: relative; width: 1000px; height: 520px; background: #E0E0E0;
border: 1px solid #BDBDBD; border-radius: 36px; overflow: hidden;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 32px;
}
.photo .fav {
position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; background: rgba(255,255,255,0.85);
border-radius: 32px; display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: #d1d5db; }
.dot.active { background: #1e78e8; }
.title-row { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; width: 1000px; }
.hotel-title { font-size: 44px; font-weight: 700; color: #1f2937; }
.stars { margin-left: 14px; display: inline-flex; gap: 6px; vertical-align: middle; }
.star { width: 28px; height: 28px; }
.star.gray path { fill: #c4c7cc; }
.subline { margin-top: 8px; font-size: 30px; color: #6b7280; }
.bullet { margin: 0 10px; color: #9ca3af; }
.meta-row { margin-top: 22px; display: flex; align-items: flex-start; justify-content: space-between; width: 1000px; }
.rating-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.badge { background: #eaf3ff; color: #1e78e8; font-weight: 700; font-size: 30px; padding: 8px 16px; border-radius: 12px; }
.excellent { color: #1e78e8; font-weight: 600; font-size: 30px; }
.ratings { color: #6b7280; font-size: 30px; }
.price-block { text-align: right; }
.price { font-size: 52px; font-weight: 800; color: #25314d; }
.price-sub { font-size: 28px; color: #6b7280; margin-top: 6px; }
.amenities { margin-top: 22px; font-size: 30px; color: #179a4f; display: flex; align-items: center; gap: 10px; }
.check { width: 28px; height: 28px; }
/* Bottom filter bar */
.filters-bar {
position: absolute; bottom: 96px; left: 0; width: 100%; height: 180px; border-top: 2px solid #e5e7eb; background: #ffffff;
display: flex; align-items: center; justify-content: space-around; padding: 0 40px; box-sizing: border-box;
}
.filter-item { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #6b7280; }
.filter-icon { width: 60px; height: 60px; }
.filter-label { font-size: 26px; }
/* Home indicator */
.home-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 300px; height: 12px; background: #0a0a0a; border-radius: 8px; opacity: 0.9; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>10:52</div>
<div class="status-icons">
<!-- Simple network icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 17h2a9 9 0 0114 0h2a11 11 0 00-18 0z" fill="#6b7280"></path>
<circle cx="12" cy="17" r="2" fill="#6b7280"></circle>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 18">
<rect x="1" y="3" width="22" height="12" rx="2" fill="none" stroke="#6b7280" stroke-width="2"></rect>
<rect x="3" y="5" width="16" height="8" rx="1" fill="#6b7280"></rect>
<rect x="24" y="6" width="3" height="6" rx="1" fill="#6b7280"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-pill">
<svg class="back-btn" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#374151" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="header-center">
<div class="header-title">Berlin</div>
<div class="header-sub">23 Dec - 25 Dec • 1 room • 2 guests</div>
</div>
<svg class="fav-outline" viewBox="0 0 24 24">
<path d="M12 20s-7-4.35-7-9a4.2 4.2 0 017-2.6A4.2 4.2 0 0119 11c0 4.65-7 9-7 9z" fill="none" stroke="#374151" stroke-width="2"></path>
</svg>
</div>
</div>
<div class="divider"></div>
<!-- Content -->
<div class="content">
<div class="section-title">Showing 237 properties</div>
<!-- Card 1 -->
<div class="card">
<div class="photo">
[IMG: Novotel Berlin Mitte Hotel facade]
<div class="fav">
<svg viewBox="0 0 24 24" width="34" height="34">
<path d="M12 20s-7-4.35-7-9a4.2 4.2 0 017-2.6A4.2 4.2 0 0119 11c0 4.65-7 9-7 9z" fill="none" stroke="#6b7280" stroke-width="2"></path>
</svg>
</div>
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<div class="title-row">
<div class="hotel-title">Novotel Berlin Mitte Hotel
<span class="stars">
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star gray" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z"/></svg>
</span>
</div>
</div>
<div class="subline">
Mitte <span class="bullet"></span> 255 m from City Center
</div>
<div class="meta-row">
<div class="rating-info">
<div class="badge">8.3</div>
<div class="excellent">Excellent</div>
<div class="ratings">• 122 Ratings</div>
</div>
<div class="price-block">
<div class="price">₹6,242</div>
<div class="price-sub">+ ₹749 taxes & fees<br>per night, per room</div>
</div>
</div>
<div class="amenities">
<svg class="check" viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11" stroke="#179a4f" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
Free Wifi
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="photo">
[IMG: Hotel Nikolai Residence entrance with bicycles]
<div class="fav">
<svg viewBox="0 0 24 24" width="34" height="34">
<path d="M12 20s-7-4.35-7-9a4.2 4.2 0 017-2.6A4.2 4.2 0 0119 11c0 4.65-7 9-7 9z" fill="none" stroke="#6b7280" stroke-width="2"></path>
</svg>
</div>
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<div class="title-row">
<div class="hotel-title">Hotel Nikolai Residence
<span class="stars">
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#1f2937"/></svg>
<svg class="star gray" viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z"/></svg>
</span>
</div>
</div>
<div class="subline">
Mitte <span class="bullet"></span> 160 m from City Center
</div>
</div>
</div>
<!-- Bottom Filters -->
<div class="filters-bar">
<div class="filter-item">
<svg class="filter-icon" viewBox="0 0 24 24">
<path d="M3 5h18M6 12h12M10 19h4" stroke="#6b7280" stroke-width="2.2" stroke-linecap="round"></path>
</svg>
<div class="filter-label">Filter</div>
</div>
<div class="filter-item">
<svg class="filter-icon" viewBox="0 0 24 24">
<path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 18.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2z" fill="#6b7280"></path>
</svg>
<div class="filter-label">Rating</div>
</div>
<div class="filter-item">
<svg class="filter-icon" viewBox="0 0 24 24">
<text x="4" y="18" font-size="18" fill="#6b7280"></text>
<rect x="2" y="4" width="20" height="16" rx="4" fill="none" stroke="#6b7280" stroke-width="2"></rect>
</svg>
<div class="filter-label">Price</div>
</div>
<div class="filter-item">
<svg class="filter-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#6b7280" stroke-width="2"></circle>
<path d="M8 8l8 8M16 8l-8 8" stroke="#6b7280" stroke-width="2" stroke-linecap="round"></path>
</svg>
<div class="filter-label">Breakfast</div>
</div>
<div class="filter-item">
<svg class="filter-icon" viewBox="0 0 24 24">
<path d="M4 6h16M8 12h12M12 18h8" stroke="#6b7280" stroke-width="2.2" stroke-linecap="round"></path>
</svg>
<div class="filter-label">Sort</div>
</div>
</div>
<!-- Home Indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>