picbox.wxml
709 字节
<!-- 二级分类 -->
<view class="seclist">
<view class="seclistitem {{sel==index?'selactive':''}}" wx:for="{{seclist}}" wx:key="index" data-id="{{item.id}}" data-index="{{index}}" bindtap="selectsec">{{item.name}}</view>
</view>
<view class="nodata" wx:if="{{piclist.length==0}}">暂无数据</view>
<view class="picbox" wx:else>
<view class="picboxitem" wx:for="{{piclist}}" wx:key="" bindtap="videodetail" data-id="{{item.id}}">
<view class="picboxitemtop">
<image src="{{item.image}}"></image>
<!-- <view class="anniu">
<image src="/img/anniu.png"></image>
</view> -->
</view>
<view class="picboxname" >{{item.title}}</view>
</view>
</view>