下载中心 在线充值
var CopyRightcss = "Top/css/cptop.css";
关注微信公众号关注微信公众号

特殊展示

装备展示
装备展示
装备展示
装备展示
装备展示
装备展示


var CopyRightcss = "css/black.css"; //更多 //$('.t4 .more').click(function(){alert('敬请期待!')}); //新闻列表 $(".t2 .tab_tita").mouseover(function() { $(".tab_tit .tab_tita").removeClass("a_focus"); $(this).addClass("a_focus"); var n = $(this).index(); $(".news").hide().eq(n).show(); }) //游戏特色 $(".t3_tese .title").mouseover(function() { var _this = $(this); _this.parent('li').addClass("f").siblings("li").removeClass("f"); $(".t3_tese img").hide(); _this.parent('li').find('img').show(); }); //底部固定导航 $(".t6_close").click(function(){ $(".fixedBottom").animate({width:0},560,function(){ $(".fixedBottom").hide(); $(".fixedBottomAfterBox").css({'width':'0','display':'block'}).animate({'width':'250px'},300,function(){ $(".fixedBottomAfterBox").animate({'left':'20px'},400); }); }); }); $(".fixedBottomAfter").click(function(){ $(".fixedBottomAfterBox").animate({left:"26%"},300,function(){ $(".fixedBottomAfterBox").animate({'width':'0'},300,function(){ $(".fixedBottomAfterBox").hide(); $(".fixedBottom").show().animate({'width':'764px'},560); }); }); }); //右侧导航 $(".fixedBtn1").click(function() { $(this).animate({ right: "-50px" }, 300); setTimeout(function() { $(".fixedBtn1").hide(); $(".fixed_right2").show().animate({ right: "0" }, 500); }, 500); }); $(".fixedBtn2").click(function() { $(".fixed_right2").animate({ right: "-420px" }, 500); setTimeout(function() {$(".fixed_right2").hide();$(".fixedBtn1").show().animate({ right: "20px" }, 500); }, 600); }); function showTc(name) { var ele = $('.' + name); var TopZq = ($(window).height() - ele.height()) / 2; $('.zhezhao').height($(document).height()); $('.zhezhao').fadeTo(250, .8); ele.css("left", ($(window).width() - ele.width()) / 2); if ( TopZq > 0) { ele.css("top", TopZq); } else { ele.css("top", $(window).scrollTop()); ele.css('position', 'absolute'); } /*兼容IE6*/ if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion .split(";")[1].replace(/[ ]/g,"")=="MSIE6.0") { ele.css('position', 'absolute'); ele.css('top', ($(window).scrollTop()) + 150).show(); } else { ele.show(); } $('.close').click(function() {ele.hide();$('.zhezhao').hide(); }); }; var CaptchaSrc = ""; function refreshCaptcha() { var ccImg = $(".imgageCaptcha"); if (ccImg) { if (CaptchaSrc == "") { CaptchaSrc = ccImg.attr('src'); } nowTime = new Date(); ccImg.attr('src', CaptchaSrc + "?" + nowTime.getTime() % 821006); }; }; $(document).ready(function() { if ($(".imgageCaptcha")) { $(".imgageCaptcha").click(function() { refreshCaptcha(); }); }; }); var bannerState = 0; var banner; var rState=1; //轮播 $(document).ready(function(){ banner = setInterval(bannerAF, 4000); }); function bannerAF() { clearInterval(banner); rState=0; var num = $('.nav li').length; bannerState++; if (bannerState >= num) { bannerState=0; } runFn(); } $('.nav li').on("click", function () { var index = $(this).index(); if(rState&&bannerState!=index){ clearInterval(banner); rState=0; bannerState = index; runFn(); } }); function runFn(){ $('.nav li').removeClass("focus").removeAttr("style"); $('.nav li:eq("' + bannerState + '")').addClass("focus").css({ "transform":"rotate(180deg)", "-ms-transform":"rotate(180deg)", "-moz-transform":"rotate(180deg)", "-webkit-transform":"rotate(180deg)", "-o-transform":"rotate(180deg)" }); var iImg= $(".bannerImgs li:eq("+bannerState+") img").attr("src"); var iUrl= $(".bannerImgs li:eq("+bannerState+") a").attr("href"); $(".tb2 div").css({"background-image":"url("+iImg+")"}); $(".tb2").show(); for(var i=1;i<=6;i++){ var t=i*100; (function(i){ setTimeout(function(){ $(".tb2 .t"+i).css({ //"left":"0", "opacity":"1", "-moz-opacity":"1", "filter":"alpha(opacity=100)" }); },t); })(i); } setTimeout(function(){ $(".tb1 a").attr("href",iUrl); $(".tb1 img").attr("src",iImg); $(".tb2").hide(); $(".tb2 div").removeAttr("style"); banner = setInterval(bannerAF, 4000); rState=1; },800); }