Selaa lähdekoodia

jinniu_download

xiuli.gao 6 vuotta sitten
vanhempi
commit
d4d9be2ac8

BIN
jinniu_download/image/button.png


BIN
jinniu_download/image/content.png


BIN
jinniu_download/image/icon.png


+ 48 - 0
jinniu_download/index.html

@@ -0,0 +1,48 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<meta content="yes" name="apple-mobile-web-app-capable">
6
+    	<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no">
7
+		<title>金牛记账</title>
8
+		<style type="text/css">
9
+			body,html{font-size: 0.16rem;min-height: 100vh;background: #FFD60B;}
10
+			body, div, button, h3, h6, span, ul, li, p, a,input{font-family: -apple-system,SF UI Text,Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0; 
11
+				margin: 0;box-sizing: inherit;font-weight: normal;}
12
+			button{outline: none;}
13
+			a, a:visited{text-decoration: none;}
14
+			.top{margin-top:0.24rem ;margin-bottom: 0.1rem;}
15
+			.top .logo{width: 0.4rem;height: 0.4rem;vertical-align: middle;margin-left: 0.13rem;}
16
+			.top span{font-size: 0.14rem;line-height: 0.2rem;color: rgba(0,0,0,0.5);vertical-align: middle;font-weight: bold;}
17
+			.content{width: 100%;}
18
+			.button{width: 1.94rem;height: 0.69rem;background: url(image/button.png) no-repeat;background-size:100% ;position: absolute;top: 8.77rem;left: 0;right: 0;margin: auto;}
19
+		</style>
20
+		<script type="text/javascript">
21
+			document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
22
+				window.onresize = function(){
23
+					document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
24
+			} 
25
+		</script>
26
+	</head>
27
+	<body>
28
+		<div id="container">
29
+			<div class="top">
30
+				<img class="logo" src="image/icon.png" />
31
+				<span>金牛记账</span>
32
+			</div>
33
+			<img class="content" src="image/content.png" />
34
+			<div class="button"></div>
35
+		</div>
36
+	</body>
37
+</html>
38
+<script type="text/javascript">
39
+	var Button = document.getElementsByClassName("button")[0];
40
+	Button.onclick = function () {
41
+		if(navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)){
42
+			window.location.href='http://a.app.qq.com/o/simple.jsp?pkgname=com.kuxuan.jinniunote&from=singlemessage&isappinstalled=0';
43
+		}
44
+		if(navigator.userAgent.match(/android/i)){
45
+			window.location.href='http://android.myapp.com/myapp/detail.htm?apkName=com.kuxuan.jinniunote';
46
+		}
47
+	}
48
+</script>