修改日志界面列名、列宽.

This commit is contained in:
zhangwenqing
2018-08-06 17:56:35 +08:00
parent 48bc66358c
commit 10dd90c974
7 changed files with 9 additions and 10 deletions

View File

@@ -393,7 +393,6 @@ window.onload=function(){
var igHeight = $("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").height();
$("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").bind("DOMNodeInserted",function(e) {
var newIgHeight = $("#searchForm").find(".col-md-12").eq(0).height();
alert(newIgHeight)
$("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").find(".input-group-btn").css("padding-bottom", (newIgHeight-igHeight)+"px");
});

View File

@@ -9,7 +9,7 @@ $(document).ready(function() {
var finalStyle = this.currentStyle ? this.currentStyle : document.defaultView.getComputedStyle(this , null);
var fontSize = (finalStyle.fontSize).replace("px","");
var px = getPixelsCount($(this).text(),fontSize)+55;
var px = getPixelsCount($(this).text(),fontSize)+32;
this.setAttribute('width',px+'px');
});
})