AndroidCode / code /10071 /10071_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Travel UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color:#1f2a2e; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 90px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color:#4b5560;
font-size: 34px;
}
.status-right { display:flex; align-items:center; gap:22px; }
/* Header */
.main { padding: 0 56px; }
.greeting {
margin-top: 14px;
}
.greeting h1 {
margin: 0;
font-size: 72px;
font-weight: 800;
letter-spacing: -0.5px;
}
.greeting p {
margin: 10px 0 0 0;
font-size: 42px;
color:#6b747b;
}
.top-right {
position: absolute;
top: 118px;
right: 40px;
display: flex;
align-items: center;
gap: 28px;
}
.bell-small svg { width: 48px; height: 48px; fill:#3d454b; }
.avatar {
width: 68px; height: 68px; border-radius: 50%;
background: #fde9df; color:#c8683a;
display:flex; align-items:center; justify-content:center;
font-weight: 700;
}
/* Quick actions */
.quick-actions {
margin-top: 52px;
display: flex;
gap: 44px;
}
.qa {
width: 180px; height: 180px; border-radius: 34px;
background:#353f45; display:flex; align-items:center; justify-content:center;
}
.qa.orange { background:#ff6a00; }
.qa svg { width: 92px; height: 92px; fill:#ffffff; }
/* Search pill */
.search-pill {
margin-top: 54px;
height: 120px;
border-radius: 28px;
background: #edf2f3;
display: flex;
align-items: center;
padding: 0 34px;
color:#4a5157;
font-size: 40px;
}
.search-pill svg { width: 58px; height: 58px; fill:#667078; margin-right: 20px; }
/* Sections */
.section {
margin-top: 68px;
}
.section .title-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.section h2 {
margin: 0;
font-size: 54px;
font-weight: 800;
color:#20262a;
}
.see-all {
font-size: 38px;
color:#1e88e5;
font-weight: 600;
}
/* Recent list */
.list { margin-top: 26px; }
.list-item {
display: flex;
align-items: center;
padding: 24px 0;
}
.thumb {
width: 120px; height: 120px; border-radius: 26px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center;
color:#757575; font-size: 26px; text-align:center; padding: 8px;
}
.item-text { flex: 1; margin-left: 30px; }
.item-title {
font-size: 42px; font-weight: 700; color:#253036; line-height: 1.2;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
max-width: 760px;
}
.item-sub { font-size: 34px; color:#6f7c82; margin-top: 6px; }
.bell {
width: 56px; height: 56px; display:flex; align-items:center; justify-content:center;
}
.bell svg { width: 48px; height: 48px; fill:#5c676d; }
/* Spacer before stays */
.big-spacer { height: 120px; }
/* Stays */
.subtitle { font-size: 38px; color:#6f7b82; margin: 8px 0 0 0; }
.cards {
margin-top: 26px;
display: flex;
gap: 34px;
overflow: hidden;
}
.card {
width: 880px; height: 560px;
border-radius: 34px;
background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center;
color:#757575; font-size: 38px; text-align:center; padding: 12px;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
left: 0; right: 0;
bottom: 110px;
height: 180px;
background: #ffffff;
border-top: 1px solid #e6e6e6;
display: flex;
justify-content: space-around;
align-items: center;
}
.nav-item {
display:flex; flex-direction:column; align-items:center;
color:#7a858c; font-size: 32px; gap: 12px;
}
.nav-item.active { color:#ff6a00; }
.nav-item svg { width: 68px; height: 68px; fill: currentColor; }
/* Home indicator */
.home-indicator {
position: absolute;
left: 50%; transform: translateX(-50%);
bottom: 26px;
width: 320px; height: 12px;
background: #000; opacity: .75; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Fake status bar -->
<div class="status-bar">
<div>5:56</div>
<div class="status-right">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="main">
<div class="greeting">
<h1>Hey, Cole</h1>
<p>Where to next?</p>
</div>
</div>
<div class="top-right">
<div class="bell-small" aria-label="Notifications">
<svg viewBox="0 0 24 24">
<path d="M12 22a2.3 2.3 0 0 0 2-2h-4a2.3 2.3 0 0 0 2 2zM20 17H4c2-2 2-4 2-7a6 6 0 1 1 12 0c0 3 0 5 2 7z"/>
</svg>
</div>
<div class="avatar">C</div>
</div>
<div class="main">
<!-- Quick actions -->
<div class="quick-actions">
<div class="qa" title="Flights">
<svg viewBox="0 0 24 24">
<path d="M2 13l8 1 3 7 2-1-2-7 7 1 2-2-8-3-5-7-2 1 3 7-6 3z"/>
</svg>
</div>
<div class="qa orange" title="Stays">
<svg viewBox="0 0 24 24">
<rect x="2" y="9" width="20" height="6" rx="1"></rect>
<rect x="4" y="6" width="8" height="3"></rect>
<rect x="14" y="6" width="6" height="3"></rect>
</svg>
</div>
<div class="qa" title="Cars">
<svg viewBox="0 0 24 24">
<path d="M3 14l2-5h14l2 5v4h-2a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H3v-4zM7 9h10l1 3H6l1-3z"/>
</svg>
</div>
<div class="qa" title="Beach">
<svg viewBox="0 0 24 24">
<path d="M12 2c5 0 8 4 9 8H3C4 6 7 2 12 2zM11 10v8h2v-8m-8 8h14v2H3z"/>
</svg>
</div>
</div>
<!-- Search field -->
<div class="search-pill">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6"></circle>
<line x1="16" y1="16" x2="22" y2="22" stroke="currentColor" stroke-width="2" />
</svg>
<span>Find a place to stay</span>
</div>
<!-- Recent searches -->
<div class="section">
<div class="title-row">
<h2>Your recent searches</h2>
<div class="see-all">See all</div>
</div>
<div class="list">
<div class="list-item">
<div class="thumb">[IMG: Honolulu Beach]</div>
<div class="item-text">
<div class="item-title">Honolulu (HNL), O'ahu, HI</div>
<div class="item-sub">Jan 29 - Feb 5</div>
</div>
<div class="bell">
<svg viewBox="0 0 24 24">
<path d="M12 22a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2zM20 17H4c2-2 2-4 2-7a6 6 0 1 1 12 0c0 3 0 5 2 7z"/>
</svg>
</div>
</div>
<div class="list-item">
<div class="thumb">[IMG: Hotel Lobby]</div>
<div class="item-text">
<div class="item-title">Courtyard by Marriott Waikiki Beach</div>
<div class="item-sub">Jan 29 - Feb 5</div>
</div>
<div class="bell">
<svg viewBox="0 0 24 24">
<path d="M12 22a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2zM20 17H4c2-2 2-4 2-7a6 6 0 1 1 12 0c0 3 0 5 2 7z"/>
</svg>
</div>
</div>
</div>
</div>
<div class="big-spacer"></div>
<!-- Stays near section -->
<div class="section">
<div class="title-row">
<div>
<h2>Stays near Honolulu</h2>
<p class="subtitle">Mon, Jan 29 - Mon, Feb 5</p>
</div>
<div class="see-all">See all</div>
</div>
<div class="cards">
<div class="card">[IMG: Modern suite with sofa and teal chair]</div>
<div class="card">[IMG: Ocean-view room with balcony]</div>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6"></circle>
<line x1="16" y1="16" x2="22" y2="22" stroke="currentColor" stroke-width="2"/>
</svg>
<div>Search</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="2"/>
<path d="M3 12h18M12 3v18" stroke="currentColor" stroke-width="2"/>
</svg>
<div>Explore</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path d="M12 21s-6-3.5-8-7.5C2 10 4.5 7 7.5 7c1.9 0 3.2 1 4.5 2.5C13.3 8 14.6 7 16.5 7 19.5 7 22 10 20 13.5 18 17.5 12 21 12 21z"/>
</svg>
<div>Trips</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 20c2-4 14-4 16 0" />
</svg>
<div>Profile</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>