MonikaChen
MonikaChen
  • 发布:2021-01-23 23:50
  • 更新:2021-01-24 12:02
  • 阅读:1038

#插件讨论# 【 Fab 悬浮按钮 - DCloud 】NVUE里如何覆盖在webview上方?

分类:uni-app

Fab 悬浮按钮在NVUE里如何覆盖在webview上方?

2021-01-23 23:50 负责人:无 分享
已邀请:
DCloud_heavensoft

DCloud_heavensoft

uni ui的fab按钮可以悬浮在web-view上。如果不能,报bug说明详细环境

MonikaChen

MonikaChen (作者)

@DCloud_heavensoft

代码如下:

<template>  
    <view>  
        <uni-fab></uni-fab>  
    </view>  
</template>  
<script>  
    import uniFab from '@/components/uni-fab/uni-fab.vue'  
    export default {  
        components: {  
            uniFab  
        },  
        onLoad() {  
            const systemInfo = uni.getSystemInfoSync()  
            // plus.webview.open('https://dcloud.io/', {width: systemInfo.safeArea.width, height: systemInfo.safeArea.height})  
        }  
    }  
</script>

注销掉plus.webview.open时可以看到fab按钮
imgbed.cn图床

如果显示webview,则fab按钮被覆盖
imgbed.cn图床

该问题目前已经被锁定, 无法添加新回复