提交 a00af01b 编写于 作者: KK's avatar KK

footer 按钮拖动

上级 d6d1e994
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
</#list> </#list>
<#list ctrl.getPSDEToolbarItems() as item> <#list ctrl.getPSDEToolbarItems() as item>
<#if itemsLength == 1 && item_index == 0 && item.getPFPartCodeType() == "ITEM_DEUIACTION"> <#if itemsLength == 1 && item_index == 0 && item.getPFPartCodeType() == "ITEM_DEUIACTION">
<div :id="viewtag" class="bottom_button" :style="button_style"> <div :id="viewtag+'_bottom_button'" class="bottom_button" :style="button_style">
${P.getPartCode(item).code} ${P.getPartCode(item).code}
</div> </div>
<#else> <#else>
<ion-button :id="viewtag" v-if="getToolBarLimit" @click="popUpGroup(true)" class="app-view-toolbar-button"><ion-icon name="chevron-up-circle-outline"></ion-icon></ion-button> <ion-button :id="viewtag+'_bottom_button'" v-if="getToolBarLimit" @click="popUpGroup(true)" class="app-view-toolbar-button"><ion-icon name="chevron-up-circle-outline"></ion-icon></ion-button>
<van-popup v-if="getToolBarLimit" class="popup" v-model="showGrop" round position="bottom"> <van-popup v-if="getToolBarLimit" class="popup" v-model="showGrop" round position="bottom">
<div class="container"> <div class="container">
<#list ctrl.getPSDEToolbarItems() as item> <#list ctrl.getPSDEToolbarItems() as item>
......
...@@ -129,6 +129,9 @@ ion-backdrop { ...@@ -129,6 +129,9 @@ ion-backdrop {
.app-quick-toolbar{ .app-quick-toolbar{
text-align: center; text-align: center;
} }
.bottom_button{
position: absolute;
}
<#assign havestyle = 0> <#assign havestyle = 0>
<#if ctrl.getToolbarStyle() == 'MOBNAVLEFTMENU'|| ctrl.getToolbarStyle() == 'MOBNAVRIGHTMENU' && havestyle = 0> <#if ctrl.getToolbarStyle() == 'MOBNAVLEFTMENU'|| ctrl.getToolbarStyle() == 'MOBNAVRIGHTMENU' && havestyle = 0>
<#assign havestyle = 1> <#assign havestyle = 1>
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
<#list view.getAllPSControls() as ctrl> <#list view.getAllPSControls() as ctrl>
<#if ctrl.getControlType() == 'TOOLBAR' && ctrl.getToolbarStyle?? && ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'> <#if ctrl.getControlType() == 'TOOLBAR' && ctrl.getToolbarStyle?? && ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'>
// 拖动样式 // 拖动样式
AnimationService.draggable(document.getElementById(viewtag),(style:any)=>{this.button_style = style}); AnimationService.draggable(document.getElementById(this.viewtag+'_bottom_button'),(style:any)=>{this.button_style = style});
</#if> </#if>
</#list> </#list>
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册