uniapp uni-popup弹窗在app端内容过多时,不滑动的问题

168 阅读1分钟

解决方式其中一种可以使用scroll-view标签,结合 scroll-y="true" 使用,方式如下:

<view class="content_list">
    <scroll-view scroll-y="true" class="scroll_view_style">
        <view v-for="(item, index) in dataList" :key="index">
            <text>示例渲染内容</text>
        </view>
    </scroll-view>
</view>

其中,主要样式如下:

.content_list {
    height: 760rpx;
    overflow-x: hidden;
    .scroll_view_style{
        height: 100%;
    }
}

参考链接:blog.csdn.net/Mr_Feng0/ar…