提交 f2112a72 编写于 作者: Neuromancer255's avatar Neuromancer255

底部工具栏调整(单项情况)

上级 fc44fb24
...@@ -17,7 +17,16 @@ ...@@ -17,7 +17,16 @@
<#-- 底部菜单:BEGIN --> <#-- 底部菜单:BEGIN -->
<div <#if view.hasPSControl('mdctrl') || view.hasPSControl('dataview') || view.hasPSControl('calendar')>v-show="!showCheack"</#if> class = "fab_container"> <div <#if view.hasPSControl('mdctrl') || view.hasPSControl('dataview') || view.hasPSControl('calendar')>v-show="!showCheack"</#if> class = "fab_container">
<div class="bottom_menu"> <div class="bottom_menu">
<ion-fab> <#assign itemsLength = 0/>
<#list ctrl.getPSDEToolbarItems() as item>
itemsLength = itemsLength + 1
</#list>
<#if itemsLength == 1 && ctrl.getPSDEToolbarItems()[0].getPFPartCodeType()=="ITEM_ITEMS">
<ion-fab>
${P.getPartCode(ctrl.getPSDEToolbarItems()[0]).code}
</ion-fab>
<#else>
<ion-fab>
<ion-fab-button class="app-view-toolbar-button"><ion-icon name="add"></ion-icon></ion-fab-button> <ion-fab-button class="app-view-toolbar-button"><ion-icon name="add"></ion-icon></ion-fab-button>
<ion-fab-list class="fab-list" side="top"> <ion-fab-list class="fab-list" side="top">
<#list ctrl.getPSDEToolbarItems() as item> <#list ctrl.getPSDEToolbarItems() as item>
...@@ -27,7 +36,8 @@ ...@@ -27,7 +36,8 @@
</#if> </#if>
</#list> </#list>
</ion-fab-list> </ion-fab-list>
</ion-fab> </ion-fab>
</#if>
</div> </div>
</div> </div>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册