couponGoods.wxml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <view class="container">
  2. <view class="cate-nav">
  3. <view class="name">优惠券:{{coupon.name}}</view>
  4. <view class="desc" wx:if="{{coupon.voucherType==3}}">商品兑换件数:{{coupon.goodsNum}} 件</view>
  5. <view class="desc" wx:if="{{coupon.voucherType!=3}}">
  6. {{coupon.discount}}{{coupon.voucherType==1?'元':'折'}} | 满{{coupon.min}}元可用
  7. </view>
  8. </view>
  9. <view class="cate-item">
  10. <view class="b" wx:if="{{goodsList.length>0}}">
  11. <navigator class="item {{(iindex + 1) % 2 == 0 ? 'item-b' : ''}}" url="/pages/goods/goods?id={{iitem.id}}" wx:for="{{goodsList}}" wx:key="id" wx:for-item="iitem" wx:for-index="iindex">
  12. <image class="img" src="{{iitem.picUrl}}" background-size="cover"></image>
  13. <!-- <text wx:if="{{iitem.type=='2'}}">起</text> -->
  14. <!-- <view class="price">
  15. <view class="retailPrice">¥{{iitem.retailPrice}}</view>
  16. <view class="memberPrice">¥{{iitem.memberPrice}}</view>
  17. <view class="member-price-tag">会员价</view>
  18. </view>
  19. <text class="name">{{iitem.name}}</text> -->
  20. <view style="display: flex;margin-top: 10rpx;height: 71rpx;">
  21. <!-- <image wx:if="{{iitem.activited}}"
  22. src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/618.png"
  23. style="width: 39px;height:16px;margin-right: 2px;" /> -->
  24. <text class="name">{{iitem.name}}</text>
  25. </view>
  26. <view class="price">
  27. <!-- <view class="retailPrice">¥{{iitem.retailPrice}}</view>
  28. <view class="memberPrice">¥{{iitem.memberPrice}}</view>
  29. <view class="member-price-tag">会员价</view> -->
  30. <view wx:if="{{iitem.activited}}" class="retailPrice">
  31. <text class="price-unit">¥</text>{{iitem.activityPrice}}</view>
  32. <view wx:else="" class="retailPrice"><text class="price-unit">¥</text>{{iitem.retailPrice}}</view>
  33. <view wx:if="{{iitem.activited||iitem.counterPrice!=iitem.retailPrice}}" class="counterPrice">原价¥{{iitem.counterPrice}}</view>
  34. </view>
  35. </navigator>
  36. </view>
  37. <view class="no-list" wx:if="{{goodsList.length==0}}">此优惠券在您的城市【{{addressInfo.city}}】不可用</view>
  38. </view>
  39. </view>