uview2.0的u-action-sheet内容太多被撑开溢出屏幕高度,无法滚动解决办法

[ 2025-11-20 10:31:05 | 作者: admin ]
字号: | |
打开\node_modules\uview-ui\components\u-action-sheet\u-action-sheet.vue文件,

找到
<view class="u-action-sheet__item-wrap"></view>

把它替换成
<scroll-view class="u-action-sheet__item-wrap" scroll-y style="min-height: 100rpx;max-height: 700rpx;">
。。。
</scroll-view>


attachments/202511/20_103536_121.jpg



来源:https://blog.csdn.net/cyx924/article/details/154789117
[最后修改由 admin, 于 2025-11-20 10:36:27]
评论Feed 评论Feed: http://blog.xg98.com/feed.asp?q=comment&id=3009

这篇日志没有评论。

此日志不可发表评论。