CommunityAPP_UI/parcel.html
2025-04-25 15:59:56 +08:00

173 lines
4.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<title>信件包裹通知 - 社區管理 App</title>
<style>
* {
box-sizing: border-box;
font-family: 'Noto Sans TC', sans-serif;
margin: 0;
padding: 0;
}
body {
background-color: #f7f8fa;
color: #333;
padding-bottom: 80px;
}
header {
background-color: #9eaf9f;
color: #fff;
padding: 16px;
font-size: 20px;
font-weight: bold;
text-align: center;
position: relative;
}
.back-button {
position: absolute;
top: 12px;
left: 16px;
cursor: pointer;
}
.back-button img {
width: 24px;
height: 24px;
filter: brightness(0) invert(1);
}
.section {
background-color: #fff;
margin: 12px 16px;
padding: 16px;
border-radius: 12px;
}
.parcel-item {
padding: 12px 0;
border-bottom: 1px solid #eee;
}
.parcel-item:last-child {
border-bottom: none;
}
.parcel-info {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
.parcel-info span {
color: #555;
}
.receive-btn {
margin-top: 10px;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 6px;
padding: 6px 12px;
font-size: 13px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.receive-btn:hover {
background-color: #388e3c;
}
.footer-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #fff;
border-top: 1px solid #ddd;
display: flex;
justify-content: space-around;
padding: 8px 0;
}
.footer-nav a {
text-decoration: none;
font-size: 12px;
color: #666;
text-align: center;
}
.footer-nav img {
width: 24px;
height: 24px;
margin-bottom: 4px;
}
</style>
</head>
<body>
<header>
<div class="back-button">
<img src="https://img.icons8.com/ios-filled/50/ffffff/left.png" alt="返回" title="回上一頁" onclick="history.back()" />
</div>
信件包裹通知
</header>
<!-- 包裹清單區塊 -->
<section class="section">
<h3 style="font-size: 16px; margin-bottom: 12px;">📦 待領包裹</h3>
<div class="parcel-item">
<div class="parcel-info">
<span>2025/04/16</span>
<span>宅配 - 7-11 交貨便</span>
</div>
<div class="parcel-info">
<span>收件人:林小安</span>
<span>包裹編號P20240416001</span>
</div>
<div class="parcel-info">
<span>代收金額:$250</span>
<span></span>
</div>
<button class="receive-btn" onclick="alert('您已確認領取此包裹。')">確認領取</button>
</div>
<div class="parcel-item">
<div class="parcel-info">
<span>2025/04/14</span>
<span>黑貓宅急便</span>
</div>
<div class="parcel-info">
<span>收件人:林小安</span>
<span>包裹編號P20240414002</span>
</div>
<div class="parcel-info">
<span>代收金額:$120</span>
<span></span>
</div>
<button class="receive-btn" onclick="alert('您已確認領取此包裹。')">確認領取</button>
</div>
</section>
<!-- 底部選單 -->
<nav class="navbar fixed-bottom navbar-light bg-light border-top">
<div class="container justify-content-around">
<a class="nav-link text-center" href="main.html"><div>🏠<br>首頁</div></a>
<a class="nav-link text-center" href="#"><div>🚪<br>出入</div></a>
<a class="nav-link text-center" href="message.html"><div>💬<br>訊息</div></a>
<a class="nav-link text-center" href="#"><div>👤<br>住戶</div></a>
</div>
</nav>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>