-
Notifications
You must be signed in to change notification settings - Fork 0
/
ctz.html
69 lines (64 loc) · 2.03 KB
/
ctz.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" id="browser_mode" content="IE=edge" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>광양앱</title>
<link rel="stylesheet" href="css/base.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>
<body>
<div class="m-wwrap">
<div class="m-wrap">
<div class="main-ctz ">
<div class="ctz-vs"></div>
<div class="ctz-menu">
<ul>
<li><img src="image/ctz-menu1.svg" alt=""></li>
<li><a href="ctz-menu2.html"><img src="image/ctz-menu2.svg" alt=""></a></li>
<li><img src="image/ctz-menu3.svg" alt=""></li>
<li><img src="image/ctz-menu4.svg" alt=""></li>
</ul>
</div>
</div>
</div>
<div class="footer">
<button class="footer-btn" onclick="toggleActionSheet()"></button>
</div>
<div class="action-sheet" id="actionSheet" >
<div class="card-wrap">
<div class="card">
<div class="front"><img src="image/ctz-card-qr.svg" alt=""></div>
<div class="back"><img src="image/ctz-card-qr2.svg" alt=""></div>
</div>
</div>
<button class="card-btn"><img src="image/qr-btn.svg" alt=""></button>
</div>
</div>
<script>
// Action Sheet 보이기 / 감추기 토글
function toggleActionSheet() {
var actionSheet = document.getElementById("actionSheet");
if (actionSheet.classList.contains("active")) {
hideActionSheet();
} else {
showActionSheet();
}
}
// Action Sheet 보이기
function showActionSheet() {
document.getElementById("actionSheet").classList.add("active");
}
// Action Sheet 감추기
function hideActionSheet() {
document.getElementById("actionSheet").classList.remove("active");
}
//시민증 qr코드보기
$('.card-btn').on('click', function () {
$('.card').toggleClass('flipped');
});
</script>
</body>
</html>