小程序做横向滑动 滑块 使用swiper
<scroll-view scroll-x="true" class='imgy' > <view wx:for='{{15}}' wx:key='index' wx:for-item='buyerItem' > <image class='helpy' src="http://i.pravatar.cc/128"></image> </view> </scroll-view>
.helpy { width: 100rpx; height: 100rpx; border: 1px dashed #999; line-height: 100rpx; text-align: center; font-size: 60rpx; border-radius: 50%; color: #999; }