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