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

底部工具栏调整 --step7

上级 fd2113ce
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
</#ibizinclude> </#ibizinclude>
<#assign deuiaction=item.getPSUIAction()> <#assign deuiaction=item.getPSUIAction()>
<#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'> <#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'>
<ion-button @click="${ctrl.name}_click({ tag: '${item.name}' }, $event)" v-show="${(ctrl.getName())?lower_case}Models.${item.name}.visabled"> <ion-fab-button @click="${ctrl.name}_click({ tag: '${item.name}' }, $event)">
<#if item.isShowIcon() && item.getPSSysImage()??> <#if item.isShowIcon() && item.getPSSysImage()??>
<ion-icon name="<#if item.getPSSysImage().getCssClass() != "">${item.getPSSysImage().getCssClass()}<#else>fa fa-ellipsis-h</#if>"></ion-icon> <ion-icon name="<#if item.getPSSysImage().getCssClass() != "">${item.getPSSysImage().getCssClass()}<#else>fa fa-ellipsis-h</#if>"></ion-icon>
</#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-fab-button>
<#elseif ctrl.getToolbarStyle() == 'MOBWFACTIONMENU'> <#elseif ctrl.getToolbarStyle() == 'MOBWFACTIONMENU'>
<ion-button class="app-quick-toolbar-item" v-show="${(ctrl.getName()?lower_case)}Models.${item.name}.visabled" :disabled="${(ctrl.getName())?lower_case}Models.${item.name}.disabled" @click="${ctrl.name}_click({ tag: '${item.name}' }, $event)" > <ion-button class="app-quick-toolbar-item" v-show="${(ctrl.getName()?lower_case)}Models.${item.name}.visabled" :disabled="${(ctrl.getName())?lower_case}Models.${item.name}.disabled" @click="${ctrl.name}_click({ tag: '${item.name}' }, $event)" >
<#if item.isShowIcon()> <#if item.isShowIcon()>
......
<#ibizinclude> <#ibizinclude>
../@MACRO/CONTROL/LANGBASE.vue.ftl ../@MACRO/CONTROL/LANGBASE.vue.ftl
</#ibizinclude> </#ibizinclude>
<#if ctrl.getToolbarStyle()?? > <#if ctrl.getToolbarStyle()?? && ctrl.getToolbarStyle() != 'MOBBOTTOMMENU'>
<#-- 底部工具栏按钮:BEGIN -->
<#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'>
<ion-fab-button class="app-view-toolbar-button">
<#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()??>
<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> <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>
...@@ -38,13 +27,9 @@ ...@@ -38,13 +27,9 @@
</#if> </#if>
<#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU' > <#if ctrl.getToolbarStyle() == 'MOBBOTTOMMENU' >
<ion-fab-list side="top"> <#if item.getPSDEToolbarItems?? && item.getPSDEToolbarItems()??>
<#list ctrl.getPSDEToolbarItems() as toolbarItem> ${P.getPartCode(item).code}
<#list toolbarItem.getPSDEToolbarItems() as childItem>
<ion-fab-button @click="${ctrl.name}_click({ tag: '${childItem.name}' }, $event)"><#if childItem.isShowIcon()><#if childItem.getPSSysImage()??> <ion-icon name="<#if childItem.getPSSysImage().getCssClass() != "">${childItem.getPSSysImage().getCssClass()}<#else>reorder-four-outline</#if>" class="group_ion-icon"></ion-icon><#else><ion-icon class="group_ion-icon" name="reorder-four-outline"></ion-icon></#if></#if> {{<#if childItem.isShowCaption()><#if langbase??>$t('${langbase}.${childItem.name}.caption')<#else>'${childItem.getCaption()}'</#if></#if>}} </ion-fab-button>
</#list>
</#list>
</ion-fab-list>
</#if> </#if>
</#if> </#if>
</#if> </#if>
\ No newline at end of file
...@@ -16,18 +16,20 @@ ...@@ -16,18 +16,20 @@
<#elseif ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'> <#elseif ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'>
<#-- 底部菜单: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">
<#list ctrl.getPSDEToolbarItems() as item>
<#if item_index == 0>
<div class="bottom_menu"> <div class="bottom_menu">
<ion-fab> <ion-fab>
<ion-fab-button class="app-view-toolbar-button"><ion-icon name=""></ion-icon></ion-fab-button>
<ion-fab-list side="top">
<#list ctrl.getPSDEToolbarItems() as item>
${P.getPartCode(item).code} ${P.getPartCode(item).code}
<#if custom_toolbar??> <#if custom_toolbar??>
${custom_toolbar} ${custom_toolbar}
</#if> </#if>
</#list>
</ion-fab-list>
</ion-fab> </ion-fab>
</div> </div>
</#if>
</#list>
</div> </div>
<#-- 底部菜单:END --> <#-- 底部菜单:END -->
<#elseif ctrl.getToolbarStyle() == 'MOBNAVLEFTMENU'> <#elseif ctrl.getToolbarStyle() == 'MOBNAVLEFTMENU'>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册