scroll-view scroll-x在安卓上会把整个页面拉长,在ios上正常
//wxml
<scroll-view class="item-ct" scroll-x="true">
<block wx:for="{{data}}">
<view class='item'>
<image src="{{item.path}}" />
</view>
</block>
</scroll-view>
//wxss
.item-ct{height: 400rpx;width: 100%;white-space: nowrap; display: flex}
.item{height: 400rpx;width: 310rpx;display: inline-block}
感谢楼上老铁 哈哈
.item-ct 加上 overflow-x:auto