基本信息
源码名称:微信apk安装文件通用下载 引导提示页 源码
源码大小:0.30M
文件格式:.zip
开发语言:CSS
更新时间:2016-08-12
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
通用引导页,拿来即可使用,使用方法:
http://www.xxxx.com/weixin/index.html?http://union.youpaopao.com/index.php?ac=down&coopid=16&appid=101
其中xxxx.com为你的网站网址,通过以上网址 即可 自动下载? 问号后面的网址
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="format-detection" content="telphone=no, email=no" />
<title>安装包下载</title>
<!--访问网址格式为 http://www.haolizi.net/weixin/index.html?http://union.youpaopao.com/index.php?ac=down&coopid=16&appid=101-->
<style>
html, body {
width: 100%;
height: 100%;
}
#wx_notice {
width: 100%;
}
.pc {
width: 640px;
height: 100%;
margin: 0 auto;
background: url('Images/download.jpg') no-repeat center center;
}
.mobile {
width: 100%;
height: 100%;
background: url('Images/download.jpg') no-repeat center center;
background-size: 100% auto;
}
</style>
</head>
<body>
<img id="wx_notice" src="Picture/wx2.png" alt="" style="display:none;">
<div id="loading_not" style="display:none"></div>
<script type="text/javascript" src="Scripts/jq_183.js"></script>
<script type="text/javascript">
var apkUrl = getApkUrl();// getURLParameter('url');//apk文件地址
if (apkUrl != null) window.location.href = apkUrl;
if (isWeiXin()) {
$('body').css({ 'background': '#000' });
$('#wx_notice').show();
} else {
$('.loading_not').show()
}
function isWeiXin() {
var ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == 'micromessenger') {
return true;
} else {
return false;
}
}
function IsPC() {
var userAgentInfo = navigator.userAgent;
var Agents = ["Android", "iPhone",
"SymbianOS", "Windows Phone",
"iPad", "iPod"];
var flag = true;
for (var v = 0; v < Agents.length; v ) {
if (userAgentInfo.indexOf(Agents[v]) > 0) {
flag = false;
break;
}
}
return flag;
}
if (IsPC()) {
document.getElementById('loading_not').className = 'pc';
} else {
document.getElementById('loading_not').className = 'mobile';
}
function getURLParameter(name) {
return decodeURIComponent((new RegExp('[?|&]' name '=' '([^&;] ?)(&|#|;|$)').exec(location.search) || [null, ''])[1].replace(/\ /g, '%20')) || null;
}
function getApkUrl() {
var url = location.search; //获取url中"?"符后的字串
return url.substr(1);
}
</script>
</body>
</html>