$(function(){
if (0 < $("#btndownload").length && 0 < $("#downloads").length){
var xzheight=$('#aBoxDownBottom').offset().top;
var wheight=window.innerHeight;
var slideheight=0;
setTimeout(function() {
slideheight=$('#snapShotWrap').height();
console.log(slideheight);
sheight=xzheight-wheight+slideheight;
}, 500);
var sheight=xzheight-wheight+slideheight;
$("#btndownload").click(function() {
var dosheight=sheight;
$("html, body").animate({
scrollTop:sheight
},
500);
return ! 1
});}
})
//应用权限
$('.qxdjck').click(function(){
$('#permission').show();
$('#lean_overlay').show();
});
$('.modal_close').click(function(){
$('#permission').hide();
$('#lean_overlay').hide();
});
document.write("");
document.write("");
var wangzhi=window.location.href;
var html='有问题?我要反馈+ 投诉 + 提问 a>';
$('#downlist').append(html);
$(".fankuitousu").click(function(){
layer.open({
title:false,
type: 2,
area: ['640px', '550px'],
content: ["http://www.jsform.com/web/formview/66d119c0fc918f1ad750f475?field5="+wangzhi, 'no'], //iframe的url,no代表不显示滚动条
});
});
//雷电模拟器
/*
var dhtml='';
var mbxdh=$('.column').html();
if(mbxdh.indexOf('手机游戏')>0){
$('#downloadbox').append(dhtml);
}
*/
document.write("");