霍东伟
2019-06-28 b0c827daed79e4aaf7eada5f4fbc2ac7213b347b
修复图表显示bug
2个文件已修改
7 ■■■■■ 已修改文件
sensor/WebRoot/mobile/pages/monitor/control.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sensor/WebRoot/mobile/pages/monitor/history.html 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sensor/WebRoot/mobile/pages/monitor/control.html
@@ -294,7 +294,7 @@
                });
                
                // 页面中的点击事件
                pages.$navbarEl.find('.graph-resize').click(function() {
                $('.graph-resize').click(function() {
                    var pageHt = $('.data-page-content').height();
                    $('.graph-group').height(pageHt-1);
                    swiper.update();
sensor/WebRoot/mobile/pages/monitor/history.html
@@ -384,7 +384,7 @@
                // 定义滑动轮播组件
                var swiper = app.swiper.create('.swiper-container', {
                    speed: 400,
                    spaceBetween: 0,
                    spaceBetween: 1,
                    direction: 'vertical',
                    setWrapperSize: true,
                    autoHeight: true,
@@ -394,8 +394,9 @@
                });
                
                // 页面中的点击事件
                pages.$navbarEl.find('.graph-resize').click(function() {
                $('.graph-resize').click(function() {
                    var pageHt = $('.data-page-content').height();
                    console.log(pageHt);
                    $('.graph-group').height(pageHt-1);
                    swiper.update();
                    vm.smokeLine.resize();