AndroidCode / code /10182 /10182_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
11.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Trails UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #202124;
}
.content { padding: 24px 48px 0 48px; }
/* Status bar */
.statusbar {
height: 80px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 48px;
font-size: 34px;
color: #4a4a4a;
}
.status-icons { display: flex; gap: 24px; align-items: center; }
.status-dot {
width: 26px; height: 26px; background: #bdbdbd; border-radius: 6px;
}
.status-signal {
width: 30px; height: 26px; border: 2px solid #757575; border-radius: 3px;
}
.status-battery {
width: 38px; height: 20px; border: 2px solid #757575; border-radius: 3px; position: relative;
}
.status-battery::after {
content: ""; position: absolute; right: -6px; top: 6px; width: 6px; height: 8px; background: #757575; border-radius: 2px;
}
/* Search bar */
.search-wrap { margin-top: 12px; }
.search-bar {
height: 116px;
background: #ffffff;
border-radius: 58px;
box-shadow: 0 8px 22px rgba(0,0,0,0.1);
display: flex;
align-items: center;
padding: 0 24px 0 32px;
}
.search-icon {
width: 54px; height: 54px; border: 2px solid #9e9e9e; border-radius: 50%;
display: flex; align-items: center; justify-content: center; margin-right: 22px;
}
.search-input {
font-size: 42px; color: #777; flex: 1;
}
.filter-btn {
width: 86px; height: 86px; border-radius: 43px; background: #f1f3f4;
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: center;
}
/* Chips */
.chips { display: flex; gap: 24px; margin-top: 28px; }
.chip {
padding: 22px 34px;
background: #eeeff1;
border-radius: 34px;
font-size: 34px;
color: #333;
display: inline-flex; align-items: center; gap: 16px;
}
.chip svg { width: 36px; height: 36px; }
.chip .down { width: 22px; height: 22px; border: 2px solid #777; border-left: 0; border-top: 0; transform: rotate(45deg); margin-left: 8px; }
/* Headings */
.section-title {
margin: 40px 0 24px;
font-size: 74px;
font-weight: 800;
color: #274b2a;
letter-spacing: -0.5px;
}
/* Cards */
.card { margin-bottom: 48px; }
.card .image {
width: 984px; height: 560px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 36px;
position: relative;
display: flex; justify-content: center; align-items: center;
color: #757575; font-size: 40px;
}
.bookmark {
position: absolute; right: 24px; top: 24px;
width: 54px; height: 54px; border-radius: 14px;
background: rgba(255,255,255,0.8);
display: flex; align-items: center; justify-content: center;
border: 1px solid #d0d0d0;
}
.trail-meta { margin-top: 26px; display: flex; align-items: flex-start; justify-content: space-between; }
.trail-left { max-width: 820px; }
.rating-line { font-size: 34px; color: #666; display: flex; align-items: center; gap: 10px; }
.rating-line .dot { color: #9e9e9e; margin: 0 8px; }
.star { width: 28px; height: 28px; }
.trail-title { font-size: 52px; font-weight: 800; margin: 10px 0 6px; }
.trail-sub { font-size: 38px; color: #6f6f6f; margin-bottom: 6px; }
.trail-details { font-size: 36px; color: #8b8b8b; }
.circle-action {
width: 92px; height: 92px; border-radius: 46px; background: #ffffff;
box-shadow: 0 8px 20px rgba(0,0,0,0.14); display: flex; align-items: center; justify-content: center;
border: 1px solid #e5e5e5; margin-top: 20px;
}
/* Second section extras */
.map-pill {
position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
padding: 22px 44px; border-radius: 38px;
background: #2e6a2c; color: #fff; font-size: 40px; font-weight: 700;
display: inline-flex; align-items: center; gap: 18px;
box-shadow: 0 10px 26px rgba(46,106,44,0.35);
}
.floating-next {
position: absolute; right: 48px; bottom: 604px;
width: 100px; height: 100px; border-radius: 50%;
background: #ffffff; border: 1px solid #e4e4e4;
box-shadow: 0 10px 24px rgba(0,0,0,0.15);
display: flex; align-items: center; justify-content: center;
}
/* Bottom Nav */
.bottom-nav {
position: absolute; bottom: 0; left: 0; width: 100%;
height: 180px; border-top: 1px solid #e5e5e5; background: #ffffff;
display: flex; align-items: center; justify-content: space-around;
padding-bottom: 22px;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nav-item svg { width: 48px; height: 48px; }
.nav-label { font-size: 32px; color: #5b5f58; }
.nav-item.active .nav-label { color: #2e5a2e; }
.nav-item.active svg path, .nav-item.active svg circle, .nav-item.active svg rect { stroke: #2e5a2e; fill: none; }
/* Gesture bar */
.gesture {
position: absolute; bottom: 184px; left: 50%; transform: translateX(-50%);
width: 280px; height: 12px; background: #c9c9c9; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="statusbar">
<div>8:21</div>
<div class="status-icons">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-signal"></div>
<div class="status-battery"></div>
</div>
</div>
<div class="content">
<!-- Search -->
<div class="search-wrap">
<div class="search-bar">
<div class="search-icon">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#777" stroke-width="2" fill="none"></circle>
<line x1="14.5" y1="14.5" x2="21" y2="21" stroke="#777" stroke-width="2" />
</svg>
</div>
<div class="search-input">Find parks</div>
<div class="filter-btn">
<svg viewBox="0 0 24 24">
<line x1="4" y1="6" x2="20" y2="6" stroke="#4a4a4a" stroke-width="2"></line>
<circle cx="9" cy="6" r="2.5" fill="#4a4a4a"></circle>
<line x1="4" y1="12" x2="20" y2="12" stroke="#4a4a4a" stroke-width="2"></line>
<circle cx="15" cy="12" r="2.5" fill="#4a4a4a"></circle>
<line x1="4" y1="18" x2="20" y2="18" stroke="#4a4a4a" stroke-width="2"></line>
<circle cx="7" cy="18" r="2.5" fill="#4a4a4a"></circle>
</svg>
</div>
</div>
</div>
<!-- Chips -->
<div class="chips">
<div class="chip">
<svg viewBox="0 0 24 24">
<path d="M12 2l6 3v6c0 4-6 9-6 9s-6-5-6-9V5l6-3z" fill="#5383ec"></path>
</svg>
<span>Distance away</span>
<div class="down"></div>
</div>
<div class="chip">
<span>Activity</span>
<div class="down"></div>
</div>
<div class="chip">
<span>Difficulty</span>
<div class="down"></div>
</div>
</div>
<!-- Section: Top trails nearby -->
<div class="section-title">Top trails nearby</div>
<div class="card">
<div class="image">
[IMG: River trail photo]
<div class="bookmark">
<svg viewBox="0 0 24 24">
<path d="M6 3h12a2 2 0 0 1 2 2v15l-8-5-8 5V5a2 2 0 0 1 2-2z" fill="#3e4e3e" opacity="0.7"></path>
</svg>
</div>
</div>
<div class="trail-meta">
<div class="trail-left">
<div class="rating-line">
<span>Easy</span>
<span class="dot"></span>
<svg class="star" viewBox="0 0 24 24">
<polygon points="12,2 15,9 22,9 16.5,13.5 18.5,20.5 12,16.5 5.5,20.5 7.5,13.5 2,9 9,9" fill="#3CB371"></polygon>
</svg>
<span>4.0 (20)</span>
</div>
<div class="trail-title">Lodi Garden Trail</div>
<div class="trail-sub">Lodi Garden</div>
<div class="trail-details">Length: 1.50 mi · Est. 40m</div>
</div>
<div class="circle-action">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#567" stroke-width="1.8" fill="none"></circle>
<path d="M12 7v8M8.5 12.5L12 15.8 15.5 12.5" stroke="#567" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
</div>
<!-- Section: Best views nearby -->
<div class="section-title">Best views nearby</div>
<div class="card" style="position: relative;">
<div class="image">
[IMG: Mountain view with clouds]
<div class="bookmark">
<svg viewBox="0 0 24 24">
<path d="M6 3h12a2 2 0 0 1 2 2v15l-8-5-8 5V5a2 2 0 0 1 2-2z" fill="#3e4e3e" opacity="0.7"></path>
</svg>
</div>
<div class="map-pill">
<svg viewBox="0 0 24 24" width="36" height="36">
<path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2V6z" fill="none" stroke="#ffffff" stroke-width="2"></path>
<line x1="9" y1="4" x2="9" y2="20" stroke="#ffffff" stroke-width="2"></line>
<line x1="15" y1="6" x2="15" y2="22" stroke="#ffffff" stroke-width="2"></line>
</svg>
<span>Map</span>
</div>
</div>
</div>
<div class="floating-next">
<svg viewBox="0 0 24 24">
<path d="M8 4l8 8-8 8" stroke="#55635a" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#8a8f86" stroke-width="2" fill="none"></circle>
<line x1="17" y1="17" x2="22" y2="22" stroke="#8a8f86" stroke-width="2"></line>
</svg>
<div class="nav-label">Explore</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<circle cx="8" cy="10" r="3" stroke="#8a8f86" stroke-width="2" fill="none"></circle>
<circle cx="16" cy="10" r="3" stroke="#8a8f86" stroke-width="2" fill="none"></circle>
<path d="M3 20c2-4 7-4 10 0M11 20c2-4 7-4 10 0" stroke="#8a8f86" stroke-width="2" fill="none"></path>
</svg>
<div class="nav-label">Community</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path d="M12 2l6 10-6 10-6-10 6-10z" stroke="#8a8f86" stroke-width="2" fill="none"></path>
</svg>
<div class="nav-label">Navigate</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path d="M6 3h12a2 2 0 0 1 2 2v15l-8-5-8 5V5a2 2 0 0 1 2-2z" stroke="#8a8f86" stroke-width="2" fill="none"></path>
</svg>
<div class="nav-label">Saved</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" stroke="#8a8f86" stroke-width="2" fill="none"></circle>
<path d="M4 22c0-5 4-8 8-8s8 3 8 8" stroke="#8a8f86" stroke-width="2" fill="none"></path>
</svg>
<div class="nav-label">Profile</div>
</div>
</div>
</div>
</body>
</html>