AndroidCode / code /10127 /10127_13.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
13.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search Results UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; color: #222; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #ffffff;
}
/* Top hero area */
.hero {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 520px;
background: linear-gradient(180deg, #e8c9cc 0%, #f7d7db 50%, #f7d7db 100%);
border-bottom-left-radius: 40px;
border-bottom-right-radius: 40px;
}
.hero .accent-circle {
position: absolute;
right: -120px;
top: 170px;
width: 380px;
height: 380px;
border-radius: 50%;
background: radial-gradient(circle at 60% 40%, #ff8d8d, #e45454);
opacity: 0.85;
}
/* Back button and quick actions */
.back-btn {
position: absolute;
top: 120px;
left: 40px;
width: 110px;
height: 110px;
background: #fff;
border-radius: 55px;
box-shadow: 0 8px 16px rgba(0,0,0,0.12);
display: flex;
align-items: center;
justify-content: center;
}
.quick-actions {
position: absolute;
top: 120px;
right: 40px;
display: flex;
gap: 22px;
}
.quick-actions .bubble {
width: 110px;
height: 110px;
background: #fff;
border-radius: 55px;
box-shadow: 0 8px 16px rgba(0,0,0,0.12);
display: flex;
align-items: center;
justify-content: center;
}
/* Search title area */
.search-header {
position: absolute;
top: 260px;
left: 160px;
right: 160px;
color: #111;
}
.search-header .line1 {
display: flex;
align-items: baseline;
gap: 20px;
}
.search-header .city {
font-size: 64px;
font-weight: 800;
line-height: 1;
}
.search-header .count {
font-size: 44px;
color: #8a8d96;
font-weight: 600;
}
.search-header .edit {
font-size: 44px;
color: #2a73ff;
font-weight: 700;
}
.search-header .dates {
margin-top: 14px;
font-size: 32px;
color: #4b4f58;
}
/* Filter pill row */
.filters-row {
position: absolute;
top: 400px;
left: 60px;
width: 960px;
height: 120px;
background: #fff;
border-radius: 60px;
box-shadow: 0 10px 20px rgba(0,0,0,0.12);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
gap: 30px;
}
.filters-row .segment {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
font-size: 34px;
color: #2c2f35;
font-weight: 700;
}
.filters-row .divider {
width: 2px;
height: 60px;
background: #e9eaef;
}
/* Green promo banner */
.promo {
position: absolute;
top: 560px;
left: 40px;
width: 1000px;
min-height: 140px;
background: #dff4dc;
border-radius: 24px;
display: flex;
align-items: center;
padding: 26px 30px;
gap: 24px;
color: #185c2c;
font-size: 40px;
font-weight: 800;
}
.promo .claim {
margin-left: auto;
color: #2a73ff;
font-weight: 900;
}
.promo .sub {
font-weight: 600;
color: #185c2c;
font-size: 34px;
}
/* List area base */
.list {
position: absolute;
top: 720px;
left: 0;
right: 0;
padding: 0 40px 40px;
}
/* Card */
.card {
width: 1000px;
background: #fff;
border-radius: 28px;
box-shadow: 0 8px 16px rgba(0,0,0,0.06);
margin: 22px auto 46px;
overflow: visible;
}
.card .image {
position: relative;
width: 100%;
height: 520px;
border-radius: 28px;
overflow: hidden;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-weight: 700;
font-size: 34px;
}
.badge {
position: absolute;
top: 20px;
left: 20px;
background: #f2a66c;
color: #1b1b1b;
border-radius: 18px;
padding: 12px 18px;
display: flex;
align-items: center;
gap: 10px;
font-size: 32px;
font-weight: 800;
}
.img-count {
position: absolute;
bottom: 16px;
left: 24px;
background: rgba(0,0,0,0.55);
color: #fff;
border-radius: 14px;
padding: 8px 14px;
font-size: 28px;
font-weight: 700;
}
.price-sticker {
position: absolute;
bottom: -36px;
right: 20px;
background: #fff;
border-radius: 20px;
box-shadow: 0 8px 18px rgba(0,0,0,0.18);
padding: 18px 24px;
width: 240px;
text-align: right;
}
.price-sticker .old {
color: #8a8d96;
text-decoration: line-through;
font-size: 28px;
font-weight: 700;
}
.price-sticker .new {
color: #e53935;
font-size: 44px;
font-weight: 900;
margin-top: 6px;
}
.card .content {
padding: 36px 26px 28px;
}
.card .title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}
.card .title {
font-size: 52px;
font-weight: 800;
color: #16202a;
line-height: 1.15;
max-width: 760px;
}
.actions {
display: flex;
align-items: center;
gap: 26px;
}
.meta {
margin-top: 16px;
display: flex;
align-items: center;
gap: 10px;
color: #646b77;
font-size: 32px;
font-weight: 700;
}
.rating-line {
margin-top: 16px;
font-size: 36px;
font-weight: 800;
color: #2a73ff;
}
.rating-line span {
color: #555c68;
font-weight: 700;
font-size: 32px;
}
.pill {
display: inline-block;
margin-top: 18px;
background: #e2f5e0;
color: #2e7d32;
padding: 12px 18px;
border-radius: 14px;
font-size: 30px;
font-weight: 800;
}
.offer-line {
margin-top: 12px;
color: #3a3f47;
font-size: 30px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}
.divider {
height: 1px;
background: #e6e8ee;
margin: 18px -26px 0;
}
/* Second card preview controls */
.map-saved {
position: absolute;
bottom: -30px;
left: 50%;
transform: translateX(-50%);
background: #fff;
border: 3px solid #3f72ff;
border-radius: 36px;
padding: 18px 28px;
color: #2563ff;
font-weight: 900;
font-size: 34px;
display: flex;
align-items: center;
gap: 26px;
box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.map-saved .divider-dot {
width: 2px; height: 34px; background: #c7d2ff;
}
.discount-tag {
position: absolute;
bottom: 12px;
right: 20px;
background: #e53935;
color: #fff;
font-weight: 900;
font-size: 30px;
border-top-left-radius: 14px;
border-bottom-left-radius: 14px;
padding: 10px 18px;
}
/* Bottom home indicator bar */
.home-indicator {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 12px;
background: #111;
border-radius: 8px;
opacity: 0.9;
}
/* Simple helper styles for SVG icons */
.icon { width: 44px; height: 44px; }
.icon.small { width: 34px; height: 34px; }
.icon.tiny { width: 26px; height: 26px; }
</style>
</head>
<body>
<div id="render-target">
<div class="hero">
<div class="accent-circle"></div>
</div>
<!-- Back button -->
<div class="back-btn">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 4 L7 12 L15 20" stroke="#333" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Quick actions: currency and cart -->
<div class="quick-actions">
<div class="bubble">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="8" cy="8" r="3" fill="#333"/>
<circle cx="16" cy="16" r="3" fill="#333"/>
<path d="M6 18 c4-5 8-9 12-12" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="bubble">
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 6 H20 L18 16 H8 L6 6 Z" fill="#333"/>
<circle cx="10" cy="19" r="2" fill="#333"/>
<circle cx="16" cy="19" r="2" fill="#333"/>
</svg>
</div>
</div>
<!-- Search header -->
<div class="search-header">
<div class="line1">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" stroke="#111" stroke-width="2.5" fill="none"/>
<path d="M15 15 L21 21" stroke="#111" stroke-width="2.5" stroke-linecap="round"/>
</svg>
<div class="city">London</div>
<div class="count">(5022)</div>
<div class="edit">Edit</div>
</div>
<div class="dates">Mon, Jan 15, 2024 - Tue, Jan 16, 2024 • 1 Guest</div>
</div>
<!-- Filters pill row -->
<div class="filters-row">
<div class="segment">
Filters
<svg class="icon small" viewBox="0 0 24 24">
<path d="M6 8 H18 M8 12 H16 M10 16 H14" stroke="#333" stroke-width="2" stroke-linecap="round"/>
</svg>
<svg class="icon small" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="divider"></div>
<div class="segment">
Price
<svg class="icon small" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="divider"></div>
<div class="segment">
Sort
<svg class="icon small" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Promo banner -->
<div class="promo">
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 7 L13 7 L20 14 L14 20 L7 13 L7 3 Z" fill="#1a7b41"/>
<circle cx="8" cy="10" r="2" fill="#dff4dc"/>
</svg>
<div>
ONE-HOUR AGODASALE! Claim now
<div class="sub">to instantly lower prices by up to 10%</div>
</div>
<div class="claim">CLAIM</div>
</div>
<!-- List of cards -->
<div class="list">
<!-- Card 1 -->
<div class="card">
<div class="image">
[IMG: Hotel Building Exterior]
<div class="badge">
<svg class="icon tiny" viewBox="0 0 24 24">
<path d="M12 3 L15 9 L22 9 L16.5 13 L18.8 20 L12 16 L5.2 20 L7.5 13 L2 9 L9 9 Z" fill="#333"/>
</svg>
VIP Deal
</div>
<div class="img-count">1/5</div>
<div class="price-sticker">
<div class="old">₹ 36,108</div>
<div class="new">₹ 4,824</div>
</div>
</div>
<div class="content">
<div class="title-row">
<div class="title">Berjaya Eden Park London Hotel</div>
<div class="actions">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2" fill="#61666f"/>
<circle cx="12" cy="8" r="2" fill="#61666f"/>
<circle cx="18" cy="4" r="2" fill="#61666f"/>
<path d="M7.6 11 L10.8 9.6 L16.2 6.8" stroke="#61666f" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 21 C12 21 4 15 4 9 A4 4 0 0 1 12 8 A4 4 0 0 1 20 9 C20 15 12 21 12 21 Z" fill="none" stroke="#8a8d96" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="meta">
<svg class="icon tiny" viewBox="0 0 24 24">
<path d="M12 2 C8 2 6 5 6 8 C6 12 12 20 12 20 C12 20 18 12 18 8 C18 5 16 2 12 2 Z" fill="none" stroke="#777" stroke-width="2"/>
<circle cx="12" cy="8" r="2.5" fill="#777"/>
</svg>
Hyde Park - City center
</div>
<div class="rating-line">7.1 Very good <span>3,524 reviews</span></div>
<div class="pill">Free cancellation</div>
<div class="offer-line">
<svg class="icon tiny" viewBox="0 0 24 24">
<path d="M3 7 L13 7 L20 14 L14 20 L7 13 L7 3 Z" fill="#555"/>
<circle cx="8" cy="10" r="2" fill="#fff"/>
</svg>
WELCOMETOAGODA - ₹ 1,447 off!
</div>
<div class="divider"></div>
</div>
</div>
<!-- Card 2 (partial view) -->
<div class="card">
<div class="image" style="height: 520px;">
[IMG: Historic Hotel at Dusk]
<div class="map-saved">
<svg class="icon small" viewBox="0 0 24 24">
<path d="M12 2 C8 2 6 5 6 8 C6 12 12 20 12 20 C12 20 18 12 18 8 C18 5 16 2 12 2 Z" fill="none" stroke="#2563ff" stroke-width="2"/>
<circle cx="12" cy="8" r="2.5" fill="#2563ff"/>
</svg>
Map
<div class="divider-dot"></div>
<svg class="icon small" viewBox="0 0 24 24">
<path d="M12 21 C12 21 4 15 4 9 A4 4 0 0 1 12 8 A4 4 0 0 1 20 9 C20 15 12 21 12 21 Z" fill="none" stroke="#2563ff" stroke-width="2"/>
</svg>
Saved
</div>
<div class="discount-tag">-47% TODAY</div>
<div class="img-count">1/5</div>
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>