Commit 7a356637 by guanzhenshan

优化滚动条显示

parent e8c372d2
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div class="bootstrap-table"> <div class="bootstrap-table">
<div class="fixed-table-container"> <div class="fixed-table-container">
<div class="fixed-table-body"> <div class="fixed-table-body">
<table style="table-layout: fixed;" class="table table-border table-bordered table-hover table-bg table-sort"> <table id="roletable" style="table-layout: fixed;" class="table table-border table-bordered table-hover table-bg table-sort">
<thead> <thead>
<tr id="tb_head" class="text-c"></tr> <tr id="tb_head" class="text-c"></tr>
</thead> </thead>
...@@ -74,6 +74,8 @@ ...@@ -74,6 +74,8 @@
laydate.render({ elem: '#end' }); laydate.render({ elem: '#end' });
list(); list();
$('.fixed-table-body').height(document.body.clientHeight - 170);
}) })
function list() { function list() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment