<view class='exh-list'>
<view class='row'>
<view class='item' bindtap='showService' data-index='5'>
<image src='../../public/images/ad01.jpg' mode='widthFix' class='head-img'></image>
<text>rs0001</text>
</view>
<view class='item' bindtap='showService' data-index='6'>
<image src='../../public/images/ad01.jpg' mode='widthFix' class='head-img'></image>
<text>rs0002</text>
</view>
<view class='item' bindtap='showService' data-index='7'>
<image src='../../public/images/ad01.jpg' mode='widthFix' class='head-img'></image>
<text>rs0003</text>
</view>
</view>
<view class='row'>
<view class='item' bindtap='showService' data-index='8'>
<image src='../../public/images/ad01.jpg' mode='widthFix' class='head-img'></image>
<text>rs0004</text>
</view>
<view class='item' bindtap='showService' data-index='9'>
<image src='../../public/images/ad01.jpg' mode='widthFix' class='head-img'></image>
<text>rs0005</text>
</view>
<view class='item' bindtap='showService' data-index='10'>
<image src='../../public/images/ad01.jpg' mode='widthFix' class='head-img'></image>
<text>rs0006</text>
</view>
</view>
</view>
形如上方代码,如何循环 ?
我是用两层循环做的
结果