CommunityAPP_UI/personal.html

277 lines
7.0 KiB
HTML
Raw Normal View History

2025-04-25 15:59:56 +08:00
<!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;
position: relative;
text-align: center;
}
.header-icons {
position: absolute;
top: 12px;
right: 16px;
display: flex;
gap: 12px;
}
.header-icons img {
width: 24px;
height: 24px;
filter: brightness(0) invert(1);
cursor: pointer;
}
.section {
background-color: #fff;
margin-bottom: 10px;
padding: 16px;
border-radius: 12px;
}
.profile-section {
display: flex;
align-items: center;
position: relative;
}
.profile-section img {
width: 60px;
height: 60px;
border-radius: 50%;
margin-right: 16px;
}
.profile-details h2 {
font-size: 18px;
margin-bottom: 4px;
}
.profile-details p {
font-size: 14px;
color: #666;
}
.community-info p {
font-size: 14px;
margin: 6px 0;
color: #555;
}
.quick-menu {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
text-align: center;
}
.menu-item {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px 0;
border-radius: 8px;
background-color: #f1f1f1;
text-decoration: none;
color: #000;
}
.menu-item img {
width: 28px;
height: 28px;
margin-bottom: 6px;
}
.menu-item p {
font-size: 12px;
}
.notification-item {
font-size: 14px;
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.notification-item:last-child {
border-bottom: none;
}
.logout-section {
margin: 30px 20px 60px;
text-align: center;
}
.logout-button {
padding: 12px 24px;
font-size: 16px;
border: none;
border-radius: 24px;
background-color: #f08080;
color: white;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease;
}
.logout-button:hover {
background-color: #d46a6a;
}
.logout-button img {
width: 18px;
height: 18px;
}
.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;
}
.back-button {
position: absolute;
top: 12px;
left: 16px;
cursor: pointer;
}
.back-button img {
width: 24px;
height: 24px;
filter: brightness(0) invert(1);
}
</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>
我的社區
<div class="header-icons">
<img src="https://img.icons8.com/ios-filled/50/appointment-reminders.png" alt="通知" title="通知" />
2025-04-29 16:59:16 +08:00
<img src="https://img.icons8.com/ios-filled/50/qr-code.png" alt="條碼" onclick="window.location.href='scan_activate.html'" title="我的條碼" />
2025-04-25 15:59:56 +08:00
</div>
</header>
<!-- 使用者資訊 -->
<section class="section profile-section">
<img src="https://via.placeholder.com/60" alt="頭像" />
<div class="profile-details">
<h2>林小安</h2>
<p>住戶編號B205</p>
<p>社區:綠光花園</p>
</div>
<a href="edit-profile.html" class="btn btn-sm btn-outline-success"
style="position: absolute; top: 8px; right: 16px; font-size: 13px; border-radius: 20px; padding: 4px 12px;">
✏️ 修改
</a>
</section>
<!-- 社區資訊 -->
<section class="section community-info" style="position: relative;">
<a href="feedback.html" class="btn btn-outline-secondary"
style="position: absolute; top: 16px; right: 16px; padding: 6px 14px; font-size: 13px; border-radius: 20px;">
📝 意見箱
</a>
<p><strong>社區地址:</strong>新北市板橋區幸福路 88 號</p>
<p><strong>管理室電話:</strong>02-2233-4455</p>
<p><strong>管委會 Email</strong>service@garden-community.tw</p>
</section>
<!-- 快速功能 -->
<section class="section">
<div class="quick-menu">
<a href="bill.html" class="menu-item">
<img src="https://img.icons8.com/ios-filled/50/bill.png" alt="繳費通知" />
<p>繳費通知</p>
</a>
<a href="repair.html" class="menu-item">
<img src="https://img.icons8.com/ios-filled/50/toolbox.png" alt="報修申請" />
<p>報修申請</p>
</a>
<a href="parcel.html" class="menu-item">
<img src="https://img.icons8.com/ios-filled/50/parcel.png" alt="包裹通知" />
<p>包裹通知</p>
</a>
<a href="visitor.html" class="menu-item">
<img src="https://img.icons8.com/ios-filled/50/visitor-male.png" alt="訪客" />
<p>訪客</p>
</a>
</div>
</section>
<!-- 最新通知 -->
<section class="section">
<h3 style="font-size: 16px; margin-bottom: 10px;">📢 最新通知</h3>
<div class="notification-item">水塔清洗公告4/18 上午停水)</div>
<div class="notification-item">您有 1 件包裹尚未領取</div>
<div class="notification-item">電梯定期保養預告4/20</div>
</section>
<!-- 登出 -->
<section class="logout-section">
<button class="logout-button">
<img src="https://img.icons8.com/ios-filled/50/logout-rounded-left.png" alt="登出" />
登出
</button>
</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="#report"><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>