<view class="optimizationBox">
  <view class="titleImg">
    <view class="textl f">优选好物</view>
    <view class="textr r">Preferred Good</view>
  </view>


  <view class="classifyBox">
    <view class="itemBox" wx:for="{{businessList}}" wx:key="index" bindtap="setIndex" data-index="{{index}}" data-id="{{item.id}}">
      <view class="{{classIndex==index?'className_a':'className'}}">{{item.title}}</view>
      <view class="xian" wx:if="{{classIndex==index}}"></view>
    </view>
  </view>

  <view class="contBox">
    <view class="contLsitBox">
      <view class="item" wx:for="{{businessData}}" wx:key="index" bindtap="goDetail" data-couponid="{{item.couponId}}" data-id="{{item.id}}">
        <view class="itemImg">
          <image class="img" src="{{item.coverImg}}" mode='scaleToFill'></image>
        </view>
        <view class="titleName">{{item.title}}</view>
        <view class="priceBox">
          <view class="sellingBox f">
            <view class="fuhao">￥</view>
            <view class="int">{{item.salePriceStrQ?item.salePriceStrQ:item.salePriceStr}}</view>
            <view class="fuhao">{{item.salePriceStrH?'.'+item.salePriceStrH:''}}</view>
          </view>
          <view class="priceNum r">已售 {{item.sale}}</view>
          <view class="originalBox r">
            <view class="origina">￥{{item.priceStr}}</view>
          </view>
        </view>

        <view class="sellout" wx:if="{{item.remainInventory==0}}">
          <image class="selloutImg" src="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_img_ysx.png"></image>
        </view>
      </view>
    </view>
  </view>
</view>