176 lines
4.6 KiB
HTML
176 lines
4.6 KiB
HTML
<!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;
|
||
}
|
||
|
||
.form-label {
|
||
font-weight: bold;
|
||
font-size: 14px;
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.submit-btn {
|
||
margin-top: 16px;
|
||
background-color: #4caf50;
|
||
color: #fff;
|
||
border: none;
|
||
border-radius: 6px;
|
||
padding: 10px;
|
||
font-size: 15px;
|
||
width: 100%;
|
||
}
|
||
|
||
.submit-btn:hover {
|
||
background-color: #388e3c;
|
||
}
|
||
|
||
.record-item {
|
||
padding: 12px 0;
|
||
border-bottom: 1px solid #eee;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.record-item:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.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>
|
||
<form>
|
||
<label class="form-label" for="repairType">報修類別</label>
|
||
<select class="form-select" id="repairType" required>
|
||
<option selected disabled>請選擇</option>
|
||
<option>電力問題</option>
|
||
<option>水管漏水</option>
|
||
<option>網路異常</option>
|
||
<option>其他</option>
|
||
</select>
|
||
|
||
<label class="form-label" for="location">地點/房號</label>
|
||
<input type="text" class="form-control" id="location" placeholder="如:B棟 3F" required>
|
||
|
||
<label class="form-label" for="description">問題描述</label>
|
||
<textarea class="form-control" id="description" rows="3" placeholder="請簡要描述問題..." required></textarea>
|
||
|
||
<label class="form-label" for="photo">照片上傳(選填)</label>
|
||
<input class="form-control" type="file" id="photo" accept="image/*">
|
||
|
||
<button type="submit" class="submit-btn" onclick="event.preventDefault(); alert('報修已提交!');">送出報修</button>
|
||
</form>
|
||
</section>
|
||
|
||
<!-- 已申報紀錄 -->
|
||
<section class="section">
|
||
<h3 style="font-size: 16px; margin-bottom: 12px;">📋 已申報紀錄</h3>
|
||
|
||
<div class="record-item">
|
||
<div><strong>2025/04/20</strong> - 水管漏水</div>
|
||
<div>地點:A棟 2F|狀態:處理中</div>
|
||
</div>
|
||
|
||
<div class="record-item">
|
||
<div><strong>2025/04/18</strong> - 網路異常</div>
|
||
<div>地點:C棟 5F|狀態:已完成</div>
|
||
</div>
|
||
|
||
<div class="record-item">
|
||
<div><strong>2025/04/15</strong> - 電力問題</div>
|
||
<div>地點:B棟 6F|狀態:待處理</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> |