|
|
@@ -161,7 +161,7 @@ function deleteItem4Common(id, url, okCb, offset) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-function deleteItem4CallBack(cb){
|
|
|
+function deleteItem4CallBack(cb) {
|
|
|
layer.confirm('确定删除记录?', {
|
|
|
shade: 0,
|
|
|
btn: ['确定', '取消'] //按钮
|
|
|
@@ -652,8 +652,8 @@ function settime() {
|
|
|
nowStr = moment(nowStr).format('YYYY-MM-DD HH:mm:ss');
|
|
|
$("#time_p").html(nowStr);
|
|
|
$("#main").css("min-height", window.innerHeight);
|
|
|
- var height = window.innerHeight - $("#main").height();
|
|
|
- $("#foot").css("bottom", height > 0 ? 0 : height);
|
|
|
+ var height = window.innerHeight - $("body").height();
|
|
|
+ $("#foot").css("bottom", height > 0 ? 0 : height - $("#foot").height() - 20);
|
|
|
setTimeout(gettime, 1000);
|
|
|
}
|
|
|
|