小程序做横向滑动 滑块 使用swiper

  <scroll-view scroll-x="true" class='imgy' style="white-space: nowrap;">
    <view wx:for='{{15}}' wx:key='index' wx:for-item='buyerItem' style=" display: inline-block;104rpx;height:104rpx;border-radius:50%;margin-right: 30rpx;">
      <image class='helpy' src="http://i.pravatar.cc/128"></image>
    </view>
  </scroll-view>
.helpy {
   100rpx;
  height: 100rpx;
  border: 1px dashed #999;
  line-height: 100rpx;
  text-align: center;
  font-size: 60rpx;
  border-radius: 50%;
  color: #999;

}
原文地址:https://www.cnblogs.com/xiaoxiaoxun/p/13468616.html