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
<!doctype html>
<html>
<head>
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
<script type="text/javascript">
/*标签切换屏幕左右滑动*/
$(document).ready(function () {
    n=$('.kltwowrap a').size();                
    var wh=100*n+"%";
    $('.kltwowrap').width(wh);
    var lt=(100/n/2);
    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();
    });
    
    window.onload=function(){  
        var pages = document.getElementById("swiper-pages");  
        var scale = window.screen.height / window.screen.width;  
        pages.style.height = document.body.clientWidth * scale -$('.kltit').height()-$('.kltwo').height() - 20 + "px";  
    } 
    
    var tabsSwiper = new Swiper(".swiper-container",{
        setWrapperSize :true,
        onSlideChangeStart: function(sw){
            $(".kltwowrap .active").removeClass('active');
            $(".kltwowrap a").eq(tabsSwiper.activeIndex).addClass('active');
            
           var currTab = $(".kltwowrap a").eq(tabsSwiper.activeIndex);
           currTab.parent().css("left",-parseInt(sw.activeIndex/2)*sw.width);
        }
    });
})
 
//跳转到查询页
function jumpToSearch(statsType){
    window.location.href='${base}/uwyw/stats/uSatisStats/satisStatsJump.html?statsType='+statsType;
}
</script>
</head>
 
<body>
<header class="kltit">
<a href="${base}/uwyw/ustatis.html"><span></span></a>满意度统计</header>
<nav class="kltwo clearfix">
    <div class="kltwowrap">
        <a href="#" hidefocus="true" class="active">单项统计</a>
        <a href="#" hidefocus="true">报表统计</a>         
    </div>
</nav>
<div class="swiper-pages swiper-container" id="swiper-pages">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <section class="taskstati clearfix">
                <a href="javascript:jumpToSearch('trend')"><p>满意度趋势</p></a>
                <a href="javascript:jumpToSearch('cover')"><p>满意度覆盖率</p></a>
            </section>
        </div>
        <div class="swiper-slide">
            <section class="taskstati clearfix">
                <a href="javascript:jumpToSearch('dctj')"><p>满意度调查统计表</p></a>
                <a href="javascript:jumpToSearch('total')"><p>满意度汇总</p></a>
            </section>
        </div>
    </div>
</div>    
</body>
</html>