|
@@ -2004,7 +2004,9 @@ function showImageFunc(Id, leftVal, allTimes) {
|
|
|
// 控制字体大小
|
|
// 控制字体大小
|
|
|
function adjustFontSize(FontSize) {
|
|
function adjustFontSize(FontSize) {
|
|
|
var TFontSize = 16 * 100 / FontSize;
|
|
var TFontSize = 16 * 100 / FontSize;
|
|
|
|
|
+ var TMarginTop = (47 - TFontSize) / 2;
|
|
|
$.each($(".LDFTimerS"), function (index, element) {
|
|
$.each($(".LDFTimerS"), function (index, element) {
|
|
|
|
|
+ $(this).css("margin-top", TMarginTop + "px");
|
|
|
$(this).find("span").css("font-size", TFontSize + "px");
|
|
$(this).find("span").css("font-size", TFontSize + "px");
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|