Update settings.html
Browse files- settings.html +65 -67
settings.html
CHANGED
@@ -1,69 +1,63 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
<
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
<
|
18 |
-
|
19 |
-
|
20 |
-
<body><div id="id8i">
|
21 |
-
<div class="container">
|
22 |
-
<form id="contactForm">
|
23 |
-
<h4>КЛУБ-ПРАКТИК. 255 техник для психолога - 2024</h4>
|
24 |
-
<div class="form-group">
|
25 |
-
<label for="name">Имя</label>
|
26 |
-
<input type="text" id="name" required>
|
27 |
-
</div>
|
28 |
-
<div class="form-group">
|
29 |
-
<label for="email">Почта</label>
|
30 |
-
<input type="email" id="email" required>
|
31 |
-
</div>
|
32 |
-
<div class="form-group">
|
33 |
-
<label for="phone">Телефон</label>
|
34 |
-
<input type="tel" id="phone" required>
|
35 |
-
</div>
|
36 |
-
<div class="form-group">
|
37 |
-
<label for="options">Выберите тариф</label>
|
38 |
-
<select id="options" required>
|
39 |
-
<option value="" disabled selected>Тариф</option>
|
40 |
-
<option>БИЗНЕС - 69 970р.</option>
|
41 |
-
<option>PREMIUM - 89 970р.</option>
|
42 |
-
<option>VIP - 149 990р.</option>
|
43 |
-
</select>
|
44 |
-
</div>
|
45 |
-
<div class="form-check">
|
46 |
-
<input type="checkbox" id="newsletter" required>
|
47 |
-
<label for="newsletter">Согласие на email рассылку</label>
|
48 |
-
</div>
|
49 |
-
<div class="form-group">
|
50 |
-
<a href="#" id="privacyPolicyLink">Политика конфиденциальности</a>
|
51 |
-
</div>
|
52 |
-
<button type="submit" class="btn-primary">ПЕРЕЙТИ К ОПЛАТЕ</button>
|
53 |
-
</form>
|
54 |
-
<div id="privacyModal" class="modal">
|
55 |
-
<div class="modal-content">
|
56 |
-
<span class="close">×</span>
|
57 |
-
|
58 |
-
</div>
|
59 |
-
</div>
|
60 |
</div>
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
const form = this.querySelector('#contactForm');
|
68 |
form.addEventListener('submit', function(event) {
|
69 |
event.preventDefault();
|
@@ -108,7 +102,11 @@ vkBridge.send('VKWebAppInit');
|
|
108 |
});
|
109 |
});
|
110 |
}.bind(el))(props[el.id]);
|
111 |
-
|
112 |
-
|
113 |
-
|
|
|
|
|
|
|
|
|
114 |
|
|
|
1 |
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Скачанная HTML-страница</title>
|
7 |
+
<style>* { box-sizing: border-box; } body {margin: 0;}</style>
|
8 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
9 |
+
<script src="https://unpkg.com/@vkontakte/vk-bridge/dist/browser.min.js"></script>
|
10 |
+
<script type="text/javascript" src="https://vk.com/js/api/openapi.js?169"></script>
|
11 |
+
</head>
|
12 |
+
<body>
|
13 |
+
<div id="id8i">
|
14 |
+
<div class="container">
|
15 |
+
<form id="contactForm">
|
16 |
+
<h4>КЛУБ-ПРАКТИК. 255 техник для психолога - 2024</h4>
|
17 |
+
<div class="form-group">
|
18 |
+
<label for="name">Имя</label>
|
19 |
+
<input type="text" id="name" required>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
</div>
|
21 |
+
<div class="form-group">
|
22 |
+
<label for="email">Почта</label>
|
23 |
+
<input type="email" id="email" required>
|
24 |
+
</div>
|
25 |
+
<div class="form-group">
|
26 |
+
<label for="phone">Телефон</label>
|
27 |
+
<input type="tel" id="phone" required>
|
28 |
+
</div>
|
29 |
+
<div class="form-group">
|
30 |
+
<label for="options">Выберите тариф</label>
|
31 |
+
<select id="options" required>
|
32 |
+
<option value="" disabled selected>Тариф</option>
|
33 |
+
<option>БИЗНЕС - 69 970р.</option>
|
34 |
+
<option>PREMIUM - 89 970р.</option>
|
35 |
+
<option>VIP - 149 990р.</option>
|
36 |
+
</select>
|
37 |
+
</div>
|
38 |
+
<div class="form-check">
|
39 |
+
<input type="checkbox" id="newsletter" required>
|
40 |
+
<label for="newsletter">Согласие на email рассылку</label>
|
41 |
+
</div>
|
42 |
+
<div class="form-group">
|
43 |
+
<a href="#" id="privacyPolicyLink">Политика конфиденциальности</a>
|
44 |
+
</div>
|
45 |
+
<button type="submit" class="btn-primary">ПЕРЕЙТИ К ОПЛАТЕ</button>
|
46 |
+
</form>
|
47 |
+
<div id="privacyModal" class="modal">
|
48 |
+
<div class="modal-content">
|
49 |
+
<span class="close">×</span>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
<script>
|
55 |
+
var props = {"id8i":{"submitUrl":"https://skyauto.me/cllbck/217669590/29234583/MXZmdldqa1g2dVZJbTZjRzFzUm45dz0"}};
|
56 |
+
var ids = Object.keys(props).map(function(id) { return '#'+id }).join(',');
|
57 |
+
var els = document.querySelectorAll(ids);
|
58 |
+
for (var i = 0, len = els.length; i < len; i++) {
|
59 |
+
var el = els[i];
|
60 |
+
(function(props) {
|
61 |
const form = this.querySelector('#contactForm');
|
62 |
form.addEventListener('submit', function(event) {
|
63 |
event.preventDefault();
|
|
|
102 |
});
|
103 |
});
|
104 |
}.bind(el))(props[el.id]);
|
105 |
+
}
|
106 |
+
</script>
|
107 |
+
<script>
|
108 |
+
vkBridge.send('VKWebAppInit');
|
109 |
+
</script>
|
110 |
+
</body>
|
111 |
+
</html>
|
112 |
|