cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!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}/uwyw/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}/uwyw/stats/uKnowStats/knowStatsJump.html?statsType='+statsType;
}
//跳转到查询页
function jumpToReport(statsType){
    window.location.href='${base}/uwyw/stats/uKnowStats/knowStatsReportJump.html?statsType='+statsType;
}
 
 
 
</script>              
</body>
</html>