最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

swiper不顯示圖片,求解答!

<swiper indicator-dots="{{indicatorDots}}"

autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-dots="true">

<block wx:for="{{imgUrls}}">

<swiper-item>

<image src="{{item}}" class="slide-image" width="355" height="150"/>

</swiper-item>

</block>

</swiper>

這是index.wxml

const app = getApp()


Page({

data: {

imgUrls: [

'images/swiper01.jpg',

'images/swiper02.png'

],

indicatorDots: false,

autoplay: false,

interval: 5000,

duration: 1000

},

onLoad: function () {


}

})

這是index.js

https://img1.sycdn.imooc.com//5d231cfc0001ab1311640263.jpg

控制臺(tái)輸出

正在回答

3 回答

可以了我試了一下寫成/images/xx.jpg就可以了


0 回復(fù) 有任何疑惑可以回復(fù)我~

圖片地址??是相對(duì)路徑

0 回復(fù) 有任何疑惑可以回復(fù)我~

寫一下/images/xx.jpg這個(gè)路徑試試

3 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
入門微信小程序開發(fā)
  • 參與學(xué)習(xí)       172025    人
  • 解答問(wèn)題       378    個(gè)

帶你入門微信小程序開發(fā),了解微信小程序的基本知識(shí)。

進(jìn)入課程

swiper不顯示圖片,求解答!

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)