From c9d8d7f60b67a0eb594a0e3a25590c8f50eb560e Mon Sep 17 00:00:00 2001 From: Terry <2358269014@qq.com> Date: Fri, 22 Jan 2021 10:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myassets/dwz_jui-master/js/dwz.ui.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/myassets/dwz_jui-master/js/dwz.ui.js b/myassets/dwz_jui-master/js/dwz.ui.js index 135db2f..a51200f 100644 --- a/myassets/dwz_jui-master/js/dwz.ui.js +++ b/myassets/dwz_jui-master/js/dwz.ui.js @@ -200,9 +200,20 @@ function initUI(_box){ var div = document.getElementById("container"); var w = div.offsetWidth; // 返回元素的总宽度 var h = div.offsetHeight; // 返回元素的总高度 + $(".big_dialog").attr("width", w*0.99); + $(".big_dialog").attr("height", h*0.95); $(".big_dialog").attr("width", w*0.95); $(".big_dialog").attr("height", h*0.95); + $(".btnEdit").attr("width", w*0.95); + $(".btnEdit").attr("height", h*0.95); + + $(".toolBar .add").attr("width", w*0.95); + $(".toolBar .add").attr("height", h*0.95); + + $(".toolBar .edit").attr("width", w*0.95); + $(".toolBar .edit").attr("height", h*0.95); + //dialogs $("a[target=dialog]", $p).each(function(){ $(this).click(function(event){