<!--components/hot/hot.wxml-->
<view class='hotBox'>
  <view class='hotTitle'>
    <view class='titleL'>
      <view class='sql' style='background:{{sql}}'></view>
      <text>爆款专区</text>
    </view>
    <view class='titleR' bindtap='getChange' wx:if="{{pSize>=2||kSize>=2}}">
      <text class="text" style='color:{{txt}}'>换一换</text>
      <view class="view">
        <image class="img" src='{{change}}' bindtap='' mode='aspectFill'></image>
      </view>
    </view>
  </view>
  <view class='hotCon clearfix'>
    <view class='kanjia' wx:if="{{kSize}}" bindtap="gotokjdetail" data-couponId='{{kData.couponId}}' data-couponChannelId="{{kData.id}}" data-targetAd="{{kData.targetAd}}">
      <view>
        <image class="img" mode='aspectFill' lazy-load='true' src="{{kData.coverImg}}" />
      </view>
      <view class='kjText'>
        <text class='title'>{{kData.title}}</text>
        <text class='price'>￥{{kData.priceStr}}</text>
        <text class='sale'><text class="simple">￥</text>{{kData.salePriceStr}}</text>
        <view class=' btn btnk'>砍价</view>
      </view>
    </view>
    <view class='kanjia' wx:if="{{!kSize}}">
      <view>
        <image class="img" src='{{None}}' bindtap='' mode='aspectFill'></image>
      </view>
      <view class='kjText'>
        <text class='title'>疯狂补货中…</text>
        <text class='expect'>敬请期待</text>
        <view class='btnk btnNone'>砍价</view>
      </view>
    </view>

    <view class='pintuan' wx:if="{{pSize}}" bindtap="gotoptdetail" data-couponId='{{pData.couponId}}' data-couponChannelId="{{pData.id}}" data-targetAd="{{pData.targetAd}}">
      <view>
        <image class="img" mode='aspectFill' lazy-load='true' src="{{pData.coverImg}}" />
      </view>
      <view class='ptText'>
        <text class='title'>{{pData.title}}</text>
        <text class='price'>￥{{pData.priceStr}}</text>
        <text class='sale' class="simple"> <text>￥</text>{{pData.salePriceStr}}</text>
        <view class='btn btnp'>拼团</view>
      </view>
    </view>
    <view class='pintuan' wx:if="{{!pSize}}">
      <view>
        <image class="img" src='{{None}}' bindtap='' mode='aspectFill'></image>
      </view>
      <view class='ptText'>
        <text class='title'>疯狂补货中...</text>
        <text class='expect'>敬请期待</text>
        <view class='btnp btnNone'>拼团</view>
      </view>
    </view>
  </view>
</view>