$(function(){ //首页焦点图 $("#main1_l").hover(function(){$("#main1_l-prev,#main1_l-next").show();},function(){$("#main1_l-prev,#main1_l-next").hide();}); $("#main1_l").slide({ mainCell:"#main1_l_bar_box ul", targetCell:"#main1_l_title a", titCell:"#main1_l-num a", prevCell:"#main1_l-prev", nextCell:"#main1_l-next", effect:"fold", easing:"swing", autoPlay:true, delayTime:1000 }) if( $(".MinB .Min3 .zt_box .zt_box_warp .bd ul li").length>=1){ $(".MinB .Min3 .zt_box .zt_box_warp").slide({mainCell:".bd ul",autoPlay:true,effect:"fold",scroll:1}); } if( $(".g-top-dome .g-domelist ul li").length>=1){ $(".g-top-dome").slide({mainCell:".g-domelist ul",autoPage:true,effect:"left",scroll:1,vis:10});//顶部滚动 } function tab_mouser(e,f) { e.mouseenter(function () { $(this).addClass('on').siblings().removeClass('on'); if(f){ f.hide().eq($(this).index()).show() } }) } tab_mouser($('.MinB .Min2 .bt_ul ul li'),$(".MinB .Min2 .list_ul ul ")); //MinB 中部切换 tab_mouser($('.MinC .hd_title .c-tab li'),$(".MinC .warp_box .warp_lef ul ")); //系统相关 $(".MinD").slide({titCell:".hd_title .c-tab li",mainCell:" .warp_rj .item_rj .rj_left",titOnClassName:"on"});//软件下载 $(".MinF").slide({titCell:".hd_title .c-tab li",mainCell:" .news_warp",titOnClassName:"on"});//文章教程 $(".MinG").slide({titCell:".hd_title .c-tab li",mainCell:" .more_warp",titOnClassName:"on"});//全部更新 })