当前位置:网站首页>Wechat applet rotation map swiper

Wechat applet rotation map swiper

2022-04-23 14:16:00 Ruirui junior

<!-- The carousel begins -->
<view class="index_swiper">
    <swiper autoplay indicator-dots circular>
        <swiper-item
        wx:for="{ {swiperList}}"
        wx:key="goods_id"
        >
            <navigator>
                <image src="{ {item.image_src}}" mode="widthFix"></image>
            </navigator>
        </swiper-item>
    </swiper>
</view>
<!-- The carousel is over -->

 

/**index.wxss**/

.index_swiper swiper {

  width: 750rpx;

  height: 340rpx;

}

.index_swiper swiper image {

  width: 100%;

}

 

 

版权声明
本文为[Ruirui junior]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231408339465.html