<view><view class="head"><view class="{{[type=='0'?'focus':'']}}" data-type="{{0}}" data-event-opts="{{[['tap',[['change_type',['$event']]]]]}}" bindtap="__e">已报名</view><view class="{{[type=='1'?'focus':'']}}" data-type="{{1}}" data-event-opts="{{[['tap',[['change_type',['$event']]]]]}}" bindtap="__e">已使用</view></view><view style="background-color:#F4F4F4;height:20rpx;"></view><block wx:if="{{loading}}"><view class="loading_text">加载中...</view></block><block wx:else><view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['to_detail',['$0'],[[['data','',index]]]]]]]}}" class="con box" bindtap="__e"><view style="margin-left:4%;display:flex;align-items:center;"><view><view>{{''+item.$orig.title+''}}</view><view style="color:#8D8D8D;font-size:28rpx;margin-top:20rpx;display:flex;align-items:center;"><image style="width:27rpx;height:27rpx;margin-right:10rpx;" src="../../static/clock_grey.png"></image>{{''+item.g0+"~"+item.g1+''}}</view></view></view><view style="margin-right:4%;text-align:right;"><view style="color:#FF663D;">{{type==0?'已报名':'已使用'}}</view><view style="margin-top:10rpx;color:#666666;">{{item.$orig.price+"元"}}</view></view></view></block></view></block><block wx:if="{{data.length==0&&!loading}}"><view class="loading_text">暂无数据</view></block></view>