<swiper class=“swiper” indicator-dots="{{indicatorDots}}"
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
<swiper-item wx:for="{{list}}" >
<image src=“https://www.ydyy120.com{{item.src}}” class=“slide-image” />
</swiper-item>
</swiper>
onLoad: function (options) {
var that = this
wx.request({
url: ‘https://www.ydyy120.com/xcx/getindexfocus/xcx_focus’,
headers: {
‘Content-Type’: ‘application/json’
},
success: function (res) {
that.setData({
list: res.data
})
}
})
},
这是安卓上面显示的信息。在苹果系统上是没问题的。求解啊。安卓这个图片地址为空。而且还出现了这么多个循环。这是苹果系统上面显示的正确信息。求解释啊。为什么会这样啊