抖音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.

commodityMould.ttml 4.0 KiB

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!-- <view class='product' tt:if="{{showTopic}}" bindtap='gotoTopic'>
  2. <image src='{{cover}}' mode='widthFix'></image>
  3. </view> -->
  4. <view tt:if="{{obj.couponList.length>0||obj.isOnlyAd==1}}" class="{{obj.isOnlyAd==1?'':'BoxX'}}">
  5. <view class='product' bindtap='gotoTopic' data-id="{{obj.id}}" tt:if="{{obj.isOnlyAd==1}}">
  6. <image src='{{obj.cover}}' mode='scaleToFill'></image>
  7. </view>
  8. <view class="commBox" tt:if="{{obj.topicType!=1||(obj.topicType==1&&obj.isOnlyAd==0)}}">
  9. <view class="titleBox">
  10. <image class="titleImg" src="{{titleImgUrl}}" tt:if="{{!special}}"></image>
  11. <view class="specialTitle" tt:if="{{special}}">{{obj.name}}</view>
  12. <view class="more" bindtap="lookAll">查看更多优惠活动
  13. <image class="rup" src="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_icon_jt.png"></image>
  14. </view>
  15. </view>
  16. <view class="contBox">
  17. <view class="topImg" tt:if="{{obj.cover}}" bindtap="lookAll">
  18. <image src="{{obj.cover}}" mode='scaleToFill'></image>
  19. </view>
  20. <div class="itemBox" tt:if="{{obj.couponList&&obj.couponList.length>0}}">
  21. <view class="item" tt:for="{{obj.couponList}}" tt:key="index" bindtap="goDetail" data-type="{{item.type}}" data-id="{{item.id}}" data-couponid="{{item.couponId}}">
  22. <view class="itemImg">
  23. <image src="{{item.coverImg}}" mode='scaleToFill'></image>
  24. <view class="sellout" tt:if="{{item.remainInventory==0}}">
  25. <image class="selloutImg" src="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_img_ysx.png"></image>
  26. </view>
  27. </view>
  28. <view class="titleNameBox">
  29. <view class="titleName">{{item.title}}</view>
  30. </view>
  31. <!-- <view class="priceBox">
  32. <view class="sellingBox f">
  33. <view class="fuhao">¥</view>
  34. <view class="int" tt:if="{{item.type!=50}}">{{item.salePriceStrQ?item.salePriceStrQ:item.salePriceStr}}</view>
  35. <view class="fuhao" tt:if="{{item.type!=50}}">{{item.salePriceStrH?'.'+item.salePriceStrH:''}}</view>
  36. <view class="int" tt:if="{{item.type==50}}">{{item.creditPrice}}</view>
  37. <view class="fuhao" tt:if="{{item.type==50}}"> 积分</view>
  38. </view>
  39. <view class="originalBox r">
  40. <view class="origina">¥{{item.priceStr}}</view>
  41. </view>
  42. </view> -->
  43. <view class="priceBox">
  44. <view class="sellingBox f">
  45. <view class="fuhaoX" tt:if="{{item.type!=50}}" >¥{{item.salePriceStr?item.salePriceStr:""}}</view>
  46. <view class="fuhaoX" tt:if="{{item.type==50}}"> {{item.creditPrice}}积分</view>
  47. </view>
  48. <view class="originalBox r" tt:if="{{item.type!=50}}">
  49. <view class="r btn" >马上抢</view>
  50. </view>
  51. <view class="originalBox f" tt:if="{{item.type==50}}">
  52. <view class="originaX">¥{{item.priceStr}}</view>
  53. </view>
  54. </view>
  55. <view class="jifengBtn" tt:if="{{item.type==50}}">
  56. 立即兑换
  57. </view>
  58. <view class="countBox" tt:if="{{isShowCount}}">
  59. <view class="countText f">{{setIntervalLsit[index].textTime}}</view>
  60. <view class="countDate r">{{setIntervalLsit[index].vaFlag?'活动已结束':setIntervalLsit[index].valueText}}</view>
  61. </view>
  62. </view>
  63. <view class="item moreItem" bindtap="lookAll">
  64. <view class="noDataImg">
  65. <image src="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_img_zwlp.png"></image>
  66. </view>
  67. <view class="noDataText">查看更多优惠活动</view>
  68. </view>
  69. </div>
  70. </view>
  71. </view>
  72. </view>