scroll-x为什么无法滑动?

发布于 8 年前作者 jinghan1026 次浏览最后编辑 8 年前来自 issues

<scroll-view class=“member-serive-content” scroll-x style=“width: 960rpx”>

<view wx:for=“{{memberSeriveData}}” class=“item-serive-content”>

<view class=“item-serive-icon”>

<image src=“{{item.icon}}”></image>

</view>

<view class=“item-serive-desc”>{{item.text}}</view>

</view>

</scroll-view>

3 回复
xiuying93
xiuying931 楼6 年前

white-space: nowrap;

jun67
jun672 楼6 年前

无法滑动是什么意思?页面卡住?

yanjun
yanjun3 楼6 年前

scroll-view里的元素有设置display:flex吗,有没有设置overflow:hidden