Commit 9e6a7b13 by 叶明星

安卓下载地址添加

parent 0b138a51
Showing with 70 additions and 0 deletions
<div class="weixin-tip" style="display:none;">
<p>
<img src="/images/weixin-tip.jpg" class="weixinpic" alt="微信打开"/>
</p>
</div>
<style>
a{text-decoration: none;}
.weixinpic{width: 100%; height: 100%;}
.weixin-tip{display: none; position: fixed; left:0; top:0; bottom:0; background: rgba(0,0,0,0.8); filter:alpha(opacity=80); height: 100%; width: 100%; z-index: 100;}
.weixin-tip p{text-align: center;}
</style>
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
$(function(){
var u = navigator.userAgent, app = navigator.appVersion;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1;
var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
var winHeight = $(window).height();
function is_weixin() {
var ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") {
return true;
} else {
return false;
}
}
var isWeixin = is_weixin();
if(isWeixin){
$(".weixin-tip").css("height",winHeight);
$(".weixin-tip").show();
}else {
window.location.href = "https://img.icsales.com/down/ICSales_release_1_v1.0_2019_10_12_14_42_57.apk";//安卓下载地址
}
})
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment