小程序做横向滑动 滑块 使用swiper
时间:2020-08-10 12:37:53
收藏:0
阅读:154
<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; }
原文:https://www.cnblogs.com/xiaoxiaoxun/p/13468616.html
评论(0)