<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 () {
}
})
出的什么问题 你描述一下啊