Skip to content

Commit

Permalink
更新js
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed Jan 22, 2021
1 parent 334a9d2 commit c9d8d7f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions myassets/dwz_jui-master/js/dwz.ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit c9d8d7f

Please sign in to comment.