<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<!-- <navbar back home text="专题活动"></navbar> -->
<!-- <view style="height:{{navigationBarHeight}} "></view> -->
<!-- banner活动详情页面 -->
<view class='coupons' style='background:{{data.bgColor}};height:{{winHeight}};'>
  <view class="coupons-body">
    <view class='banner'>
      <image src='{{data.advert}}' style="" mode='widthFix'></image>
    </view>
    <view class='act'>
      <view class='txt001'>{{data.name}}</view>
      <view class='txt002'>{{data.title}}</view>
      <view class="proct">
        <text>{{data.content}}</text>
      </view>
    </view>
  </view>

  <view class='contain clearfix'>
    <!-- 优惠券 -->
    <view class='navigator' tt:for="{{data.couponList}}" tt:key="{{index}}" data-couponId='{{item.couponId}}' data-type='{{item.type}}' data-couponChannelId='{{item.id}}' bindtap='gotoDetail'>
      <!-- 首页优惠券列表页面 -->
      <view class="coupons1" style="{{mouldType==1?'height: 560rpx':''}}">
        <view class="coupons1-img" style="{{mouldType==1?'height: 344rpx':''}}">
          <image src="{{item.coverImg}}" style="{{mouldType==1?'height: 344rpx':''}}"></image>
        </view>
        <view class="coupons1-info" tt:if="{{mouldType!=1}}">
          <view class="coupons1-info-name tit">{{item.title}}</view>
          <view class="coupons1-info-name subtitle" tt:if="{{item.subTitle}}">{{item.subTitle}}</view>
          <view class="coupons1-info-price-p">
            <text class="i">¥</text>{{item.salePriceStr}}
            <view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" tt:if="{{item.type == 1}}">
              满￥{{item.usePriceStr}}可用
            </view>
            <view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" tt:if="{{item.type == 2||item.type == 3||item.type==4||item.type==5||item.type==6||item.type==7}}">
              仅限本店使用
            </view>
          </view>
        </view>

        <view class="coupons1-info" tt:if="{{mouldType==1}}">
          <view class="coupons1-info-name tit">{{item.title}}</view>
          <view class="coupons1-info-name subtitle" tt:if="{{item.subTitle}}">{{item.subTitle}}</view>
          <view class="coupons1-info-price-pX">
            <text class="i">¥</text>{{item.salePriceStr}}
            <view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" tt:if="{{item.type == 1}}">
              满￥{{item.usePriceStr}}可用
            </view>
            <view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" tt:if="{{item.type == 2||item.type == 3||item.type==4||item.type==5||item.type==6||item.type==7}}">
              仅限本店使用
            </view>
          </view>
        </view>
            <!-- <view class="coupons1-info-name subtitle sy">剩余{{item.remainInventory}}</view> -->
        
        <view class="coupons1-btn">
          <!-- 优惠券价格 -->
          <i-button class="{{mouldType!=1?'buy':'buyX'}}" hover-class='active'  tt:if="{{item.salePriceStr==0}}" data-date='{{data}}'>免费领</i-button>
          <i-button class="{{mouldType!=1?'buy':'buyX'}}" hover-class='active' tt:elif="{{item.salePriceStr!=0}}" data-date='{{data}}'>马上购</i-button>

         
        </view>
        <!-- <view class="coupons1-border"></view> -->
      </view>
    </view>
  </view>
</view>