課程
/前端開發(fā)
/HTML/CSS
/入門微信小程序開發(fā)
?
編譯就出現(xiàn)這樣的錯
2020-02-09
源自:入門微信小程序開發(fā) 2-1
正在回答
圖片路徑寫錯了,除了完整的文件夾還要有圖片格式,例如“/images/001.png”
補充代碼
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}"
interval="{{interval}}"
duration="{{duration}}"
>
<book wx:for="{{imgUrls}}">
<swiper-item>
<image src="{{item}}"
class="slide-image"
width="355"
height="150"/>
</swiper-item>
</book>
</swiper>
舉報
帶你入門微信小程序開發(fā),了解微信小程序的基本知識。
2 回答這是啥問題啊老師
3 回答這個報錯是什么意思
2 回答求大佬看下我這是出來什么問題
4 回答老師 您好 ,這個輸出的是 undefined
1 回答出現(xiàn)問題“VM148:2 tabBar[0].pagePath 字段需為 string”,這是什么問題???
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2020-02-17
圖片路徑寫錯了,除了完整的文件夾還要有圖片格式,例如“/images/001.png”
2020-02-09
補充代碼
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}"
interval="{{interval}}"
duration="{{duration}}"
>
<book wx:for="{{imgUrls}}">
<swiper-item>
<image src="{{item}}"
class="slide-image"
width="355"
height="150"/>
</swiper-item>
</book>
</swiper>