AndroidCode / code /10182 /10182_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 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>Seattle Trails UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
color: #222;
}
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 96px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #555;
font-weight: 600;
font-size: 36px;
}
.status-right {
display: flex;
align-items: center;
gap: 28px;
}
.icon-sq {
width: 44px;
height: 30px;
border-radius: 6px;
background: #adb5bd;
}
.wifi-battery {
display: flex;
align-items: center;
gap: 22px;
}
.battery {
width: 50px;
height: 26px;
border: 3px solid #777;
border-radius: 6px;
position: relative;
}
.battery::after {
content: "";
position: absolute;
right: -10px;
top: 6px;
width: 6px;
height: 14px;
background: #777;
border-radius: 2px;
}
.battery .level {
position: absolute;
left: 3px;
top: 3px;
right: 8px;
bottom: 3px;
background: #777;
border-radius: 3px;
}
/* Search bar */
.search-wrap {
padding: 12px 36px 0 36px;
}
.search-pill {
height: 116px;
border-radius: 58px;
background: #F7F7F7;
border: 1px solid #E5E5E5;
display: flex;
align-items: center;
padding: 0 24px;
box-shadow: 0 2px 0 rgba(0,0,0,0.04) inset;
}
.back-btn {
width: 72px;
height: 72px;
border-radius: 36px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 16px;
}
.search-title {
font-size: 42px;
font-weight: 600;
color: #2c2c2c;
}
.filter-circle {
margin-left: auto;
width: 88px;
height: 88px;
border-radius: 44px;
background: #ffffff;
border: 1px solid #E0E0E0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* Chips */
.chip-row {
display: flex;
align-items: center;
gap: 24px;
padding: 18px 36px;
}
.chip {
height: 84px;
padding: 0 28px;
border-radius: 42px;
background: #EFEFEF;
border: 1px solid #DDDDDD;
display: flex;
align-items: center;
gap: 16px;
color: #333;
font-size: 32px;
font-weight: 600;
}
.chip .caret {
margin-left: 8px;
}
.chip-icon {
width: 48px;
height: 48px;
border-radius: 24px;
background: #E8F0FF;
display: flex;
align-items: center;
justify-content: center;
}
.chip.green {
background: #244A14;
color: #fff;
border-color: #244A14;
padding: 0 36px;
}
/* Map placeholder */
.map-area {
position: relative;
margin-top: 6px;
width: 1080px;
height: 1020px;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 38px;
font-weight: 600;
}
/* Floating control on map */
.map-control {
position: absolute;
right: 36px;
top: 220px;
width: 150px;
height: 320px;
background: #ffffff;
border: 1px solid #E2E2E2;
border-radius: 75px;
box-shadow: 0 6px 18px rgba(0,0,0,0.14);
display: flex;
flex-direction: column;
overflow: hidden;
}
.control-top, .control-bottom {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.control-top {
border-bottom: 1px solid #E6E6E6;
}
.control-bottom span {
color: #2D6CF3;
font-size: 44px;
font-weight: 700;
}
/* Bottom sheet */
.sheet {
position: relative;
margin-top: -40px;
background: #ffffff;
border-top-left-radius: 40px;
border-top-right-radius: 40px;
box-shadow: 0 -10px 24px rgba(0,0,0,0.08);
padding-bottom: 260px; /* space before bottom nav */
}
.sheet-handle {
width: 160px;
height: 14px;
border-radius: 7px;
background: #E0E0E0;
margin: 16px auto 24px auto;
}
.sheet-title {
text-align: center;
font-size: 40px;
font-weight: 700;
color: #274B1A;
margin-bottom: 24px;
}
/* Trail card */
.card {
margin: 0 36px;
background: #ffffff;
border-radius: 28px;
border: 1px solid #E7E7E7;
overflow: hidden;
position: relative;
box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.card-img {
width: 100%;
height: 560px;
background: #E0E0E0;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 34px;
font-weight: 600;
}
.bookmark {
position: absolute;
right: 24px;
top: 24px;
width: 56px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.9);
border-radius: 14px;
border: 1px solid #E6E6E6;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 210px;
background: #ffffff;
border-top: 1px solid #EAEAEA;
box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
display: flex;
align-items: center;
justify-content: space-around;
padding-bottom: 22px;
}
.nav-item {
width: 200px;
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
color: #7A7A7A;
font-size: 28px;
font-weight: 600;
}
.nav-item.active {
color: #244A14;
}
.gesture {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 16px;
width: 380px;
height: 16px;
background: #D0D0D0;
border-radius: 8px;
}
/* Helper SVG sizing */
svg {
display: block;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:28</div>
<div class="status-right">
<div class="icon-sq"></div>
<div class="icon-sq" style="width: 52px;"></div>
<div class="wifi-battery">
<svg width="42" height="28">
<path d="M2 22 Q21 6 40 22" fill="none" stroke="#777" stroke-width="3"/>
<circle cx="21" cy="20" r="4" fill="#777"/>
</svg>
<div class="battery"><div class="level"></div></div>
</div>
</div>
</div>
<!-- Search -->
<div class="search-wrap">
<div class="search-pill">
<div class="back-btn">
<svg width="38" height="38" viewBox="0 0 24 24">
<path d="M15 5 L7 12 L15 19" stroke="#2c2c2c" stroke-width="2.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-title">Seattle</div>
<div class="filter-circle">
<!-- sliders icon -->
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="7" cy="6" r="2" fill="#244A14"/>
<circle cx="12" cy="12" r="2" fill="#244A14"/>
<circle cx="17" cy="18" r="2" fill="#244A14"/>
<path d="M2 6 H24 M2 12 H24 M2 18 H24" stroke="#244A14" stroke-width="1.6" />
</svg>
</div>
</div>
</div>
<!-- Filter chips -->
<div class="chip-row">
<div class="chip">
<div class="chip-icon">
<!-- shield + -->
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M12 3 L19 6 V12 C19 16 16 19 12 21 C8 19 5 16 5 12 V6 Z" fill="none" stroke="#3A63F0" stroke-width="2"/>
<path d="M12 8 V12 M10 10 H14" stroke="#3A63F0" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<span>Distance away</span>
<div class="caret">
<svg width="24" height="24" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="chip">
<span>Activity</span>
<div class="caret">
<svg width="24" height="24" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="chip green">
<span>Hard</span>
</div>
</div>
<!-- Map area -->
<div class="map-area">
[IMG: Seattle Map]
<div class="map-control">
<div class="control-top">
<!-- layers icon -->
<svg width="60" height="60" viewBox="0 0 24 24">
<path d="M12 3 L3 8 L12 13 L21 8 Z" fill="none" stroke="#666" stroke-width="2" stroke-linejoin="round"/>
<path d="M3 12 L12 17 L21 12" fill="none" stroke="#666" stroke-width="2" stroke-linejoin="round"/>
<path d="M3 16 L12 21 L21 16" fill="none" stroke="#666" stroke-width="2" stroke-linejoin="round"/>
</svg>
</div>
<div class="control-bottom">
<span>3D</span>
</div>
</div>
</div>
<!-- Bottom sheet -->
<div class="sheet">
<div class="sheet-handle"></div>
<div class="sheet-title">2 trails</div>
<!-- Trail card -->
<div class="card">
<div class="card-img">[IMG: Trail photo]</div>
<div class="bookmark">
<!-- bookmark outline -->
<svg width="28" height="40" viewBox="0 0 24 24">
<path d="M6 3 H18 V21 L12 17 L6 21 Z" fill="none" stroke="#244A14" stroke-width="2" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg width="54" height="54" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6" stroke="#244A14" stroke-width="2.2" fill="none"/>
<line x1="17" y1="17" x2="22" y2="22" stroke="#244A14" stroke-width="2.2" stroke-linecap="round"/>
</svg>
<div>Explore</div>
</div>
<div class="nav-item">
<svg width="54" height="54" viewBox="0 0 24 24">
<circle cx="8" cy="9" r="3.5" stroke="#7A7A7A" stroke-width="2" fill="none"/>
<circle cx="16" cy="11" r="3" stroke="#7A7A7A" stroke-width="2" fill="none"/>
<path d="M2 21 C2 17 6 16 8 16 C10 16 14 17 14 21" stroke="#7A7A7A" stroke-width="2" fill="none"/>
<path d="M12 21 C12 18 15 17 18 17 C20 17 22 18 22 21" stroke="#7A7A7A" stroke-width="2" fill="none"/>
</svg>
<div>Community</div>
</div>
<div class="nav-item">
<svg width="54" height="54" viewBox="0 0 24 24">
<path d="M3 11 L21 3 L14 21 L12 14 L3 11 Z" fill="none" stroke="#7A7A7A" stroke-width="2" stroke-linejoin="round"/>
</svg>
<div>Navigate</div>
</div>
<div class="nav-item">
<svg width="54" height="54" viewBox="0 0 24 24">
<path d="M6 3 H18 V21 L12 17 L6 21 Z" fill="none" stroke="#7A7A7A" stroke-width="2" stroke-linejoin="round"/>
</svg>
<div>Saved</div>
</div>
<div class="nav-item">
<svg width="54" height="54" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" stroke="#7A7A7A" stroke-width="2" fill="none"/>
<path d="M4 21 C4 16 8 14 12 14 C16 14 20 16 20 21" stroke="#7A7A7A" stroke-width="2" fill="none"/>
</svg>
<div>Profile</div>
</div>
<div class="gesture"></div>
</div>
</div>
</body>
</html>