AndroidCode / code /10127 /10127_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
8.64 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Agoda Style UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
position: relative; overflow: hidden;
width: 1080px; height: 2400px;
background: #ffffff;
}
.status-bar {
height: 120px; background: #8e8e8e; color: #fff;
display: flex; align-items: center; padding: 0 40px; font-size: 40px;
}
.header {
padding: 32px 48px 24px 48px; background: #fff; border-bottom: 1px solid #eee;
}
.brand-row {
display: flex; align-items: center; gap: 24px;
}
.logo-text {
font-size: 64px; font-weight: 600; letter-spacing: 1px; color: #555;
}
.badge {
display: inline-flex; align-items: center; gap: 10px;
background: #1e1e1e; color: #fff; border-radius: 16px; padding: 12px 18px; font-size: 34px;
}
.badge svg { width: 34px; height: 34px; fill: #fff; }
.badge.bronze { background: #c57b45; color: #fff; border-radius: 12px; padding: 12px 18px; }
.color-dots { margin-top: 20px; display: flex; gap: 18px; }
.dot { width: 26px; height: 26px; border-radius: 50%; }
.dot.red{background:#ff4d4d;} .dot.orange{background:#ff9f1c;} .dot.yellow{background:#ffd166;}
.dot.green{background:#06d6a0;} .dot.blue{background:#118ab2;} .dot.purple{background:#9b5de5;}
.tiles { padding: 24px 48px; }
.row { display: flex; gap: 36px; }
.tile {
flex: 1; border-radius: 36px; padding: 28px; position: relative;
box-shadow: 0 6px 14px rgba(0,0,0,0.06);
min-height: 300px;
}
.tile.small { min-height: 250px; flex: 1; }
.tile h3 { margin: 0; font-size: 46px; color: #222; }
.tile .art {
position: absolute; bottom: 20px; left: 20px; right: 20px; height: 160px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 34px; border-radius: 16px;
}
.bg-red { background: linear-gradient(135deg,#ffe2e2,#f7b0b0); }
.bg-purple { background: linear-gradient(135deg,#e8d9ff,#c4a6ff); }
.bg-rose { background: linear-gradient(135deg,#ffd9de,#f7a5ad); }
.bg-yellow { background: linear-gradient(135deg,#fff3cc,#ffd37a); }
.bg-green { background: linear-gradient(135deg,#e9f9d8,#b8e39c); }
.new-label {
position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
background: #ff4d4d; color: #fff; font-weight: 700; font-size: 30px;
padding: 8px 18px; border-radius: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.pager { display: flex; justify-content: center; gap: 14px; padding: 12px 0 24px 0; }
.pager .dotp { width: 14px; height: 14px; border-radius: 50%; background: #cdd2d6; }
.pager .dotp.active { background: #3f80ff; }
.coupon {
margin: 0 48px; padding: 28px 32px; border-radius: 60px;
border: 1px solid #dfe3e8; box-shadow: 0 8px 18px rgba(0,0,0,0.06);
display: flex; align-items: center; justify-content: space-between; gap: 24px;
font-size: 38px; color: #222;
}
.coupon .left { display: flex; align-items: center; gap: 22px; }
.ticket {
width: 86px; height: 86px; border-radius: 22px; background: #fff2f2; border: 1px dashed #ff6b6b;
display: flex; align-items: center; justify-content: center;
}
.claim-btn {
color: #3f80ff; font-weight: 700; font-size: 38px;
}
.section-title { font-size: 50px; font-weight: 700; color: #1a1a1a; padding: 28px 48px 18px 48px; }
.promo-row { display: flex; gap: 28px; padding: 0 48px; }
.promo-card {
flex: 1; height: 320px; border-radius: 36px; overflow: hidden;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px;
}
.toast {
position: absolute; left: 48px; right: 48px; bottom: 360px;
background: #2b2b2b; color: #fff; border-radius: 28px; padding: 30px 32px;
display: flex; align-items: center; justify-content: space-between; box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}
.toast .text { font-size: 40px; line-height: 1.3; }
.toast .sub { font-size: 32px; opacity: 0.9; }
.toast .close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; opacity: 0.9; }
.bottom-nav {
position: absolute; bottom: 0; left: 0; right: 0;
height: 180px; background: #fff; border-top: 1px solid #e6e6e6;
display: flex; justify-content: space-around; align-items: center;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #7a8a99; font-size: 28px; }
.nav-item.active { color: #3f80ff; }
.nav-icon { width: 54px; height: 54px; }
/* Simple utility */
.spacer-20 { height: 20px; }
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
10:31
</div>
<div class="header">
<div class="brand-row">
<div class="logo-text">agoda</div>
<div class="badge">
<svg viewBox="0 0 24 24"><path d="M12 2l3 6 6 .9-4.5 4.2 1.2 6.7L12 16l-5.7 3.8 1.2-6.7L3 8.9 9 8z"/></svg>
VIP
</div>
<div class="badge bronze">Bronze</div>
</div>
<div class="color-dots">
<div class="dot red"></div>
<div class="dot orange"></div>
<div class="dot yellow"></div>
<div class="dot green"></div>
<div class="dot blue"></div>
<div class="dot purple"></div>
</div>
</div>
<div class="tiles">
<div class="row">
<div class="tile bg-red">
<h3>Hotels</h3>
<div class="art">[IMG: Hotel Illustration]</div>
</div>
<div class="tile bg-purple">
<h3>Flights</h3>
<div class="art">[IMG: Plane Illustration]</div>
</div>
</div>
<div class="spacer-20"></div>
<div class="row">
<div class="tile small bg-rose">
<h3>Hourly Stay</h3>
<div class="art">[IMG: Clock + Building]</div>
</div>
<div class="tile small bg-yellow">
<div class="new-label">New!</div>
<h3>Activities</h3>
<div class="art">[IMG: Ferris Wheel]</div>
</div>
<div class="tile small bg-green">
<h3>Homes & Apts</h3>
<div class="art">[IMG: Houses Illustration]</div>
</div>
</div>
</div>
<div class="pager">
<div class="dotp active"></div>
<div class="dotp"></div>
</div>
<div class="coupon">
<div class="left">
<div class="ticket">
<svg viewBox="0 0 24 24" width="40" height="40">
<path d="M4 6h16v12H4zM6 9h4v2H6zm0 4h10v2H6z" fill="#ff6b6b"/>
</svg>
</div>
<div>10% Off Coupon for 1st App Booking</div>
</div>
<div class="claim-btn">Claim</div>
</div>
<div class="section-title">Promotions</div>
<div class="promo-row">
<div class="promo-card">[IMG: 12.12 Mega Sale Banner]</div>
<div class="promo-card">[IMG: End of Year Sale Banner]</div>
</div>
<div class="section-title">Flights & Activities Promotions</div>
<div class="promo-row" style="padding-bottom: 220px;">
<div class="promo-card">[IMG: Flights Promo Banner]</div>
<div class="promo-card">[IMG: Activities Promo Banner]</div>
</div>
<div class="toast">
<div class="text">
Enable Location Permission
<div class="sub">Please change the location permission on your phone.</div>
</div>
<div class="close">
<svg viewBox="0 0 24 24" width="32" height="32">
<path d="M6 6l12 12M18 6L6 18" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="bottom-nav">
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 11l9-7 9 7v9h-6v-5H9v5H3z" fill="#3f80ff"/>
</svg>
<div>Home</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M7 2h10v4H7zM5 6h14v16H5z" fill="#7a8a99"/>
</svg>
<div>My Trips</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M6 12l12-8v16z" fill="#7a8a99"/>
</svg>
<div>Deals</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M7 7h10l2 12H5zM9 7V5h6v2" fill="#7a8a99"/>
</svg>
<div>Cart</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M12 12a5 5 0 100-10 5 5 0 000 10zm-8 9c0-4 4-7 8-7s8 3 8 7" fill="#7a8a99"/>
</svg>
<div>More</div>
</div>
</div>
</div>
</body>
</html>