APP下载页面(支持微信扫一扫)

<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8"/>
		<title>APP 下载</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	</head>
	<body>
		<script type="text/javascript">
			var UA = navigator.userAgent,devicesType = "android";
			(UA.indexOf("iPhone") > -1 || UA.indexOf("iPad") > -1) && (devicesType = "iPhone");
			if(devicesType === "android"){
				location.href = "应用下载地址";
			}
			if(devicesType === "iPhone"){
			    location.href = "应用下载地址";
			}
		</script>
	</body>
</html>

  

posted @ 2015-02-02 14:42  zendwang  阅读(639)  评论(0编辑  收藏  举报