125 lines
4.6 KiB
HTML
125 lines
4.6 KiB
HTML
|
|
|
|||
|
|
<!DOCTYPE html>
|
|||
|
|
<html lang="zh-cn">
|
|||
|
|
<head>
|
|||
|
|
<meta charset="utf-8">
|
|||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|||
|
|
<title>大演康泉</title>
|
|||
|
|
<link rel="icon" href="images/logo.png">
|
|||
|
|
<!-- Bootstrap -->
|
|||
|
|
<link href="css/bootstrap.min.app.css" rel="stylesheet">
|
|||
|
|
<link href="css/bootstrap-theme.min.css" rel="stylesheet">
|
|||
|
|
<link href="css/appstyle.css" rel="stylesheet">
|
|||
|
|
<style type="text/css">
|
|||
|
|
.zzbox {
|
|||
|
|
position: fixed;
|
|||
|
|
right: 0;
|
|||
|
|
top: 0;
|
|||
|
|
z-index: 100;
|
|||
|
|
width: 100%;
|
|||
|
|
height: 100%;
|
|||
|
|
background-color: rgba(0,0,0,0.5);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.zzbox img {
|
|||
|
|
position: absolute;
|
|||
|
|
right: 0;
|
|||
|
|
top: 0;
|
|||
|
|
}
|
|||
|
|
</style>
|
|||
|
|
</head>
|
|||
|
|
<body>
|
|||
|
|
<span class="pattern left"><img src="images/left.png"></span>
|
|||
|
|
<span class="pattern right"><img src="images/right.png"></span>
|
|||
|
|
<div class="out container">
|
|||
|
|
<div class="table-context">
|
|||
|
|
<div class="logo">
|
|||
|
|
<div class="icon">
|
|||
|
|
<img src="images/logo.png?t=0" style="border-radius:1em;">
|
|||
|
|
</div>
|
|||
|
|
<div class="appName">
|
|||
|
|
<h1 class="aName">大演康泉</h1>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="iPhone_app hidden-md hidden-lg app_none">
|
|||
|
|
<div class="info">
|
|||
|
|
<p class="type-icon"><i><img src="images/apple.png"></i></p>
|
|||
|
|
<!--p id='tip' style='display:none;'>暂无苹果版本下载</p-->
|
|||
|
|
<p id='tip' style='display:none;'>正在安装,请按 Home 键到桌面查看,如果无法下载请通过Safari浏览器下载</p>
|
|||
|
|
<a href="/">去登录</a>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="Android_app hidden-md hidden-lg app_none">
|
|||
|
|
<div class="info">
|
|||
|
|
<p class="type-icon"><i><img src="images/android.png"></i></p>
|
|||
|
|
<p id='tip_android' style='display:none;'>正在下载Apk文件,如果无法下载请通过系统浏览器下载</p>
|
|||
|
|
<a href="/app/0c7158bf5b9e1574e7be2d8b1d168621.apk" onclick="$(this).hide();$('#tip_android').show()" class="ifupdate">下载安装</a>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<div class="QR_Code hidden-xs hidden-sm">
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="zzbox" onclick="$('.zzbox').hide();"><img src="/images/mmexport2.png" /></div>
|
|||
|
|
<div style="clear:both"></div>
|
|||
|
|
<script src="Scripts/jquery-2.0.2.min.js"></script>
|
|||
|
|
<script src="Scripts/jquery.qrcode.min.js"></script>
|
|||
|
|
<script src="Scripts/bootstrap.min.js"></script>
|
|||
|
|
<script>
|
|||
|
|
$(document).ready(function () {
|
|||
|
|
var downloadUrl = location.href;
|
|||
|
|
$("#downloadUrl").text(downloadUrl);
|
|||
|
|
$('#codexx').qrcode({
|
|||
|
|
render: "canvas",
|
|||
|
|
width: 150,
|
|||
|
|
height: 150,
|
|||
|
|
text: downloadUrl
|
|||
|
|
});
|
|||
|
|
/**
|
|||
|
|
* [isMobile]
|
|||
|
|
* @param test: 0:iPhone 1:Android
|
|||
|
|
*/
|
|||
|
|
function ismobile(test) {
|
|||
|
|
var u = navigator.userAgent, app = navigator.appVersion;
|
|||
|
|
if (/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))) {
|
|||
|
|
if (window.location.href.indexOf("?mobile") < 0) {
|
|||
|
|
try {
|
|||
|
|
if (/iPhone|mac|iPod|iPad/i.test(navigator.userAgent)) {
|
|||
|
|
return '0';
|
|||
|
|
} else {
|
|||
|
|
return '1';
|
|||
|
|
}
|
|||
|
|
} catch (e) { }
|
|||
|
|
}
|
|||
|
|
} else if (u.indexOf('iPad') > -1) {
|
|||
|
|
return '0';
|
|||
|
|
} else {
|
|||
|
|
return '1';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
var pla = ismobile(1);
|
|||
|
|
if (pla == 0) {
|
|||
|
|
//$(".iPhone_app").show();
|
|||
|
|
location.href = "/";
|
|||
|
|
} else if (pla == 1) {
|
|||
|
|
$(".Android_app").show();
|
|||
|
|
}
|
|||
|
|
var uu = navigator.userAgent;
|
|||
|
|
|
|||
|
|
if (uu.indexOf("MicroMessenger") != -1) {
|
|||
|
|
|
|||
|
|
setInterval("$('.zzbox').hide();", 5000);
|
|||
|
|
} else {
|
|||
|
|
$('.zzbox').hide();
|
|||
|
|
}
|
|||
|
|
})
|
|||
|
|
</script>
|
|||
|
|
</body>
|
|||
|
|
</html>
|