AndroidCode / code /10134 /10134_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
9.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Select Check-in Date</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
}
/* Top status (time + small icons) */
.status-bar {
position: absolute; top: 20px; left: 40px; right: 40px; height: 60px;
font-size: 32px; color: #262b36;
}
.status-bar .time { position: absolute; left: 0; top: 0; line-height: 60px; }
.status-bar .icons { position: absolute; right: 0; top: 0; height: 60px; display: flex; align-items: center; gap: 24px; }
.icon-wifi { width: 28px; height: 28px; }
.icon-battery {
width: 38px; height: 18px; border: 2px solid #777; border-radius: 4px; position: relative;
}
.icon-battery::after {
content: ""; position: absolute; right: -6px; top: 4px; width: 4px; height: 10px; background: #777; border-radius: 2px;
}
.icon-battery .level { width: 22px; height: 12px; background: #777; margin: 2px; border-radius: 2px; }
/* Header */
.header {
position: absolute; top: 90px; left: 0; right: 0; height: 140px;
display: flex; align-items: center; justify-content: center;
}
.header .title {
font-size: 52px; font-weight: 700; color: #1f2a37;
}
.back-btn {
position: absolute; left: 24px; top: 108px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 48px; height: 48px; }
.divider-line {
position: absolute; left: 0; right: 0; top: 220px; height: 1px; background: #eaeaea;
}
/* Day-of-week row */
.dow {
position: absolute; left: 0; right: 0; top: 220px;
padding: 24px 60px 18px;
display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
color: #9aa5b1; font-size: 32px; border-bottom: 1px solid #eeeeee;
}
/* Content area */
.content {
position: absolute; left: 0; right: 0; top: 320px; padding: 0 60px;
}
.month {
margin-bottom: 120px;
}
.month-title {
text-align: center; font-size: 44px; font-weight: 600; color: #1f2a37; margin: 24px 0 36px;
}
.calendar-grid {
display: grid; grid-template-columns: repeat(7, 1fr);
grid-auto-rows: 120px; gap: 10px 6px; padding: 0 6px;
}
.date {
display: flex; align-items: center; justify-content: center;
font-size: 38px; color: #1f2a37;
}
.blank { opacity: 0; }
.muted { color: #cfd6de; }
.selected-left, .selected-right {
background: #1677ff; color: #ffffff; font-weight: 600;
}
.selected-left {
border-top-left-radius: 32px; border-bottom-left-radius: 32px;
}
.selected-right {
border-top-right-radius: 32px; border-bottom-right-radius: 32px;
}
/* Holiday pill card */
.holiday-pill {
position: absolute; right: 60px; top: 1140px; /* roughly near Jan 4 */
display: flex; align-items: center; gap: 22px;
background: #ffffff; border-radius: 44px; padding: 16px 28px 16px 16px;
box-shadow: 0 10px 24px rgba(0,0,0,0.08); border: 1px solid #f1f1f1;
color: #ff7a00; font-size: 32px; font-weight: 600;
}
.holiday-pill .img {
width: 96px; height: 96px; background: #E0E0E0; border: 1px solid #BDBDBD;
border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #757575; font-size: 22px;
}
/* Selection inputs */
.inputs {
position: absolute; left: 60px; right: 60px; top: 1450px;
display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.chip {
height: 160px; border-radius: 24px; padding: 22px 28px; display: flex; flex-direction: column; justify-content: center;
border: 3px solid #e5e8ee; color: #1f2a37;
box-shadow: 0 0 0 rgba(0,0,0,0);
}
.chip.primary { border-color: #1677ff; }
.chip .label {
font-size: 30px; color: #7b8a98; margin-bottom: 12px;
}
.chip.primary .label { color: #1677ff; }
.chip .value {
font-size: 40px; font-weight: 600;
}
/* Footer actions */
.footer {
position: absolute; left: 60px; right: 60px; bottom: 160px;
display: flex; align-items: center; justify-content: space-between;
}
.btn {
height: 120px; min-width: 260px; border-radius: 28px; display: flex; align-items: center; justify-content: center;
font-size: 40px; font-weight: 700; border: none;
}
.btn-clear {
background: #ffe7d3; color: #ff7a00;
padding: 0 36px;
}
.btn-select {
background: #ff7a00; color: #ffffff; padding: 0 56px;
box-shadow: 0 8px 20px rgba(255,122,0,0.35);
}
/* Home indicator */
.home-indicator {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 48px; width: 300px; height: 10px; background: #000; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top status bar -->
<div class="status-bar">
<div class="time">10:51</div>
<div class="icons">
<svg class="icon-wifi" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#777" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 12c4-3 10-3 14 0" stroke="#777" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="16" r="2" fill="#777"/>
</svg>
<div class="icon-battery"><div class="level"></div></div>
</div>
</div>
<!-- Header -->
<div class="back-btn">
<svg viewBox="0 0 24 24">
<path d="M15 19 L8 12 L15 5" stroke="#1f2a37" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="header">
<div class="title">Select Check-in Date</div>
</div>
<div class="divider-line"></div>
<!-- Day-of-week row -->
<div class="dow">
<div>Sun</div><div>Mon</div><div>Tue</div><div>Wed</div><div>Thu</div><div>Fri</div><div>Sat</div>
</div>
<!-- Content (months) -->
<div class="content">
<!-- December 2023 -->
<div class="month">
<div class="month-title">December 2023</div>
<div class="calendar-grid">
<!-- Row 1: Sun-Thu blank, Fri=1, Sat=2 -->
<div class="date blank"></div><div class="date blank"></div><div class="date blank"></div><div class="date blank"></div><div class="date blank"></div>
<div class="date muted">1</div><div class="date muted">2</div>
<!-- Row 2: 3-9 muted -->
<div class="date muted">3</div><div class="date muted">4</div><div class="date muted">5</div><div class="date muted">6</div><div class="date muted">7</div><div class="date muted">8</div><div class="date muted">9</div>
<!-- Row 3: 10-16 muted -->
<div class="date muted">10</div><div class="date muted">11</div><div class="date muted">12</div><div class="date muted">13</div><div class="date muted">14</div><div class="date muted">15</div><div class="date muted">16</div>
<!-- Row 4: 17-23 active -->
<div class="date">17</div><div class="date">18</div><div class="date">19</div><div class="date">20</div><div class="date">21</div><div class="date">22</div><div class="date">23</div>
<!-- Row 5: 24-30 with selected 25-26 -->
<div class="date">24</div>
<div class="date selected-left">25</div>
<div class="date selected-right">26</div>
<div class="date">27</div><div class="date">28</div><div class="date">29</div><div class="date">30</div>
<!-- Row 6: 31 -->
<div class="date">31</div>
<div class="date blank"></div><div class="date blank"></div><div class="date blank"></div><div class="date blank"></div><div class="date blank"></div><div class="date blank"></div>
</div>
</div>
<!-- January 2024 -->
<div class="month">
<div class="month-title">January 2024</div>
<div class="calendar-grid">
<!-- Row 1: Sun blank, 1-6 -->
<div class="date blank"></div>
<div class="date">1</div><div class="date">2</div><div class="date">3</div><div class="date">4</div><div class="date">5</div><div class="date">6</div>
<!-- Row 2: 7-13 -->
<div class="date">7</div><div class="date">8</div><div class="date">9</div><div class="date">10</div><div class="date">11</div><div class="date">12</div><div class="date">13</div>
</div>
</div>
<!-- Holiday pill card -->
<div class="holiday-pill">
<div class="img">[IMG: Holiday Icon]</div>
<div>Holiday List</div>
</div>
</div>
<!-- Selection inputs -->
<div class="inputs">
<div class="chip primary">
<div class="label">Check-in date</div>
<div class="value">Mon, 25 Dec</div>
</div>
<div class="chip">
<div class="label">Check-out date</div>
<div class="value">Tue, 26 Dec</div>
</div>
</div>
<!-- Footer buttons -->
<div class="footer">
<button class="btn btn-clear">Clear</button>
<button class="btn btn-select">Select</button>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>