提交 8d306da1 编写于 作者: Mosher's avatar Mosher

update:更新

上级 933f3811
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
} }
} }
.exp-bar-action-container { .exp-bar-action-container {
display: flex;
align-items: center;
}
.container-header{
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
......
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
} }
} }
.exp-bar-action-container { .exp-bar-action-container {
display: flex;
align-items: center;
}
.container-header{
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
......
...@@ -8,18 +8,11 @@ ...@@ -8,18 +8,11 @@
<div class="tree-exp-bar-title"> <div class="tree-exp-bar-title">
<icon type='ios-home-outline'/><#if ctrl.getTitle() == ''>{{ $t('app.treeExpBar.title') }}<#else>${ctrl.getTitle()}</#if> <icon type='ios-home-outline'/><#if ctrl.getTitle() == ''>{{ $t('app.treeExpBar.title') }}<#else>${ctrl.getTitle()}</#if>
</div> </div>
<#if ctrl.getPSControls()??>
<#assign controls = ctrl.getPSControls()/>
<#list controls as singleControl>
<#if singleControl.getControlType() == "TOOLBAR">
${P.getCtrlCode(singleControl, 'CONTROL.html').code}
</#if>
</#list>
</#if>
</div> </div>
</#if> </#if>
<div class="exp-bar-action-container">
<#if ctrl.isEnableSearch()> <#if ctrl.isEnableSearch()>
<div class='search-content'> <div class='search-container'>
<i-input <i-input
v-model="srfnodefilter" v-model="srfnodefilter"
:search="true" :search="true"
...@@ -27,7 +20,16 @@ ...@@ -27,7 +20,16 @@
@on-search="onSearch"> @on-search="onSearch">
</i-input> </i-input>
</div> </div>
<#if ctrl.getPSControls()??>
<#assign controls = ctrl.getPSControls()/>
<#list controls as singleControl>
<#if singleControl.getControlType() == "TOOLBAR">
${P.getCtrlCode(singleControl, 'CONTROL.html').code}
</#if>
</#list>
</#if>
</#if> </#if>
</div>
<div class='tree-exp-content'> <div class='tree-exp-content'>
<#if ctrl.getPSDETree()??><#t> <#if ctrl.getPSDETree()??><#t>
<#assign tree = ctrl.getPSDETree()/> <#assign tree = ctrl.getPSDETree()/>
......
.app-tree-exp-bar { .app-tree-exp-bar {
> .ivu-split-horizontal {
> .ivu-split-trigger-con {
height: 100%; height: 100%;
width: 1px;
}
> .ivu-split-pane {
> div {
height: 100%;
overflow-y: auto;
overflow-x: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.tree-exp-bar-header { .tree-exp-bar-header {
line-height: 50px; line-height: 50px;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
display: flex;
justify-content: space-between;
.tree-exp-bar-title { .tree-exp-bar-title {
font-size: 18px; font-size: 18px;
padding-left: 8px; padding-left: 8px;
flex-shrink: 0;
i { i {
font-size: 20px; font-size: 20px;
margin-top: -2px; margin-top: -2px;
} }
} }
.toolbar-container{ }
margin-left: auto; .exp-bar-action-container {
margin-right: 10px;
display: flex; display: flex;
flex-wrap: wrap; justify-content: flex-start;
align-items: center; align-items: center;
.ivu-badge-count{ flex-wrap: wrap;
top: 2px; .search-container {
} width: 30%;
}
}
.search-content {
width: 100%;
height: 48px; height: 48px;
padding: 10px 5px 10px 5px; padding: 10px 10px 10px 0;
} min-width: 200px;
.tree-exp-content { max-width: 400px;
<#-- 计算高度 -->
<#if ctrl.isShowTitleBar() && ctrl.isEnableSearch()>
height: calc(100% - 88px);
<#elseif ctrl.isShowTitleBar() && !ctrl.isEnableSearch()>
height: calc(100% - 40px);
<#elseif !ctrl.isShowTitleBar() && ctrl.isEnableSearch()>
height: calc(100% - 38px);
<#else>
height: 100%;
</#if>
overflow: auto;
padding: 16px 0;
margin-bottom: 10px;
}
.tree-exp-content2 {
height: 100%;
overflow: auto;
flex-grow: 1;
} }
.toolbar-container{
padding: 4px;
} }
.quick-group-container {
padding-top: 8px;
padding-right: 20px;
} }
> .right-pane.ivu-split-pane {
> div {
padding-left: 10px;
}
}
> .left-pane.ivu-split-pane {
padding-right: 10px;
} }
.tree-exp-bar-content {
flex-grow: 1;
overflow: auto;
} }
} }
......
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
} }
} }
.exp-bar-action-container { .exp-bar-action-container {
display: flex;
align-items: center;
}
.container-header{
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
......
<#if view.getPSViewLayoutPanel()?? && view.getPSViewLayoutPanel().isUseDefaultLayout()>
${P.getLayoutCode().code} ${P.getLayoutCode().code}
<#else>
.${srffilepath2(view.getCodeName())} {
display: block;
}
</#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册