AndroidCode / code /10041 /10041_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Trip Summary UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #2b2b2b; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 80px;
padding: 22px 32px 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
color: #5b5b5b;
font-size: 30px;
}
.status-right {
display: flex;
align-items: center;
gap: 20px;
color: #7a7a7a;
font-size: 26px;
}
.status-dot { font-weight: 700; }
/* App bar */
.app-bar {
height: 120px;
padding: 0 32px;
display: flex;
align-items: center;
position: relative;
}
.back-btn {
width: 72px; height: 72px;
display: flex; align-items: center; justify-content: center;
}
.app-title {
position: absolute;
left: 50%; transform: translateX(-50%);
font-size: 48px; font-weight: 700; color: #3a3a3a;
}
.app-actions {
margin-left: auto;
display: flex; align-items: center; gap: 26px;
}
.circle-count {
width: 60px; height: 60px; border-radius: 30px;
background: #f1f4f6; display: flex; align-items: center; justify-content: center;
font-weight: 700; color: #3a3a3a;
border: 1px solid #e2e6ea;
}
.icon-btn {
width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
border-radius: 12px;
color: #3a3a3a;
}
.divider { height: 1px; background: #e9eef2; }
/* Content */
.content {
padding: 36px 36px 180px 36px;
}
.section-title {
font-size: 52px; font-weight: 700; margin-bottom: 12px;
}
.subline {
font-size: 28px; letter-spacing: 1px; text-transform: uppercase; color: #7c8a98;
}
/* Card */
.trip-card {
margin-top: 28px;
background: #fff;
border: 2px solid #d7e3ec;
border-radius: 26px;
padding: 28px;
box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
.card-header {
display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px;
}
.line-left {
display: flex; align-items: center; gap: 16px;
font-weight: 800; letter-spacing: 0.3px; color: #4f6a7f; font-size: 30px;
}
.rating {
display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; color: #00a6e7; font-weight: 700;
}
.price {
color: #00a6e7; font-weight: 800; font-size: 34px;
}
.times-row {
display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px;
margin: 8px 0 6px 0;
}
.time {
font-size: 56px; font-weight: 800; color: #2d2d2d;
}
.duration {
color: #8da0b1; font-size: 26px; display: flex; align-items: center; gap: 12px;
}
.stations {
display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin-top: 10px; margin-bottom: 22px;
color: #5b6c79; font-size: 28px;
}
.pills { display: flex; flex-wrap: wrap; gap: 18px; }
.pill {
padding: 18px 26px; border-radius: 30px; font-weight: 700; font-size: 26px;
display: inline-flex; align-items: center; gap: 12px;
}
.pill.details { background: #e6f7f8; color: #179fa2; }
.pill.transfers { background: #e9edf1; color: #7b858e; }
.pill.ticket { background: #dff6ea; color: #1aa578; }
.pill.luxury { background: #efe4fb; color: #8c62d6; margin-top: 18px; }
/* Bottom CTA */
.cta-wrap {
position: absolute; left: 0; right: 0; bottom: 80px;
padding: 0 34px;
}
.cta {
width: 100%;
background: #ff6661;
border-radius: 24px;
height: 140px;
display: flex; align-items: center; justify-content: center;
color: #ffffff; font-weight: 800; font-size: 40px; letter-spacing: 3px;
box-shadow: 0 8px 18px rgba(255, 102, 97, 0.35);
}
.home-indicator {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 24px; width: 260px; height: 10px; background: #d7d7d7; border-radius: 6px;
}
/* Simple helpers */
.muted { color: #7a8a98; }
.img-placeholder {
width: 40px; height: 40px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 20px; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:46</div>
<div class="status-right">
<span></span>
<span class="img-placeholder">[IMG]</span>
<span>82°</span>
<span class="status-dot"></span>
<!-- Simple wifi icon -->
<svg width="28" height="28" viewBox="0 0 24 24"><path fill="#6d6d6d" d="M12 18.5l-1.6 1.6a2.3 2.3 0 013.2 0L12 18.5zm-5-3.8l1.5 1.5a6 6 0 018 0l1.5-1.5a8.5 8.5 0 00-11 0zm-3.2-3.2l1.6 1.6a10.5 10.5 0 0114.2 0l1.6-1.6c-5.5-5-13.5-5-19 0z"/></svg>
<!-- Battery icon -->
<svg width="36" height="36" viewBox="0 0 24 24"><rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="none" stroke="#6d6d6d" stroke-width="2"/><rect x="4" y="8" width="12" height="8" fill="#6d6d6d"/><rect x="20" y="10" width="2" height="4" fill="#6d6d6d"/></svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="back-btn">
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6" stroke="#3a3a3a" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="app-title">Trip Summary</div>
<div class="app-actions">
<div class="circle-count">1</div>
<div class="icon-btn">
<!-- plus icon -->
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" stroke="#3a3a3a" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<div class="icon-btn">
<!-- user icon -->
<svg width="36" height="36" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4" fill="#3a3a3a"/><path d="M4 20c0-4.4 4-6 8-6s8 1.6 8 6" fill="#3a3a3a"/></svg>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Main content -->
<div class="content">
<div class="section-title">Departure</div>
<div class="subline">NEW YORK › NEWARK • MON, AUG 14</div>
<div class="trip-card">
<div class="card-header">
<div class="line-left">
<!-- train icon -->
<svg width="32" height="32" viewBox="0 0 24 24"><path d="M7 3h10a2 2 0 012 2v9a3 3 0 01-3 3l1.5 2H7.5L9 17a3 3 0 01-3-3V5a2 2 0 012-2z" fill="#8ea4b4"/><circle cx="9" cy="13" r="1.4" fill="#fff"/><circle cx="15" cy="13" r="1.4" fill="#fff"/></svg>
<span>AMTRAK ACELA</span>
<span class="rating">
<svg width="26" height="26" viewBox="0 0 24 24"><path d="M12 2l3.1 6.6 7 1-5.1 4.9 1.3 7-6.3-3.3-6.3 3.3 1.3-7L1.9 9.6l7-1L12 2z" fill="#00a6e7"/></svg>
4.5
</span>
</div>
<div class="price">$46.00</div>
</div>
<div class="times-row">
<div class="time">6:00 PM</div>
<div class="duration">
<span>0h 13m</span>
<svg width="56" height="20" viewBox="0 0 56 20"><path d="M2 10h50M46 5l6 5-6 5" stroke="#c5d2dc" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="time">6:13 PM</div>
</div>
<div class="stations">
<div>NY Moynihan Train Hall …</div>
<div style="text-align:right;">Newark Penn Station</div>
</div>
<div class="pills">
<div class="pill details">
Details
<svg width="22" height="22" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="#179fa2" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
</div>
<div class="pill transfers">0 transfers</div>
<div class="pill ticket">E-ticket</div>
</div>
<div class="pill luxury">Luxury</div>
</div>
</div>
<!-- Bottom CTA -->
<div class="cta-wrap">
<div class="cta">BOOK | $46.00</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>