CommunityAPP_UI/scan_activate.html

132 lines
2.7 KiB
HTML
Raw Normal View History

2025-04-29 16:59:16 +08:00
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>掃描開通</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" />
<style>
body {
background-color: #f7f8fa;
font-family: 'Noto Sans TC', sans-serif;
}
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);
}
.scan-container {
background-color: #fff;
margin: 20px;
padding: 30px 20px;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
text-align: center;
}
.scan-container img {
width: 200px;
height: 200px;
margin-bottom: 20px;
}
.scan-button {
background-color: #4caf50;
color: white;
border: none;
padding: 12px;
width: 100%;
border-radius: 24px;
font-size: 16px;
margin-top: 16px;
transition: 0.3s;
}
.scan-button:hover {
background-color: #388e3c;
}
.description {
font-size: 16px;
margin-top: 20px;
color: #666;
}
.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" onclick="history.back()" />
</div>
掃描開通
</header>
<div class="scan-container">
<h4 class="mb-3">掃描 QR Code 來開通</h4>
2025-04-30 09:37:58 +08:00
<p class="description">請掃描下面的 QR Code 開通此住戶。</p>
2025-04-29 16:59:16 +08:00
<!-- QR Code 圖片 -->
<img src="https://docs.lightburnsoftware.com/legacy/img/QRCode/ExampleCode.png" alt="QR Code" />
<button class="scan-button" onclick="startScan()">開始掃描</button>
2025-04-30 09:37:58 +08:00
<p class="description">如果無法掃描,請調整螢幕亮度。</p>
2025-04-29 16:59:16 +08:00
</div>
<script>
// 假設這個是觸發掃描操作的函數
function startScan() {
alert("開始掃描 QR Code!");
// 在實際情況中,這會調用你的掃描程式碼
}
</script>
</body>
</html>