<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<navbar back home text="消费卡" background='#fff'></navbar>
<view style="height:{{navigationBarHeight}} "></view>
<!-- 折扣卡list页面 -->
<view class='content'>
  <view class="market clearfix">
    <view class='tabss'>
      <i-tabs current="{{current_scroll}}" scroll bindchange="handleChangeScroll">
        <i-tab wx:for="{{tabData}}" wx:key="unique" key="{{item.id}}" title="{{item.title}}"></i-tab>
      </i-tabs>
    </view>
    <view class='cards clearfix'>
      <view class="nocoupon" wx:if="{{list.length==0}}">
        <image src="{{noCoupon}}" mode="aspectFill" lazy-load="true" />
        <text class="txt001">请您敬请期待</text>
        <text class='txt002'>我们正在筹备一大波优惠活动</text>
        <navigator class='nav' url="{{goHomeUrl}}" open-type="switchTab" hover-class="other-navigator-hover">
          <button hover-class='active'>前往首页看看</button>
        </navigator>
      </view>
      <view class='section' wx:for='{{list}}' wx:key="index" bindtap="gotouse" data-couponId='{{item.couponId}}' data-type="{{item.type}}" data-quancode="{{item.id}}">
        <view class='mms'>
          <image src="{{canTransferred}}" wx-if='{{item.supportTransfer==1}}' class='cantransferred' mode="aspectFill" />
          <view class='detail_msg'>
            <image mode="aspectFill" style="{{mouldConfig.consumeImgH}}" src='{{item.coverImg}}'></image>
            <text>{{item.title}}</text>
          </view>
          <view class='buycardbtn'>
            <view>
              <text class='rmb'>￥</text>
              <text class='price'>{{item.salePriceStr}}</text>
            </view>
            <view>购买</view>
          </view>
        </view>
      </view>
    </view>
  </view>
  <view class="loading" wx:if="{{loading}}">
    <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  </view>
</view>