forked from alex3236/pay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (81 loc) · 3.8 KB
/
index.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!--
* Pay - 一个简单的收款码展示页
* Author: Alex3236 (//github.com/alex3236)
* License: GNU General Public License v3.0
-->
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="author" content="Alex3236">
<meta name="description" content="A sponsor page">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/font.css" rel="stylesheet">
<title>awa</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌿️</text></svg>">
<!-- 设置 -->
<script src="config.js"></script>
</head>
<body>
<div id="loading">
<div id="loader"></div>
</div>
<!-- Toolbox -->
<div class="corner">
<a class="btn btn-secondary btn-circle m-1" role="button" aria-label="Badge Generator" id="badge-btn"><i class="icon icon-badge"></i></a>
<a class="btn btn-secondary btn-circle m-1" role="button" aria-label="Download QR Code" id="dl-btn"><i class="icon-download"></i></a>
<!-- Please do not change this unless your fork is really different. -->
<a href="https://github.com/alex3236/pay" class="btn btn-dark btn-circle m-1" role="button" aria-label="Github Page"><i class="icon-github"></i></a>
</div>
<!-- Main Container -->
<div class="container h-100 d-flex justify-content-center text-center">
<div class="my-auto main" id="main">
<div id="user">
<div class="border border-2 rounded-circle mb-2 mx-auto d-block avatar" id="avatar"></div>
<h4>
<script>document.write(basic.name)</script>
</h4>
</div>
<img class="hidden" id="avatarimg" alt="">
<p class="mb-2">
<script>document.write(basic.sign)</script>
</p>
<div class="align-items-center">
<div id="qrcode-canvas" class="hidden"></div>
<div id="qrcode" class="qrcode"></div>
</div>
<div class="small text-muted pt-2" id="desc"><strong></strong></div>
<button type="button" class="mt-2 rounded-pill btn btn-switch btn-outline-dark" id="switch-btn" name="payment"><i class="icon icon-loop"></i>使用其他付款方式</button>
</div>
</div>
<div class="modal top fade" id="BadgeModal" tabindex="-1" aria-hidden="true" data-bs-backdrop="static">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title pull-left">徽章生成器</h5>
<i data-bs-dismiss="modal" class="btn-close pull-right"></i>
</div>
<div class="modal-body" id="badge-iframe">
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer fixed-bottom hidden">
<div class="container text-center mb-2">
<p class="text-muted opacity-75">
<script>document.write(basic.footer)</script>
</p>
</div>
</footer>
<!-- Scripts -->
<script src="js/tailor.js"></script>
<script src="js/main.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
</body>
</html>