提交 a8b136a4 编写于 作者: neko's avatar neko

init

上级 8995c007
<#assign handler = ctrl.getPSAjaxControlHandler() />
<#-- content -->
<#assign content>
autosave={${ctrl.isEnableAutoSave()?c}}
viewtag={this.viewtag}
showBusyIndicator={${ctrl.isShowBusyIndicator()?c}}
<#if handler.getPSAjaxHandlerActions()??>
<#list handler.getPSAjaxHandlerActions() as action>
<#if action.getPSDEAction()??>
${action.name?lower_case}Action='${action.getPSDEAction().getCodeName()?lower_case}'
</#if>
</#list>
</#if>
style='<#if ctrl.getWidth() gt 0>width: ${ctrl.getWidth()?c}px</#if><#if ctrl.getHeight() gt 0>height: ${ctrl.getHeight()?c}px</#if>'
</#assign>
<#ibizinclude> <#ibizinclude>
../@MACRO/HTML/FORM.html.ftl ./DEFAULT.html.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{ <#if ctrl.getPSSysCsses?? && ctrl.getPSSysCsses()??>
padding: 0 16px; <#list ctrl.getPSSysCsses() as css>
} <#if css.getRawCssStyle()?? && css.getRawCssStyle()?length gt 0>
.ivu-card-head{ .${css.getCssName()} {
padding: 14px 0; ${css.getRawCssStyle()}
} }
.app-form { </#if>
flex-grow: 1; <#if css.getCssStyle()??>
height: 100%; ${css.getCssStyle()}
overflow: auto; </#if>
> .ivu-row { </#list>
height: 100%; </#if>
> .ivu-tabs { \ No newline at end of file
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
<#ibizinclude>
../@MACRO/CSS/DEFAULT.less.ftl
</#ibizinclude>
\ No newline at end of file
此差异已折叠。
...@@ -3,7 +3,9 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,9 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import './App.less'; import './App.less';
import { Form } from './forms/main/main'; import { Tabs } from 'antd';
const { TabPane } = Tabs;
/** /**
* App * App
...@@ -22,7 +24,17 @@ export default class App extends PureComponent { ...@@ -22,7 +24,17 @@ export default class App extends PureComponent {
*/ */
public render() { public render() {
return <div className="App"> return <div className="App">
<Form></Form> <Tabs defaultActiveKey="1" onChange={callback}>
<TabPane tab="Tab 1" key="1">
Content of Tab Pane 1
</TabPane>
<TabPane tab="Tab 2" key="2">
Content of Tab Pane 2
</TabPane>
<TabPane tab="Tab 3" key="3">
Content of Tab Pane 3
</TabPane>
</Tabs>
</div>; </div>;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册