第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

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

使用swiper / view 圖片都不顯示!

我的最后還是不顯示圖片!實(shí)在不知道為什么??!求大家?guī)臀铱匆幌隆?

//index.js

const app = getApp()

Page({

data: {

imgUrls: [

'/images/fengmian.jpg',

],

indicatorDots: false,

autoplay: false,

interval: 5000,

duration: 1000

},

onLoad: function() {

},


<!--index.wxml-->

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

autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">

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

<swiper-item>

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

</swiper-item>

</block>

</swiper>


/**index.wxss**/

swiper{

width: 100%;

height: 300rpx;

}

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

除了swiper,我又用了view,可還是不顯示圖片!

<!--index.wxml-->

<view class="section">

<view class="section__title">flex-direction: row</view>

<view class="flex-wrp" style="flex-direction:row;">

<view class="flex-item bc_green">1</view>

<view class="flex-item bc_red">2</view>

<view class="flex-item bc_blue">3</view>

</view>

</view>



正在回答

1 回答

你不要用這個(gè)老師的項(xiàng)目,重新開(kāi)一個(gè)項(xiàng)目,然后官網(wǎng)的文檔SWIPER往里面套

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

舉報(bào)

0/150
提交
取消

使用swiper / view 圖片都不顯示!

我要回答 關(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)