AndroidCode / code /10127 /10127_11.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
9.08 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>All rooms UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #F5F6FA;
}
/* Top decorative header */
.header {
position: relative;
height: 620px;
background: linear-gradient(180deg, #f7d1d6 0%, #f6cbd3 100%);
}
.header::after{
content:"";
position:absolute;
right:-120px;
bottom:40px;
width:520px;
height:520px;
border-radius:50%;
background: radial-gradient(circle at 40% 40%, #ff7a87 0%, #f25b6b 55%, #ed5666 80%);
opacity: 0.35;
}
/* Back button */
.back-btn {
position: absolute;
top: 160px;
left: 48px;
width: 96px;
height: 96px;
border-radius: 50%;
background: #fff;
box-shadow: 0 8px 18px rgba(0,0,0,0.15);
display: flex;
align-items: center;
justify-content: center;
}
/* Currency pill */
.currency {
position: absolute;
top: 160px;
right: 48px;
background: #fff;
border-radius: 50px;
box-shadow: 0 8px 18px rgba(0,0,0,0.15);
padding: 20px 28px;
display: flex;
align-items: center;
gap: 16px;
}
.currency .icon-wrap{
width: 56px; height: 56px;
border-radius: 28px;
background: #F2F3F7;
display:flex; align-items:center; justify-content:center;
}
.currency span { font-weight: 700; color: #222; font-size: 32px; }
.title {
position: absolute;
left: 48px;
top: 300px;
font-size: 72px;
font-weight: 800;
color: #222;
}
/* Search card */
.card {
position: relative;
width: 996px;
margin: 0 auto;
top: -70px;
background: #fff;
border-radius: 36px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
padding-bottom: 44px;
}
.tabs {
display: flex;
gap: 48px;
padding: 36px 40px 20px 40px;
align-items: center;
border-bottom: 1px solid #E4E7F2;
position: relative;
}
.tab {
font-size: 38px;
font-weight: 700;
color: #6a7ab0;
}
.tab.active { color: #2D6BFF; }
.active-underline {
position: absolute;
left: 40px;
bottom: -1px;
width: 160px;
height: 8px;
background: #2D6BFF;
border-radius: 4px;
}
.badge-new {
position: absolute;
top: -22px;
left: 330px;
background: #E53935;
color: #fff;
font-weight: 700;
font-size: 28px;
padding: 10px 18px;
border-radius: 10px;
box-shadow: 0 6px 14px rgba(229,57,53,0.35);
}
.fields {
padding: 28px 40px 0 40px;
}
.pill {
height: 116px;
border-radius: 58px;
background: #eef1f7;
display: flex;
align-items: center;
padding: 0 36px;
font-size: 40px;
color: #1c1f29;
margin-bottom: 24px;
gap: 24px;
}
.pill .icon {
width: 56px; height: 56px;
display:flex; align-items:center; justify-content:center;
}
.dates{
display:flex;
gap: 28px;
margin-bottom: 24px;
}
.pill.small{ flex:1; }
.card-actions{
display:flex;
align-items:center;
gap: 28px;
padding: 20px 40px 0 40px;
}
.circle-outline {
width: 120px;
height: 120px;
border-radius: 60px;
border: 3px solid #2D6BFF;
display:flex; align-items:center; justify-content:center;
color:#2D6BFF;
background:#fff;
}
.search-btn{
flex:1;
height: 120px;
border-radius: 60px;
background: #2D6BFF;
color:#fff;
font-size: 46px;
font-weight:700;
border:none;
}
/* Discount section */
.section-title{
margin: 40px 48px 20px 48px;
font-size: 56px;
font-weight: 800;
color:#222;
}
.coupon-row{
display:flex;
gap: 24px;
padding: 0 40px;
}
.coupon-card{
width: 480px;
border: 2px solid #D5DBF2;
border-radius: 28px;
background:#fff;
box-shadow: 0 10px 22px rgba(0,0,0,0.06);
padding: 24px;
display:flex;
gap: 22px;
}
.coupon-img{
width: 160px; height: 160px;
background:#E0E0E0;
border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center;
color:#757575; font-weight:700; text-align:center; font-size:24px;
border-radius: 16px;
}
.coupon-body{
flex:1;
display:flex; flex-direction:column; gap:8px;
}
.coupon-title{
font-size: 42px; font-weight: 800; color:#1f2430; line-height: 1.2;
}
.coupon-sub{
font-size: 30px; color:#5a6072;
}
.coupon-link{
margin-top:auto;
color:#2D6BFF;
font-weight:700;
font-size: 36px;
}
/* Bottom system bar imitation */
.system-bar{
position:absolute;
left:0; right:0; bottom:0;
height: 120px;
background:#000;
}
.home-indicator{
position:absolute;
left:50%;
transform:translateX(-50%);
bottom:32px;
width: 220px; height: 14px;
background:#fff; border-radius: 7px; opacity:0.85;
}
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M14 6 L8 12 L14 18" stroke="#222" stroke-width="2.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="currency">
<div class="icon-wrap">
<svg width="30" height="30" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#70757a" stroke-width="1.8"/>
<text x="8" y="16" font-size="10" fill="#70757a"></text>
</svg>
</div>
<span>INR</span>
</div>
<div class="title">All rooms</div>
</div>
<div class="card">
<div class="tabs">
<div class="tab active">Overnight</div>
<div class="tab">Day Use</div>
<div class="active-underline"></div>
<div class="badge-new">New!</div>
</div>
<div class="fields">
<div class="pill">
<div class="icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#3b4252" stroke-width="2" fill="none"/>
<line x1="15" y1="15" x2="22" y2="22" stroke="#3b4252" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div>London</div>
</div>
<div class="dates">
<div class="pill small">
<div class="icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="3" fill="none" stroke="#303643" stroke-width="2"/>
<line x1="7" y1="3" x2="7" y2="7" stroke="#303643" stroke-width="2" stroke-linecap="round"/>
<line x1="17" y1="3" x2="17" y2="7" stroke="#303643" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div>Mon, Jan 15, 2024</div>
</div>
<div class="pill small">
<div class="icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="3" fill="none" stroke="#303643" stroke-width="2"/>
<line x1="7" y1="3" x2="7" y2="7" stroke="#303643" stroke-width="2" stroke-linecap="round"/>
<line x1="17" y1="3" x2="17" y2="7" stroke="#303643" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div>Tue, Jan 16, 2024</div>
</div>
</div>
<div class="pill">
<div class="icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="#303643"/>
<path d="M4 20c2-4 14-4 16 0" stroke="#303643" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div>1 room 1 adult</div>
</div>
</div>
<div class="card-actions">
<div class="circle-outline">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M12 3c3.3 0 6 2.6 6 5.9 0 4.9-6 11.1-6 11.1S6 13.8 6 8.9C6 5.6 8.7 3 12 3z" fill="none" stroke="#2D6BFF" stroke-width="2"/>
<circle cx="12" cy="9" r="2" fill="#2D6BFF"/>
</svg>
</div>
<button class="search-btn">Search</button>
</div>
</div>
<div class="section-title">Discount Coupons</div>
<div class="coupon-row">
<div class="coupon-card">
<div class="coupon-img">[IMG: Coupon 5% OFF]</div>
<div class="coupon-body">
<div class="coupon-title">UP TO ₹8,000 …</div>
<div class="coupon-sub">* No minimum spend required. | Offer expires in 3 days!</div>
<div class="coupon-link">Get coupon</div>
</div>
</div>
<div class="coupon-card">
<div class="coupon-img">[IMG: Coupon 8% OFF]</div>
<div class="coupon-body">
<div class="coupon-title">UP TO 8% OFF</div>
<div class="coupon-sub">Min. spend applies. Offer expires soon.</div>
<div class="coupon-link">Get coupon</div>
</div>
</div>
</div>
<div class="system-bar">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>