<view class="index-coupons">
  <i-tabs current="{{current_scroll}}" scroll bindchange="handleChangeScroll">
    <i-tab wx:for="{{tabs}}" wx:key="unique" key="{{item.id}}" title="{{item.title}}"></i-tab>
  </i-tabs>
  <c-coupons wx:if="{{list.length!=0}}" wx:for="{{list}}" paramAtoB="{{loading}}" wx:key="unique" data="{{item}}" list="{{list}}" />
  <view class='dingdan' wx:if="{{list.length==0}}">
    <image src="../../../assets/img/act.png" mode="widthFix"></image>
      <text>请您敬请期待</text>
      <text>我们正在筹备一大波优惠活动</text>
  </view>
  <view class="loading" wx:if="{{loading}}"><image src="./../../../assets/img/loading.gif" mode="widthFix"></image>{{content}}</view>
  <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view>
</view>