<view class="content-padding white-bg font14">
  <!-- 请选择服务城市: -->
  <!-- <text class="icon-address"></text> -->
    <!-- <picker class="picker" bindchange="bindCityChange" value="{{pickerIndex}}" range="{{pickers}}"> -->
    <!-- <text class="font14 mLeft5">{{pickers}}</text> -->
    <!-- </picker> -->
  <!-- <text class="icon-arrow mLeft5"></text> -->
  <text class=" font14 subtitleColor">{{total}}个活动</text>
</view>
<view class="tab-bar white-bg">
  <view class="tab-item{{tabsIndex == '' ? ' active':''}}" data-index="" bindtap="setTabbar">
    <view class="label">全部</view>
  </view>
  <view class="tab-item{{tabsIndex == 1 ? ' active':''}}" data-index="1" bindtap="setTabbar">
    <view class="label">
      单日
    </view>
  </view>
  <view class="tab-item{{tabsIndex == 2 ? ' active':''}}" data-index="2" bindtap="setTabbar">
    <view class="label">
      两日
    </view>
  </view>
  <view class="tab-item{{tabsIndex == 3 ? ' active':''}}" data-index="3" bindtap="setTabbar">
    <view class="label">
      三到五日
    </view>
  </view>
  <view class="tab-item{{tabsIndex == 4 ? ' active':''}}" data-index="4" bindtap="setTabbar">
    <view class="label">五日以上</view>
  </view>
</view>
<view class="content">
  <view class="order-card white-bg" wx:for="{{list}}" wx:key="unique">
    <navigator class="order-card-main" hover-class="none" url="/pages/product/activity/index?aid={{item.aid}}">
      <image src="{{item.logo}}" mode="aspectFill" binderror="errorImg" data-index="{{index}}"></image>
      <view class="order-card-content">
        <view class="listTitle">{{item.title}}</view>
        <text class="font12 black">
          <text>￥{{item.price}}</text>
          <text class="r-float subtitleColor">返佣<text class="font16 mLeft5">{{item.rebateScale}}%</text><text class="font12 mLeft10">约￥{{item.discount}}</text></text>
        </text>
      </view>
    </navigator>
  </view>
</view>

<view class='noData' hidden='{{list.length > 0}}'><text class="icon icon-info"></text><text>~没有相关订单~</text></view>
<view class='load-more' hidden="{{loadMore}}">下面没有了哦</view>