-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprice.html
90 lines (83 loc) · 2.94 KB
/
price.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>价格 - 局域网精灵</title>
<link rel="icon" href="favicon.ico" />
<style>
.price {
color: red
}
#pay1,
#pay2 {
font-size: 30px;
}
.mcard {
padding: 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
margin: 5px;
}
.mcard:hover {
background-color: #eeeeee;
}
</style>
<script>
function getUsername() {
if (location.href.indexOf('#') > -1) {
var username = location.href.split('#')
var str = ''
if (username.length > 1) {
str = username[1]
}
return encodeURIComponent(str);
}
var username = location.href.split('?')
var str = ''
if (username.length > 1) {
str = username[1]
}
return encodeURIComponent(str);
}
function gopay() {
var str = getUsername();
location.href = '/topup.html?u=' + str;
}
</script>
</head>
<body>
<div style="display: flex;flex-direction: column;align-items: center;">
正在跳转到新地址 <a href="javascript:location.href='https://lan-genius.com/price.html?username='+getUsername();">立即跳转</a>
<!-- <div
style="margin-top: 20px;display: flex;flex-direction: column;align-items: center;max-width: 700px;width: 100%;">
<div id="info1" style="display: none">请先注册一个账号再充值,<a href="download.html">立即下载客户端</a></div>
<div style="display: flex;flex-direction: row;align-items: center;padding: 10px;">
<div class="card mcard">
<span id="pay1" class="price">1元7天
</span>
<span>$0.14</span>
</div>
<div class="card mcard">
<span id="pay2" class="price">42元1年</span>
<span>$3.13</span>
</div>
<div class="card mcard">
<span id="pay3" class="price">70元永久</span>
<span>$9.97</span>
</div>
</div>
<div id="info2" style="display: none">因为支付的时候需要备注上你的账号名</div>
<button class="btn waves-effect waves-light cyan" type="submit" name="action" onclick="gopay()">去支付
</button>
</div> -->
</div>
<script>
setTimeout(() => {
location.href='https://lan-genius.com/price.html?username='+getUsername()
}, 1000);
</script>
</body>
</html>