forked from qr-merger/merger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmerger.html
134 lines (112 loc) · 7.02 KB
/
merger.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!--
Merger v0.21.1 - Merge Your Qrcode Together. Even Quicker.
User docs: https://docs.justhx.com/merger
Released under GNU General Public License v3.0. Open source at https://github.com/hifocus/merger.
Author @hifocus (https://github.com/hifocus), @LF112 (https://github.com/LF112)
Please preserve the copywrite notices above as required by the license.
-->
<!DOCTYPE html>
<html>
<head>
<title></title><!-- There is no need to set the page title manually -->
<meta charset="utf-8">
<meta name="author" content="Huangxin, LF112" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<!-- Upgrade HTTP Connections to HTTPS - Default -->
<link rel="shortcut icon" type="image/x-icon" id="favicon"><!-- There is no need to set the page icon manually -->
<!-- Load style files from jsDelivr - Default -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/combine/gh/hifocus/[email protected]/assets/styles/spectre.css/spectre-modified.min.css,gh/hifocus/[email protected]/assets/styles/style.min.css">
<!-- Load style files from local -->
<!-- <link rel="stylesheet" href="assets/styles/spectre.css/spectre-modified.min.css">
<link rel="stylesheet" href="assets/styles/style.css"> -->
</head>
<body>
<script>
// Config Section - Please follow the instruction
// Please read the document - https://docs.justhx.com/merger
// Replace with your preferred name and profile photo link below
// Please note the multilingual support function enabled by default below
var myname = "惶心";
var profile = "[email protected]"; // Enter a image url or your gravatar email, or leave the variable blank to use the default avatar
// var profile = "https://ae01.alicdn.com/kf/H0b798980349e4042bd9dabb1acc79cb6U.jpg";
// If you do not own any of the payment methods below, or do not want them to be published, just leave the variable empty or delete it to prevent confusion
var usage = "payment"; // Available variables: `payment`, `donate`, ineffective if multilingual is disabled
var wechat = "wxp://f2f0xFuBE5tqPeKuwZxWkpE0CBf4-GkfwdpN";
var alipay = "https://qr.alipay.com/fkx13472lqqijdd6kqmmc91";
var tenpay = "https://i.qianbao.qq.com/wallet/sqrcode.htm?m=tenpay&f=wallet&a=1&ac=26E3D12F23952F04A9553D36B31F18BC3AEA141B073F9DD9BC3747C823819645&u=1031092401&n=惶心";
var paypal = "https://paypal.me/hxco";
// Multilingual Support
var multilingual = true; // Set variable to false to disable multilingual feature
var myname_hans = myname // Default setting for Chinese Simplified users; change it to a speicify value if needed
var myname_hant = "惶心"; // Choose how you want your name to be displayed for Traditional Chinese users
var myname_eng = "Focus Chen"; // Choose how you want your name to be displayed for English / Non-Chinese users
// Dynamic Page Title Supoort
// Merger now supports dynamic page tile, however it's your freedom to choose whether you want to brand merger
// If you set branding to true, there will be a `| Merger` added after the preset page title
var branding = true; // Set variable to `false` to disable branding
// Customise pay instruction
// Will only be effective if multilingual function is disabled
var title = "选择你的支付方式";
var subtitle = "跟随进一步的指示以向" + myname + "付款"; // Do not change the `myname` variable here
// QQ Mobile wouldn't decode qrcode from `data:image`, so for qq mobile only speical qrcode that generate from qrcode api is necessary
var qrcodeapi = "https://www.zhihu.com/qrcode?url="; // Please note that the API has to support HTTPS connection otherwise will not be loaded
var gravatar_url = "https://secure.gravatar.com/avatar/"; // You can choose your preferred gravatar mirror here; defaulted to official source
</script>
<div class="main" id="h">
<i id="i"></i>
<div class="texts">
<h2 id="name"></h2>
<p id="description"></p>
</div>
<!-- Button Section Starts -->
<div id="pending">
<p id="depends" class="middlebtn">
<a href="#showqrcode" class="btn btn-primary" id="tenpaybtn" onclick="opentenpay()"><svg class="icon"
aria-hidden="true">
<use xlink:href="#icon-QQ"></use>
</svg></a>
<a href="#showqrcode" class="btn btn-primary" id="toclick" onclick="openwechat()"><svg class="icon"
aria-hidden="true">
<use xlink:href="#icon-weixinzhifu"></use>
</svg></a>
<a href="#showqrcode" class="btn btn-primary" id="alipaybtn" onclick="openalipay()"><svg class="icon"
aria-hidden="true">
<use xlink:href="#icon-iconfontrectangle390"></use>
</svg></a>
<button class="btn btn-primary" id="paypalbtn" onclick="openbox()"><svg class="icon paypal-wide"
aria-hidden="true">
<use xlink:href="#icon-paypal"></use>
</svg></button>
</p>
</div>
</div>
<!-- Button Section Ends -->
<!-- Modal Section Starts -->
<div class="modal" id="showqrcode">
<div class="modal-container" role="document">
<div class="modal-header" id="btncontainer">
<a href="#" class="btn btn-clear float-right" id="qrcodeclose" aria-label="Close"></a>
<div id="titleinfo" class="modal-title h5" style="text-align: center"></div>
</div>
<div class="modal-body">
<div class="content" id="qrcontainer">
<div id="currentqrcode" class="img smaller"></div>
<img id="tenpayonly" class="img smaller">
</div>
</div>
</div>
</div>
<!-- Modal Section Ends -->
<!-- Footer Scripts -->
<!-- Please do not swap orders -->
<!-- Load Javascript files from jsDelivr - Default -->
<script src="https://cdn.jsdelivr.net/combine/gh/hifocus/[email protected]/assets/js/jQuery/jquery.min.js,gh/hifocus/[email protected]/assets/js/jquery-qrcode/jquery-qrcode.min.js,gh/hifocus/[email protected]/assets/js/JavaScript_MD5/md5.min.js,gh/hifocus/[email protected]/assets/js/function.min.js,gh/hifocus/[email protected]/assets/js/font_974919_xgtacm93vxp.min.js"></script>
<!-- Load Javascript files from local -->
<!-- <script src="assets/js/jQuery/jquery.min.js"></script>
<script src="assets/js/jquery-qrcode/jquery-qrcode.min.js"></script>
<script src="assets/js/JavaScript_MD5/md5.min.js"></script>
<script src="assets/js/function.js"></script>
<script src="assets/js/font_974919_xgtacm93vxp.js"></script> -->
</body>
</html>