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

返回顶部位置调整

上级 33802648
...@@ -16,11 +16,6 @@ ...@@ -16,11 +16,6 @@
<#elseif ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'> <#elseif ctrl.getToolbarStyle() == 'MOBBOTTOMMENU'>
<#-- 底部菜单:BEGIN --> <#-- 底部菜单:BEGIN -->
<div <#if view.hasPSControl('mdctrl') || view.hasPSControl('dataview') || view.hasPSControl('calendar')>v-show="!isChoose"</#if> class = "fab_container"> <div <#if view.hasPSControl('mdctrl') || view.hasPSControl('dataview') || view.hasPSControl('calendar')>v-show="!isChoose"</#if> class = "fab_container">
<#if view.getViewType() == 'DEMOBMDVIEW' || view.getViewType() == 'DEMOBMDVIEW9'>
<div class="scroll_tool">
<div class="scrollToTop" @click="onScrollToTop" v-show="isShouleBackTop" :style="{right:isScrollStop?'-18px':'-70px'}" > <van-icon name="back-top" /></div>
</div>
</#if>
<#assign itemsLength = 0/> <#assign itemsLength = 0/>
<#list ctrl.getPSDEToolbarItems() as item> <#list ctrl.getPSDEToolbarItems() as item>
<#assign itemsLength = itemsLength + 1/> <#assign itemsLength = itemsLength + 1/>
......
...@@ -132,6 +132,9 @@ ${css.getCssStyle()} ...@@ -132,6 +132,9 @@ ${css.getCssStyle()}
</#if> </#if>
.scroll_tool{ .scroll_tool{
position: absolute;
bottom: 70px;
right: 45px;
.scrollToTop{ .scrollToTop{
opacity: 1; opacity: 1;
position: relative; position: relative;
......
...@@ -157,6 +157,11 @@ ...@@ -157,6 +157,11 @@
<#if view_footer??> <#if view_footer??>
${view_footer} ${view_footer}
</#if> </#if>
<#if view.getViewType() == 'DEMOBMDVIEW' || view.getViewType() == 'DEMOBMDVIEW9'>
<div class="scroll_tool">
<div class="scrollToTop" @click="onScrollToTop" v-show="isShouleBackTop" :style="{right:isScrollStop?'-18px':'-70px'}" > <van-icon name="back-top" /></div>
</div>
</#if>
</ion-footer> </ion-footer>
</#if> </#if>
</ion-page> </ion-page>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册