抖音小程序C端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.7 KiB

  1. <view class="optimizationBox">
  2. <view class="titleImg">
  3. <view class="textl f">优选好物</view>
  4. <view class="textr r">Preferred Good</view>
  5. </view>
  6. <view class="classifyBox">
  7. <view class="itemBox" tt:for="{{businessList}}" tt:key="{{index}}" bindtap="setIndex" data-index="{{index}}" data-id="{{item.id}}">
  8. <view class="{{classIndex==index?'className_a':'className'}}">{{item.title}}</view>
  9. <view class="xian" tt:if="{{classIndex==index}}"></view>
  10. </view>
  11. </view>
  12. <view class="contBox">
  13. <view class="contLsitBox">
  14. <view class="item" tt:for="{{businessData}}" tt:key="{{index}}" bindtap="goDetail" data-couponid="{{item.couponId}}" data-id="{{item.id}}">
  15. <view class="itemImg">
  16. <image src="{{item.coverImg}}" mode='scaleToFill'></image>
  17. </view>
  18. <view class="titleName">{{item.title}}</view>
  19. <view class="priceBox">
  20. <view class="sellingBox f">
  21. <view class="fuhao">¥</view>
  22. <view class="int">{{item.salePriceStrQ?item.salePriceStrQ:item.salePriceStr}}</view>
  23. <view class="fuhao">{{item.salePriceStrH?'.'+item.salePriceStrH:''}}</view>
  24. </view>
  25. <view class="priceNum r">已售 {{item.sale}}</view>
  26. <view class="originalBox r">
  27. <view class="origina">¥{{item.priceStr}}</view>
  28. </view>
  29. </view>
  30. <view class="sellout" tt:if="{{item.remainInventory==0}}">
  31. <image class="selloutImg" src="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_img_ysx.png"></image>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>