From 8745e9d60eb3b7a587e176a807e41b43ddc8a519 Mon Sep 17 00:00:00 2001 From: plough Date: Mon, 15 Apr 2019 16:55:34 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-14865=20=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=8E=A8=E9=80=81=3D>=E8=B0=83=E6=95=B4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/ui/update/push/pushUpdate.css | 16 +++++++++------- .../com/fr/design/ui/update/push/pushUpdate.js | 8 ++------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.css b/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.css index dfbcc6851e..e583a96aa7 100644 --- a/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.css +++ b/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.css @@ -1,3 +1,9 @@ +body { + padding-left: 30px; + padding-top: 30px; + color: white; +} + .title { font-size: 30px; } @@ -10,11 +16,7 @@ .buttonGroup { margin-top: 35px; } -.button-ignore { - -} -body { - padding-left: 30px; - padding-top: 30px; - color: white; +.button-ignore { + background-color: white !important; + border: 1px solid white !important; } \ No newline at end of file diff --git a/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.js b/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.js index 543ce292fb..722b3d3cd0 100644 --- a/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.js +++ b/designer-base/src/main/resources/com/fr/design/ui/update/push/pushUpdate.js @@ -79,7 +79,7 @@ window.addEventListener("load", function (ev) { ] }); - BI.createWidget({ + var container = BI.createWidget({ type:"bi.vertical", element: "body", cls: "container", @@ -91,9 +91,5 @@ window.addEventListener("load", function (ev) { ] }); - $(".container").css("background", "url(" + Pool.data.getBackgroundUrl() + ")"); - $(".button-ignore").css({ - "background-color": "white", - "border": "1px solid white" - }); + container.element.css("background", "url(" + Pool.data.getBackgroundUrl() + ")"); }); \ No newline at end of file