<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
</head>
|
<body>
|
<header class="kltit tcenter"><a href="${base}/ewyw/estatis.html"><span></span></a>知识统计</header>
|
<nav class="kltwo clearfix">
|
<div class="kltwowrap3">
|
<a href="#" hidefocus="true" class="active">图形统计</a>
|
<a href="#" hidefocus="true">报表统计</a>
|
</div>
|
</nav>
|
<div class="pt22">
|
<div class="swiper-pages swiper-container zstjcon">
|
<div class="swiper-wrapper">
|
<div class="swiper-slide">
|
<section class="taskstati clearfix">
|
<a href="javascript:jumpToSearch('cate')"><p>知识分类</p></a>
|
<a href="javascript:jumpToSearch('cfg')"><p>配置分类</p></a>
|
<a href="javascript:jumpToSearch('sv')"><p>服务目录</p></a>
|
<a href="javascript:jumpToSearch('eng')"><p>工程师</p></a>
|
<a href="javascript:jumpToSearch('num')"><p>数量</p></a>
|
</section>
|
</div>
|
<div class="swiper-slide">
|
<section class="taskstati clearfix">
|
<a href="javascript:jumpToReport('cate')"><p>知识分类统计</p></a>
|
<a href="javascript:jumpToReport('cfg')"><p>配置分类统计</p></a>
|
<a href="javascript:jumpToReport('sv')"><p>服务目录统计</p></a>
|
<a href="javascript:jumpToReport('eng')"><p>工程师统计</p></a>
|
<a href="javascript:jumpToReport('num')"><p>数量统计</p></a>
|
</section>
|
</div>
|
</div>
|
</div>
|
</div>
|
<!-- <footer>
|
<a class="lore"><span></span><font>首页</font></a>
|
<a class="lore"><span></span><font>管理</font></a>
|
<a class="lore"><span></span><font>文档</font></a>
|
<a class="lore"><span></span><font>我的</font></a>
|
</footer> -->
|
<script type="text/javascript">
|
n=$('.kltwowrap3 a').size();
|
var wh=100*n+"%";
|
$('.kltwowrap3').width(wh);
|
var lt=(100/n/2);
|
var lt_li=lt+"%";
|
$('.kltwowrap3 a').width(lt_li);
|
$(".kltwowrap3 a").on('touchstart mousedown',function(e){
|
e.preventDefault()
|
$(".kltwowrap3 .active").removeClass('active');
|
$(this).addClass('active');
|
tabsSwiper.slideTo($(this).index());
|
});
|
|
$(".kltwowrap3 a").click(function(e){
|
e.preventDefault();
|
});
|
window.onload=function(){
|
/* var pages3 = document.getElementById("swiper-pages2");
|
var scale3 = window.screen.height / window.screen.width;
|
pages3.style.height = document.body.clientWidth * scale3 -$('.kltit').height()-$('.kltwo').height()-$('.button').height() - 76 + "px"; */
|
}
|
var tabsSwiper = new Swiper(".swiper-container",{
|
setWrapperSize :true,
|
onSlideChangeStart: function(sw){
|
$(".kltwowrap3 .active").removeClass('active');
|
$(".kltwowrap3 a").eq(tabsSwiper.activeIndex).addClass('active');
|
|
//sw.width
|
var currTab = $(".kltwowrap3 a").eq(tabsSwiper.activeIndex);
|
/*if(currTab.width()*sw.activeIndex +10 > sw.width){
|
currTab.parent().css("left",-currTab.width()*sw.activeIndex);
|
}else{
|
currTab.parent().css("left",0);
|
}*/
|
currTab.parent().css("left",-parseInt(sw.activeIndex/2)*sw.width);
|
}
|
});
|
|
//跳转到查询页
|
function jumpToSearch(statsType){
|
window.location.href='${base}/ewyw/stats/ewKnowStats/knowStatsJump.html?statsType='+statsType;
|
}
|
//跳转到查询页
|
function jumpToReport(statsType){
|
window.location.href='${base}/ewyw/stats/ewKnowStats/knowStatsReportJump.html?statsType='+statsType;
|
}
|
|
|
|
</script>
|
</body>
|
</html>
|