| | |
| | | changeStyle = () => { |
| | | const { card } = this.state |
| | | |
| | | MKEmitter.emit('changeStyle', ['font', 'background', 'border', 'padding', 'shadow'], card.style, this.getStyle) |
| | | MKEmitter.emit('changeStyle', ['background', 'border', 'padding', 'shadow'], card.style, this.getStyle) |
| | | } |
| | | |
| | | changeTitleStyle = () => { |
| | |
| | | position: absolute; |
| | | z-index: 2; |
| | | font-size: 16px; |
| | | right: 1px; |
| | | top: 1px; |
| | | right: 0px; |
| | | top: 0px; |
| | | cursor: pointer; |
| | | padding: 5px; |
| | | padding: 4px; |
| | | background: rgba(255, 255, 255, 0.55); |
| | | color: rgba(0, 0, 0, 0.65); |
| | | } |
| | |
| | | font-size: 20px; |
| | | line-height: 50px; |
| | | .anticon-left { |
| | | margin: 0 8px 0 5px; |
| | | margin: 0 10px; |
| | | } |
| | | .img { |
| | | width: 30px; |
| | |
| | | } |
| | | .am-navbar-title { |
| | | text-align: center; |
| | | font-style: inherit; |
| | | font-weight: inherit; |
| | | flex: 1; |
| | | } |
| | | .am-navbar-search { |
| | |
| | | min-width: 10px; |
| | | font-size: 20px; |
| | | line-height: 50px; |
| | | margin-right: 10px; |
| | | .anticon-search { |
| | | margin-right: 5px; |
| | | padding: 5px; |
| | |
| | | |
| | | if (config.setting && (!config.wrap || !config.wrap.datatype || config.wrap.datatype === 'dynamic')) { |
| | | if (config.setting.interType === 'system') { |
| | | if (config.setting.execute !== 'false') { |
| | | if (config.setting.execute !== 'false' && config.setting.dataresource) { |
| | | let tbs = config.setting.dataresource.match(cutreg) |
| | | tbs && cuts.push(...tbs) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | window.GLOB.CacheData.set(tempId, {$BID: BID}) |
| | | |
| | | config.components = config.components.map(component => { |
| | | if (component.action) component.action = [] |
| | | if (component.search) component.search = [] |
| | |
| | | component.type = 'card' |
| | | } |
| | | |
| | | component.$pageId = tempId |
| | | if (component.setting && component.setting.supModule) { |
| | | let pid = component.setting.supModule.pop() |
| | | if (pid && pid !== 'empty') { |
| | | component.setting.supModule = pid |
| | | } else { |
| | | component.setting.supModule = '' |
| | | } |
| | | } |
| | | |
| | | if (component.type === 'table') { |
| | | let getColumns = (cols) => { |
| | | return cols.map(item => { |