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

157 lines
3.6 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}
.visitor-item {
padding: 12px 0;
border-bottom: 1px solid #eee;
}
.visitor-item:last-child {
border-bottom: none;
}
.visitor-info {
display: flex;
justify-content: space-between;
font-size: 14px;
margin-bottom: 4px;
}
.visitor-info span {
color: #555;
}
.visitor-detail {
font-size: 13px;
color: #777;
margin-bottom: 6px;
}
.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="visitor-item">
<div class="visitor-info">
<span>2025/04/22 14:35</span>
<span>王小明</span>
</div>
<div class="visitor-detail">身分:朋友 | 目的:拜訪林小安</div>
</div>
<div class="visitor-item">
<div class="visitor-info">
<span>2025/04/21 10:20</span>
<span>陳美麗</span>
</div>
<div class="visitor-detail">身分:水電師傅 | 目的:維修浴室</div>
</div>
<div class="visitor-item">
<div class="visitor-info">
<span>2025/04/20 17:45</span>
<span>李建國</span>
</div>
<div class="visitor-detail">身分外送員  目的送晚餐Uber Eats</div>
</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>