//控制页面不动

  bounce: false

    var heightSum = document.documentElement.clientHeight;

    var first = document.getElementsByClassName('first')[0];

    var second = document.getElementsByClassName('second')[0];

    var firstHeight = first.clientHeight;

    second.style.height = (heightSum - firstHeight) + 'px';

    second.style.overflow = 'scroll';

相关文章:

  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2020-06-01
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-10
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案