问答详情
源自:2-1 首页开发(上)

哪里出了问题


<view class='items-list'>

<view class='pro-item' wx:for="{{proList}}">

<image class='pro-logo' src='{{item.logo}}'></image>

<view class='pro-body'>

<view class='pro-tile'>{{item.title}}</view>

<text class='pro-desc'>{{item.desc}}</text>

<view class='por-footer'>

<image class="btn-detail" src='/images/zhiying2.jpg'></image>

</view>

</view>

</view>

</view>

//index.js

//获取应用实例

const app = getApp()


Page({

data: {

imgUrls: [

'/images/lunbo1.jpg',

'/images/lunbo2.jpg',

'/images/lunbo3.jpg',

],

indicatorDots: false,

autoplay: false,

interval: 5000,

duration: 1000,

proList: [

{

logo:'/images/lunbo1.jpg',

title: 'test',

desc: 'sadfasdfasd',

}

{

logo: '/images/lunbo2.jpg',

title: 'test',

desc: 'sadfasdfasd',

}

{

logo: '/images/lunbo3.jpg',

title: 'test',

desc: 'sadfasdfasd',

}

]

},

onLoad: function () {

}

})




提问者:慕标2349160 2018-09-11 00:17

个回答

  • 慕斯卡4254321
    2018-09-11 15:38:29

     出的什么问题  你描述一下啊