-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (160 loc) · 4.93 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<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">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>太極 - 小巧的pvz2修改工具</title>
<meta name="keywords" content="">
<meta name="description" content="">
<style>
*{
margin: 0;
padding: 0;
border: 0;
outline: 0;
}
html,body{
width: 100%;
height: 100%;
}
body{
background: url(./Screenshot_20220810_160939_edit_1099027497852300.jpg) no-repeat 0 0;
background-size: 100% 100%;
}
.page{
padding-top: 135px;
}
.tit{
width: 240px;
height: 46px;
margin: 0 auto 0 auto;
border: 2px solid #8c4e10;
border-radius: 46px;
}
.tit .inside{
position: relative;
background-color: #8c4e10;
width: 232px;
height: 40px;
border-radius: 40px;
margin-top: 3px;
margin-left: 4px;
color: #faf9f3;
font-size: 18px;
text-indent: 20px;
line-height: 40px;
font-weight: bold;
}
.tit .inside::before{
position: absolute;
left: 13px;
top: 16px;
content: '';
display: block;
width: 8px;
height: 8px;
border-radius: 8px;
background-color: #faf9f3;
}
.tit .inside::after{
position: absolute;
right: 13px;
top: 16px;
content: '';
display: block;
width: 8px;
height: 8px;
border-radius: 8px;
background-color: #faf9f3;
}
.desc{
font-size: 16px;
text-align: center;
color: #8c4e10;
font-weight: bold;
margin: 30px 0 20px 0;
}
.list{
font-size: 16px;
color: #8c4e10;
margin: 0 auto;
width: 190px;
}
.logo{
background: url(./ic_launcher.png) no-repeat 0 0;
background-size: cover;
width: 100px;
height: 100px;
margin: 30px auto;
}
.title{
font-size: 0;
background: url() no-repeat 0 0;
width: 210px;
height: 36px;
background-size: contain;
margin: 0 auto;
}
.download-btn {
display: block;
background-color: #8c4e10;
color: #ffffff;
font-size: 16px;
width: 120px;
height: 36px;
line-height: 36px;
text-align: center;
margin: 30px auto;
cursor: pointer;
}
</style>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?7d309bb26ecba6edce1bb99a3d7e7bf0";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div class="page">
<div class="tit">
<div class="inside">《太極1.9.0自带库》apk下载</div>
</div>
<!-- <div class="desc">下载《太極1.9.0无需库》apk只差一步啦!</div>
<ul class="list">
<li>点击右上角菜单<img src="" alt=""></li>
<li>选择 “在浏览器中打开”</li>
</ul> -->
<div class="logo"></div>
<div class="title">《太極1.9.0自带库》apk</div>
<button type="button" id="downloadBtn" class="download-btn">Download</button>
</div>
<script>
function download() {
var ua = navigator.userAgent;
var platform = {
isAndorid: /Android/ig.test(ua),
isiOS: /iPhone|iPad|iPod/ig.test(ua),
};
if(platform.isiOS) {
window.location.href = './taiji_1.9.0nolibrary.apk';
} else if (platform.isAndorid) {
window.location.href = './taiji_1.9.0nolibrary.apk';
// window.location.href = '..io/taiji_1.9.0nolibrary.apk';
} else {
window.location.href = './taiji_1.9.0nolibrary.apk';
}
}
var downloadBtn = document.getElementById('downloadBtn');
downloadBtn.addEventListener('click', function() {
download()
}, false);
</script>
</body>
</html>