帖子
帖子
用户
博客
课程
显示全部楼层
35
帖子
2
勋章
366
Y币

[开发工具] tabbar 设置沉浸式,滚动失效

[复制链接]
发表于 2022-7-22 10:30:41
tabbar页面设置了沉浸式,页面最外层是用了scroll-view ,页面过长无法滚动;
安卓还是ios,可以发下最简化的能复现你问题的代码,我们测试一下
35
帖子
2
勋章
366
Y币
<template>
        <scroll-view class="page" scroll-y>       
                <view style="height:400px;background:red">
                        <text>ttttttt</text>
                </view>
                <view style="height:400px;background:yellow">
                        <text>ttttttt</text>
                </view>
                <view style="height:400px;background:black">
                        <text>ttttttt</text>
                </view>
                <view style="height:400px;background:white">
                        <text>ttttttt</text>
                </view>
                <view style="height:400px;background:green">
                        <text>ttttttt</text>
                </view>
                <view style="height:400px;background:blud">
                        <text>ttttttt</text>
                </view>
        </scroll-view>
</template>
<script>
export default {
        name: 'test',
        apiready(){//like created

        },
        data() {
                return{

                }
        },
        methods: {

        }
}
</script>
<style>
        .page {
                height: 100%;
        }
</style>
35
帖子
2
勋章
366
Y币
解决了是因为配置页面是否弹动
您需要登录后才可以回帖 登录

本版积分规则