|
@@ -111,7 +111,7 @@ $(function () {
|
|
if (tenderTree.length > 0) {
|
|
if (tenderTree.length > 0) {
|
|
const html = [];
|
|
const html = [];
|
|
html.push('<table class="table table-hover table-bordered">');
|
|
html.push('<table class="table table-hover table-bordered">');
|
|
- html.push('<thead style="position: fixed;left:56px;top: 34px;">', '<tr>');
|
|
|
|
|
|
+ html.push('<thead style="position: sticky;left:56px;top: 0;">', '<tr>');
|
|
html.push('<th class="text-center" style="width: 40%">', '名称', '</th>');
|
|
html.push('<th class="text-center" style="width: 40%">', '名称', '</th>');
|
|
html.push('<th class="text-center" style="width: 15%">', '创建人', '</th>');
|
|
html.push('<th class="text-center" style="width: 15%">', '创建人', '</th>');
|
|
html.push('<th class="text-center" style="width: 15%">', '创建时间', '</th>');
|
|
html.push('<th class="text-center" style="width: 15%">', '创建时间', '</th>');
|
|
@@ -302,7 +302,7 @@ $(function () {
|
|
for(let item = 0; item < $(".c-body table>thead>tr>th").length; item ++) {
|
|
for(let item = 0; item < $(".c-body table>thead>tr>th").length; item ++) {
|
|
$(".c-body table>thead>tr>th").eq(item).outerWidth($(".c-body table>tbody>tr:first").children('td').eq(item).outerWidth());
|
|
$(".c-body table>thead>tr>th").eq(item).outerWidth($(".c-body table>tbody>tr:first").children('td').eq(item).outerWidth());
|
|
}
|
|
}
|
|
- $('.c-body table').css('margin-top', $(".c-body table>thead").height() - 4);
|
|
|
|
|
|
+ // $('.c-body table').css('margin-top', $(".c-body table>thead").height() - 4);
|
|
// $('.c-body table').css('margin-top', -2);
|
|
// $('.c-body table').css('margin-top', -2);
|
|
}
|
|
}
|
|
});
|
|
});
|