在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
wxml页面: <swiper class="swiper" indicator-dots="true" autoplay="true" interval="2000" duration="1000"> <block wx:for="{{movies}}" wx:for-index="index"> <swiper-item> <image src="{{item.url}}" class="slide-image" mode="aspectFill"/> </swiper-item> </block> </swiper> 轮播属性说明:
wxss页面: .swiper { height: 600rpx; width: 100%; } .swiper image { height: 100%; width: 100%; } js页面: Page({ data: { showView: true, animationData: {}, slide: [], sysinfo: {}, list: [], cats: [], copyright: '', //轮播图片 imgUrls: [ {url:'/yyf_company/resource/images/swiper.png'}, { url:'/yyf_company/resource/images/swiper.png'}, { url:'/yyf_company/resource/images/swiper.png'} ] } })
|
请发表评论