小程序做横向滑动 滑块 使用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;width:104rpx;height:104rpx;border-radius:50%;margin-right: 30rpx;">
      <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;

}

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM