| | |
| | | });
|
| | |
|
| | | // 页面中的点击事件
|
| | | pages.$navbarEl.find('.graph-resize').click(function() {
|
| | | $('.graph-resize').click(function() {
|
| | | var pageHt = $('.data-page-content').height();
|
| | | $('.graph-group').height(pageHt-1);
|
| | | swiper.update();
|
| | |
| | | // 定义滑动轮播组件
|
| | | var swiper = app.swiper.create('.swiper-container', {
|
| | | speed: 400,
|
| | | spaceBetween: 0,
|
| | | spaceBetween: 1,
|
| | | direction: 'vertical',
|
| | | setWrapperSize: true,
|
| | | autoHeight: true,
|
| | |
| | | });
|
| | |
|
| | | // 页面中的点击事件
|
| | | 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();
|