From a4ef35bb323b5f8300f15a4eb604d61ff39a194a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 17 十二月 2020 17:35:39 +0800 Subject: [PATCH] 2020-12-17 --- src/tabviews/custom/index.jsx | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index f396e05..a295a88 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -263,6 +263,11 @@ item.subcards.forEach(card => { let _hasheight = card.style.height && card.style.height !== 'auto' + if (card.style.shadow) { // 鍗$墖闃村奖 + card.style.boxShadow = '0 0 4px ' + card.style.shadow + delete card.style.shadow + } + card.elements = card.elements.filter(cell => { if (cell.eleType === 'button') { cell.logLabel = item.name + '-' + cell.label @@ -688,8 +693,8 @@ const { debug, loadingview, viewlost, config, loading } = this.state return ( - <div className="custom-page-wrap" id={this.state.ContainerId} style={config ? config.style : null}> - {(loadingview || loading) ? <Spin size="large" /> : null} + <div className={'custom-page-wrap ' + (loadingview || loading ? 'loading' : '')} id={this.state.ContainerId} style={config ? config.style : null}> + {(loadingview || loading) ? <Spin className="view-spin" size="large" /> : null} <Row>{this.getComponents()}</Row> {debug && MenuNo && options.sysType !== 'cloud' && menuType !== 'HS' ? <Button icon="copy" -- Gitblit v1.8.0