my_active.wxml
869 字节
<view class='index_newbox'>
<view>
<view class='new_box' wx:key>
<navigator class='new_cell' wx:for='{{activity}}' wx:key url='/pages/img_txt/img_txt?id={{item.id}}&status=1' hover-class="none">
<view class='new_cellmain'>
<view class='new_img'>
<image src='{{item.thumbnail}}'> </image>
</view>
<view class='new_title'>{{item.activity_name}}</view>
<view class='title_box'>
<view>
<image src='/imgs/dizhi@2x.png' />
<text>北京</text>
</view>
<view class='word'>{{item.type_name}}</view>
</view>
<view>{{item.create_time}}</view>
</view>
</navigator>
</view>
</view>
</view>
<view class='empty' wx:if='{{activity.length == 0}}'>暂无数据</view>