<!-- 滚动菜单 -->
<view class="scroll_menu">
  <scroll-view class="scroll-view_H" scroll-x="true" bindscroll="scroll" style="width: 100%">
    <view id="menu1" catchtap="menuSelect" data-state='unstart'
      class="scroll-view-item_H {{state=='unstart'?'scroll_view_select':''}}">
      未开始</view>
    <view id="menu2" catchtap="menuSelect" data-state='start'
      class="scroll-view-item_H {{state=='start'?'scroll_view_select':''}}">
      进行中</view>
    <view id="menu3" catchtap="menuSelect" data-state='end'
      class="scroll-view-item_H {{state=='end'?'scroll_view_select':''}}">
      已结束</view>
  </scroll-view>
</view>
<!-- 列表 -->
<view class="list_content" wx:for="{{lists}}">
  <view class="fixed">最新</view>
  <image class="left" src="{{item.active.pictures[0]}}" mode="aspectFill"></image>
  <view class="right">
    <view class="title">{{item.active.title}}</view>
    <view class="money">{{item.active.price> 0 ? '￥' + item.active.price:'免费'}} <span>{{item.active.started_at}}</span>
    </view>
    <view class="check" catchtap="goUrl" data-id='{{item.active.active_id}}'>查看活动</view>
  </view>
</view>


<view class="has_more">
  <image wx:if='{{lists.length==0}}' src="/static/images/no_list.png" style="width:200rpx;" mode="widthFix"></image>
  <span>{{has_more?'~ 上拉加载更多 ~':'~ 暂无更多数据 ~'}}</span>
</view>