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

底部工具栏调整 --step1

上级 dcb4dc42
...@@ -2,6 +2,18 @@ ...@@ -2,6 +2,18 @@
../@MACRO/CONTROL/LANGBASE.vue.ftl ../@MACRO/CONTROL/LANGBASE.vue.ftl
</#ibizinclude> </#ibizinclude>
<#if ctrl.getToolbarStyle()?? > <#if ctrl.getToolbarStyle()?? >
<#-- 底部工具栏按钮:BEGIN -->
<#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'>
<ion-fab-button class="app-view-toolbar-button" @click="${ctrl.name}Models.${item.name}.isshow=!${ctrl.name}Models.${item.name}.isshow">
<#if item.isShowIcon()>
<#if item.getPSSysImage()??>
<ion-icon name="<#if item.getPSSysImage().getCssClass() != "">${item.getPSSysImage().getCssClass()}<#else>fa fa-ellipsis-h</#if>" <#-- <#if item.getPSSysImage().getImagePath() != ""><img src="${item.getPSSysImage().getImagePath()}" /></#if> -->></ion-icon>
</#if>
</#if>
<#if item.isShowCaption()>{{<#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if>}}</#if>
</ion-fab-button>
<#-- 底部工具栏按钮:END -->
<#else>
<ion-button class="app-view-toolbar-button" @click="${ctrl.name}Models.${item.name}.isshow=!${ctrl.name}Models.${item.name}.isshow"> <ion-button class="app-view-toolbar-button" @click="${ctrl.name}Models.${item.name}.isshow=!${ctrl.name}Models.${item.name}.isshow">
<#if item.isShowIcon()> <#if item.isShowIcon()>
<#if item.getPSSysImage()??> <#if item.getPSSysImage()??>
...@@ -10,7 +22,7 @@ ...@@ -10,7 +22,7 @@
</#if> </#if>
<#if item.isShowCaption()>{{<#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if>}}</#if> <#if item.isShowCaption()>{{<#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if>}}</#if>
</ion-button> </ion-button>
</#if>
<#if item.getPSDEToolbarItems()??> <#if item.getPSDEToolbarItems()??>
<#-- 右toolbar begin --> <#-- 右toolbar begin -->
...@@ -26,9 +38,11 @@ ...@@ -26,9 +38,11 @@
</#if> </#if>
<#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU' > <#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU' >
<ion-fab-list side="top">
<#list item.getPSDEToolbarItems() as toolbarItem> <#list item.getPSDEToolbarItems() as toolbarItem>
<ion-fab-button class="app-view-toolbar-button" @click="${ctrl.name}_click({ tag: '${toolbarItem.name}' }, $event)"><#if toolbarItem.isShowIcon()><#if toolbarItem.getPSSysImage()??><ion-icon name="<#if toolbarItem.getPSSysImage().getCssClass() != "">${toolbarItem.getPSSysImage().getCssClass()}<#else>reorder-four-outline</#if>"></ion-icon><#else><ion-icon name="reorder-four-outline"></ion-icon></#if></#if>{{<#if toolbarItem.isShowCaption()><#if langbase??>$t('${langbase}.${toolbarItem.name}.caption')<#else>'${toolbarItem.getCaption()}'</#if></#if>}}</ion-fab-button>
</#list> </#list>
</ion-fab-list>
</#if> </#if>
</#if> </#if>
</#if> </#if>
\ No newline at end of file
...@@ -17,10 +17,12 @@ ...@@ -17,10 +17,12 @@
<#-- 底部菜单:BEGIN --> <#-- 底部菜单:BEGIN -->
<div <#if view.hasPSControl('mdctrl') || view.hasPSControl('dataview') || view.hasPSControl('calendar')>v-show="!showCheack"</#if> class = "bottom_menu"> <div <#if view.hasPSControl('mdctrl') || view.hasPSControl('dataview') || view.hasPSControl('calendar')>v-show="!showCheack"</#if> class = "bottom_menu">
<#list ctrl.getPSDEToolbarItems() as item> <#list ctrl.getPSDEToolbarItems() as item>
<ion-fab vertical="bottom" horizontal="end" slot="fixed">
${P.getPartCode(item).code} ${P.getPartCode(item).code}
<#if custom_toolbar??> <#if custom_toolbar??>
${custom_toolbar} ${custom_toolbar}
</#if> </#if>
</ion-fab>
</#list> </#list>
</div> </div>
<#-- 底部菜单:END --> <#-- 底部菜单:END -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册