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
<!doctype html>
<html>
<head>
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
<script type="text/javascript" src="${common_static}/static/wechat/style/js/jquery.nicescroll.js"></script>
</head>
 
<body>
<header class="kltit"><label [#if RequestParameters.search??]class="check-sx taskoption"[#else]class="check taskoption"[/#if] id="check"></label><a href="${base}/ewyw/stats/ewKnowStats/knowStatsIndex.html" ><span></span></a>知识统计</header>
[#if report??&&report?size>0]
  <script>
  $(document).ready(function() {
    var nicesx = $("#boxscroll").niceScroll("#boxscroll div",{touchbehavior:true,cursorcolor:"#FF00FF",cursoropacitymax:0.6,cursorwidth:24,usetransition:true,hwacceleration:true,autohidemode:"hidden"});
  });
</script>
<div class="statistics-title">${name}</div>
<div class="client-name"><span></span><p>统计日期:${DateUtil.format("yyyy/MM/dd",startDate)}-${DateUtil.format("yyyy/MM/dd",endDate)}</p></div>
<div class="searchCon">
    <table class="tableName">
        <tbody><tr>
            <th>序号</th>
        </tr>
        [#if report??&&report?size>0]
        [#list report as data]
        <tr>
            <td>${data_index+1}</td>
        </tr>
        [/#list]
        [/#if]
    </tbody></table>
    <div id="boxscroll">
      <div>
      <table class="tableName">
        <tbody>
        <tr>
            <th style="width:150px;">分类</th>
            <th style="width:70px;">新增</th>
            <th style="width:70px;">置顶</th>
            <th style="width:70px;">精华</th>
        </tr>
        
        <!-- 数据栏 -->
            [#if report??&&report?size>0]
            [#list report as data]
            <tr>
                <td>${data.CATEGORY_NAME}</td>
                <td>${data.NUM}</td>
                <td>${data.topnum}</td>
                <td>${data.jhnum}</td>
            </tr>
            [/#list]
            [/#if]
    </tbody></table>
     </div>
    </div>
</div>
[/#if]
<script type="text/javascript">
n=$('.kltwowrap a').size();                
var wh=100*n+"%";
$('.kltwowrap').width(wh);
var lt=(100/n/4);
var lt_li=lt+"%";
$('.kltwowrap a').width(lt_li);            
$(".kltwowrap a").on('touchstart mousedown',function(e){
    e.preventDefault()
    $(".kltwowrap .active").removeClass('active');
    $(this).addClass('active');
    tabsSwiper.slideTo($(this).index());
});
 
$(".kltwowrap a").click(function(e){
    e.preventDefault();
});
 
var tabsSwiper = new Swiper(".swiper-container",{
    setWrapperSize :true,
    onSlideChangeStart: function(sw){
        $(".kltwowrap .active").removeClass('active');
        $(".kltwowrap a").eq(tabsSwiper.activeIndex).addClass('active');
        
    //sw.width
    var currTab = $(".kltwowrap a").eq(tabsSwiper.activeIndex);
    currTab.parent().css("left",-parseInt(sw.activeIndex/4)*sw.width);
    }
});
 
$(function(){
    $('#check').click(function(){
        window.location.href='${base}/ewyw/stats/ewKnowStats/knowSearchReportIndex.html?statsType=${RequestParameters.statsType}';
    });
})
</script>      
</body>
</html>