document.querySelector(".fixed-table-body").addEventListener("scroll", function(){alert("监听滚动条事件")});

var func_scrolltop = function(){
// console.log(tspg.soltop);
var a = document.querySelector(".layui-table-main");
if(tspg.soltop>0){
a.scrollTop = tspg.soltop;
}
a.addEventListener("scroll", function(){
tspg.soltop = this.scrollTop;
});
};
var func_go_page = function(a,b){
if(a.count > 0){
var sel = document.querySelector(".layui-laypage-limits").children[0].value;
tspg.page = {curr:b,limit:sel};
}else {
tspg.page = {curr:1};
}
};

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-08-08
猜你喜欢
  • 2021-06-09
  • 2021-12-17
  • 2021-09-16
  • 2021-08-06
  • 2022-02-22
  • 2022-12-23
相关资源
相似解决方案