<!-- 分类 -->

<view class="scroll_menu">
  <scroll-view class="scroll-view_H" scroll-x="true" bindscroll="scroll" style="width: 100%">
    <view id="menu1"  wx:for='{{categoryList}}' catchtap="menuSelect" data-id='{{item.id}}'
      class="scroll-view-item_H {{category_id==item.id?'scroll_view_select':''}}">{{item.title}}</view>
  </scroll-view>
</view>

<view class="project_content" wx:for='{{lists}}' catchtap="toUrl" data-id='{{item.crowdfund_id}}'>
  <view class="project_cover">
    <view class="project_type_icon" wx:if='{{item.status==2}}'>{{item.status_text}}</view>
    <image class="project_cover_bg" src="{{item.cover}}" mode="aspectFill"></image>
  </view>
  <view class="project_title">{{item.title}}</view>
  <view class="project_bottom ">
    <span class="color333">{{item.city}}/{{item.category}}</span>
    <span class="color333">{{item.ratio}}%</span>
  </view>
  <view class="project_line">
    <progress percent="{{item.ratio*100}}" color="#378fff" active stroke-width="6" />
  </view>
  <view class="project_bottom" wx:if='{{item.status==1}}'>
    <span>筹集金额 ￥{{item.amount}}</span>
    <span>剩余天数 {{item.diffDays}}天</span>
  </view>
  <view class="project_bottom" wx:elif='{{item.status==3}}'>
    <span></span>
    <span>已成功</span>
  </view>
  <view class="project_bottom" wx:elif='{{item.status==2}}'>
    <span>倒计时{{item.openDiffDays}}</span>
    <span>{{item.likes}}人关注</span>
  </view>
  <view class="project_bottom" wx:elif='{{item.status==4}}'>
    <span></span>
    <span>已结束</span>
  </view>
</view>

<view class="has_more">{{has_more?'~ 上拉加载更多 ~':'~ 暂无更多数据 ~'}}</view>