AndroidCode / code /10127 /10127_12.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
11.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>UI Render</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #fafafa;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #222;
}
/* Header */
.header {
position: relative;
height: 420px;
background: linear-gradient(180deg, #eac7cb 0%, #ffd8de 100%);
}
.decor-circle {
position: absolute; right: -80px; top: 140px;
width: 280px; height: 280px; border-radius: 50%;
background: radial-gradient(circle at 40% 40%, #ff8c8c, #e85c5c);
opacity: 0.9;
}
.icon-round {
position: absolute; top: 86px;
width: 92px; height: 92px; border-radius: 46px;
background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,0.15);
display: flex; align-items: center; justify-content: center;
}
.back { left: 30px; }
.currency { right: 190px; }
.cart { right: 70px; }
.search-area { position: absolute; left: 90px; right: 90px; top: 180px; }
.search-line {
display: flex; align-items: center; gap: 20px;
}
.search-line .city { font-size: 56px; font-weight: 800; letter-spacing: 0.2px; }
.search-line .count { font-size: 32px; color: #7b7b7b; margin-left: 10px; }
.search-line .edit { font-size: 32px; color: #2875ff; margin-left: 12px; font-weight: 600; }
.date-line { margin-top: 12px; font-size: 30px; color: #5b5b5b; }
/* Filter bar */
.filters {
position: relative;
width: 1000px; height: 110px;
margin: -30px auto 20px auto;
background: #fff; border-radius: 55px;
box-shadow: 0 10px 20px rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: space-between;
padding: 0 30px;
}
.filter-item { width: 31%; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 34px; color: #333; }
.filters .divider { width: 2px; height: 60px; background: #e9e9e9; }
/* Promo banner */
.promo {
width: 980px; margin: 20px auto 24px auto;
background: #dff5d7; border-radius: 26px;
padding: 24px 26px; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 18px;
}
.promo .text { font-size: 32px; color: #1f5f1f; font-weight: 700; line-height: 1.25; }
.promo .claim { color: #2875ff; font-size: 32px; font-weight: 800; }
/* Cards */
.card {
width: 1000px; margin: 20px auto; background: #fff; border-radius: 28px;
box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.card-img {
position: relative; height: 440px; margin: 20px;
border-radius: 26px; background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 36px;
}
.vip-badge {
position: absolute; left: 46px; top: 40px;
display: flex; align-items: center; overflow: hidden;
border-radius: 8px;
}
.vip-star {
width: 70px; height: 40px; background: #3b4a5c; display: flex; align-items: center; justify-content: center;
border-top-left-radius: 8px; border-bottom-left-radius: 8px;
}
.vip-label {
background: #cf7b4c; color: #fff; font-size: 26px; font-weight: 700;
padding: 6px 12px; border-top-right-radius: 8px; border-bottom-right-radius: 8px;
}
.img-count {
position: absolute; left: 56px; bottom: 40px;
background: rgba(0,0,0,0.4); color: #fff; font-size: 28px; padding: 10px 16px; border-radius: 16px;
}
.price-bubble {
position: absolute; right: 46px; top: 280px;
background: #fff; border-radius: 22px; box-shadow: 0 8px 18px rgba(0,0,0,0.18);
padding: 18px 24px; text-align: right;
}
.price-bubble .old { font-size: 28px; color: #8b8b8b; text-decoration: line-through; }
.price-bubble .new { font-size: 44px; color: #e53935; font-weight: 800; }
.card-content { padding: 0 30px 28px 30px; position: relative; }
.card-title { font-size: 44px; font-weight: 800; margin: 6px 0 18px 0; }
.title-icons { position: absolute; right: 26px; top: -6px; display: flex; gap: 26px; }
.tiny-btn { width: 64px; height: 64px; border-radius: 32px; background: #f0f0f3; display: flex; align-items: center; justify-content: center; }
.meta { display: flex; align-items: center; gap: 12px; color: #666; font-size: 30px; margin-bottom: 10px; }
.stars { display: inline-flex; gap: 6px; margin-right: 10px; }
.rating-line { font-size: 32px; margin: 4px 0 16px 0; }
.rating-line .score { color: #2875ff; font-weight: 800; }
.rating-line .good { color: #2875ff; font-weight: 800; text-decoration: none; margin-right: 10px; }
.free-pill {
display: inline-block; background: #d7f0d8; color: #276b31; font-size: 28px;
border-radius: 12px; padding: 10px 16px; margin-bottom: 12px; font-weight: 700;
}
.coupon { display: flex; align-items: center; gap: 10px; color: #333; font-size: 30px; }
.separator-line { width: 100%; height: 16px; background: #f0f2f6; }
/* Second card extras */
.blue-pill {
position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
display: flex; align-items: center; gap: 24px;
padding: 18px 28px; border-radius: 36px; background: #fff; color: #2d63ff;
border: 3px solid #2d63ff; box-shadow: 0 10px 20px rgba(45,99,255,0.25);
font-size: 32px; font-weight: 700;
}
.blue-pill .divider { width: 2px; height: 28px; background: #bcd0ff; }
/* Utility icons */
.svg-icon { width: 40px; height: 40px; }
.chev { width: 28px; height: 28px; }
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="decor-circle"></div>
<div class="icon-round back">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M15 6L9 12l6 6" stroke="#333" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="icon-round currency">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M6 8h8a4 4 0 010 8H6m8-12v16" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="icon-round cart">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M4 6h2l2 10h10l2-8H7" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="9" cy="20" r="1.8" fill="#333"/>
<circle cx="18" cy="20" r="1.8" fill="#333"/>
</svg>
</div>
<div class="search-area">
<div class="search-line">
<svg class="svg-icon" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#333" stroke-width="2" fill="none"/>
<path d="M20 20l-4-4" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div class="city">London</div>
<div class="count">(5022)</div>
<div class="edit">Edit</div>
</div>
<div class="date-line">Mon, Jan 15, 2024 - Tue, Jan 16, 2024 • 1 Guest</div>
</div>
</div>
<div class="filters">
<div class="filter-item">Filters
<svg class="chev" viewBox="0 0 24 24">
<path d="M6 9l6 6 6-6" stroke="#444" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="divider"></div>
<div class="filter-item">Price
<svg class="chev" viewBox="0 0 24 24">
<path d="M6 9l6 6 6-6" stroke="#444" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="divider"></div>
<div class="filter-item">Sort
<svg class="chev" viewBox="0 0 24 24">
<path d="M6 9l6 6 6-6" stroke="#444" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="promo">
<div>
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M4 7h9l7 7-6 6-7-7V7z" fill="#2c7a34"/>
<circle cx="8" cy="11" r="2" fill="#dff5d7"/>
</svg>
</div>
<div class="text">ONE-HOUR AGODASALE! Claim now to instantly lower prices by up to 10%</div>
<div class="claim">CLAIM</div>
</div>
<!-- Card 1 -->
<div class="card">
<div class="card-img">
[IMG: Hotel photo]
<div class="vip-badge">
<div class="vip-star">
<svg viewBox="0 0 24 24" width="26" height="26">
<path d="M12 3l3.2 6.5 7.1.9-5.2 4.7 1.5 7-6.6-3.7-6.6 3.7 1.5-7-5.2-4.7 7.1-.9L12 3z" fill="#fff"/>
</svg>
</div>
<div class="vip-label">VIP Deal</div>
</div>
<div class="img-count">1/5</div>
<div class="price-bubble">
<div class="old">₹ 36,108</div>
<div class="new">₹ 4,824</div>
</div>
</div>
<div class="card-content">
<div class="card-title">Berjaya Eden Park London Hotel</div>
<div class="title-icons">
<div class="tiny-btn">
<svg class="svg-icon" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2" fill="#333"/>
<circle cx="12" cy="8" r="2" fill="#333"/>
<circle cx="18" cy="12" r="2" fill="#333"/>
<path d="M6 12l6-4 6 4" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="tiny-btn">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M12 21s-7-4.5-7-10a4.5 4.5 0 019 0 4.5 4.5 0 019 0c0 5.5-7 10-7 10" fill="none" stroke="#777" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="meta">
<div class="stars">
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 3l3 6 6 .8-4.5 4 1.3 6-5.8-3.2-5.8 3.2 1.3-6-4.5-4 6-.8 3-6z" fill="#ff9f1a"/></svg>
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 3l3 6 6 .8-4.5 4 1.3 6-5.8-3.2-5.8 3.2 1.3-6-4.5-4 6-.8 3-6z" fill="#ff9f1a"/></svg>
<svg viewBox="0 0 24 24" width="28" height="28"><path d="M12 3l3 6 6 .8-4.5 4 1.3 6-5.8-3.2-5.8 3.2 1.3-6-4.5-4 6-.8 3-6z" fill="#ff9f1a"/></svg>
</div>
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M12 3a7 7 0 017 7c0 5-7 11-7 11S5 15 5 10a7 7 0 017-7zm0 9a2 2 0 100-4 2 2 0 000 4z" fill="#6b6b6b"/>
</svg>
Hyde Park - City center
</div>
<div class="rating-line">
<span class="score">7.1</span> <a href="#" class="good">Very good</a> 3,524 reviews
</div>
<div class="free-pill">Free cancellation</div>
<div class="coupon">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M3 8h14v8H3z" fill="#222"/>
<circle cx="6" cy="12" r="1.8" fill="#fff"/>
</svg>
WELCOMETOAGODA - ₹ 1,447 off!
</div>
</div>
</div>
<div class="separator-line"></div>
<!-- Card 2 (partial) -->
<div class="card" style="position: relative;">
<div class="card-img">
[IMG: Hotel photo]
<div class="img-count">1/5</div>
<div class="blue-pill">
<svg viewBox="0 0 24 24" width="32" height="32">
<path d="M12 3a7 7 0 017 7c0 5-7 11-7 11S5 15 5 10a7 7 0 017-7zm0 9a2 2 0 100-4 2 2 0 000 4z" fill="#2d63ff"/>
</svg>
Map
<div class="divider"></div>
<svg viewBox="0 0 24 24" width="30" height="30">
<path d="M12 21s-7-4.5-7-10a4.5 4.5 0 019 0 4.5 4.5 0 019 0c0 5.5-7 10-7 10" fill="#2d63ff"/>
</svg>
Saved
</div>
</div>
</div>
</div>
</body>
</html>