| | |
| | | } |
| | | |
| | | if (_config.setting.laypage) { |
| | | _config.wrap.contentHeight = _config.wrap.height - (showHeader ? 85 : 40) |
| | | _config.wrap.contentHeight = showHeader ? 'calc(100% - 85px)' : 'calc(100% - 40px)' |
| | | } else { |
| | | _config.wrap.contentHeight = _config.wrap.height - (showHeader ? 45 : 0) |
| | | _config.wrap.contentHeight = showHeader ? 'calc(100% - 45px)' : '100%' |
| | | } |
| | | |
| | | _config.columns.forEach(item => { |
| | |
| | | const { config, loading, data, BID, pageIndex, preIndex, total } = this.state |
| | | |
| | | return ( |
| | | <div className="custom-table-card-box" style={{...config.style, height: config.wrap.height}}> |
| | | <div className="custom-table-card-box" style={{...config.style}}> |
| | | {loading ? |
| | | <div className="loading-mask"> |
| | | {data ? <div className="ant-spin-blur"></div> : null} |