layui滑动条如何隐藏

武飞扬头像
PHP中文网
帮助33

layer.js open 隐藏滚动条

$('img.echart-trand').click(function() {
 
  var host = $(this).data('host');
  var role = $(this).data('role');
 
  console.log('host',host);
  console.log(window.width);
 
  var labeltitle = host;
  if(role==4)labeltitle = $(this).data('title');
 
  var width = $(window).width()   "px";
  var height = $(window).height()   "px";
  layer.open({
    type: 2,
    title: labeltitle   ' - 投放关系图',
    shadeClose: true,
    move: false,
    scrollbar: false, // 父页面 滚动条 禁止
    // maxmin: true,
    area: [width, height],
    // content: ['/home/index/echartTest?role=2&wd=' host,'no'], //ifrma 滚动条 禁止显示 页面
    content: ['/home/index/echartTest?role=' role '&wd='   host],
  });
});

本文出至:学新通

系列文章
更多 更多
同类精品
更多 更多
我要评论
我的头像
精彩评论
继续加载