From a21f3191d29a936e5d28a899375a35e1aace3972 Mon Sep 17 00:00:00 2001 From: Young Date: Wed, 29 Aug 2018 15:08:52 +0800 Subject: [PATCH] =?UTF-8?q?BI-28955=20=E5=85=BC=E5=AE=B9IE10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/base.css | 2 ++ dist/base.js | 2 ++ dist/bundle.css | 2 ++ dist/bundle.js | 2 ++ dist/fineui.css | 2 ++ dist/fineui.js | 2 ++ dist/fineui_without_jquery_polyfill.js | 2 ++ src/base/pane.js | 2 ++ src/css/base/pane.css | 2 ++ src/less/base/pane.less | 4 +++- 10 files changed, 21 insertions(+), 1 deletion(-) diff --git a/dist/base.css b/dist/base.css index c268a921d0..5a5c474abf 100644 --- a/dist/base.css +++ b/dist/base.css @@ -997,6 +997,8 @@ } .bi-pane { min-height: 55px; +} +.bi-pane .loading-container { background-color: rgba(247, 248, 250, 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00f7f8fa,endColorstr=#00f7f8fa); } diff --git a/dist/base.js b/dist/base.js index 58f880206a..7acc052904 100644 --- a/dist/base.js +++ b/dist/base.js @@ -279,6 +279,7 @@ BI.Pane = BI.inherit(BI.Widget, { if (!BI.Layers.has(this.getName())) { BI.createWidget({ type: "bi.absolute_center_adapt", + cls: "loading-container", items: [{ el: loadingAnimation }], @@ -292,6 +293,7 @@ BI.Pane = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.absolute_center_adapt", element: this, + cls: "loading-container", items: [{ el: this._loading, left: 0, diff --git a/dist/bundle.css b/dist/bundle.css index 1f9302f0d4..a076bc5645 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -2951,6 +2951,8 @@ textarea { } .bi-pane { min-height: 55px; +} +.bi-pane .loading-container { background-color: rgba(247, 248, 250, 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00f7f8fa,endColorstr=#00f7f8fa); } diff --git a/dist/bundle.js b/dist/bundle.js index 20ab24a506..7a8203c7b7 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -35575,6 +35575,7 @@ BI.Pane = BI.inherit(BI.Widget, { if (!BI.Layers.has(this.getName())) { BI.createWidget({ type: "bi.absolute_center_adapt", + cls: "loading-container", items: [{ el: loadingAnimation }], @@ -35588,6 +35589,7 @@ BI.Pane = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.absolute_center_adapt", element: this, + cls: "loading-container", items: [{ el: this._loading, left: 0, diff --git a/dist/fineui.css b/dist/fineui.css index 3a812fd72f..e64b1afc8d 100644 --- a/dist/fineui.css +++ b/dist/fineui.css @@ -2951,6 +2951,8 @@ textarea { } .bi-pane { min-height: 55px; +} +.bi-pane .loading-container { background-color: rgba(247, 248, 250, 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00f7f8fa,endColorstr=#00f7f8fa); } diff --git a/dist/fineui.js b/dist/fineui.js index 25f9135cf5..1cababd2da 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -35817,6 +35817,7 @@ BI.Pane = BI.inherit(BI.Widget, { if (!BI.Layers.has(this.getName())) { BI.createWidget({ type: "bi.absolute_center_adapt", + cls: "loading-container", items: [{ el: loadingAnimation }], @@ -35830,6 +35831,7 @@ BI.Pane = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.absolute_center_adapt", element: this, + cls: "loading-container", items: [{ el: this._loading, left: 0, diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 1518090b99..4075a3b8ef 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -24407,6 +24407,7 @@ BI.Pane = BI.inherit(BI.Widget, { if (!BI.Layers.has(this.getName())) { BI.createWidget({ type: "bi.absolute_center_adapt", + cls: "loading-container", items: [{ el: loadingAnimation }], @@ -24420,6 +24421,7 @@ BI.Pane = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.absolute_center_adapt", element: this, + cls: "loading-container", items: [{ el: this._loading, left: 0, diff --git a/src/base/pane.js b/src/base/pane.js index ac78a8ba4e..c617aeb94a 100644 --- a/src/base/pane.js +++ b/src/base/pane.js @@ -78,6 +78,7 @@ BI.Pane = BI.inherit(BI.Widget, { if (!BI.Layers.has(this.getName())) { BI.createWidget({ type: "bi.absolute_center_adapt", + cls: "loading-container", items: [{ el: loadingAnimation }], @@ -91,6 +92,7 @@ BI.Pane = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.absolute_center_adapt", element: this, + cls: "loading-container", items: [{ el: this._loading, left: 0, diff --git a/src/css/base/pane.css b/src/css/base/pane.css index b978d88b98..d382f079a2 100644 --- a/src/css/base/pane.css +++ b/src/css/base/pane.css @@ -344,6 +344,8 @@ } .bi-pane { min-height: 55px; +} +.bi-pane .loading-container { background-color: rgba(247, 248, 250, 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00f7f8fa,endColorstr=#00f7f8fa); } diff --git a/src/less/base/pane.less b/src/less/base/pane.less index 605d44bb8c..0cc614ff52 100644 --- a/src/less/base/pane.less +++ b/src/less/base/pane.less @@ -2,7 +2,9 @@ @import "../resource/background"; .bi-pane { min-height: 55px; - .background-color(@color-bi-background-normal, 0); + & .loading-container { + .background-color(@color-bi-background-normal, 0); + } } .bi-loading-widget {