discount-group.wxml 1.0 KB

12345678910111213141516171819202122
  1. <!--pages/discount-group/discount-group.wxml-->
  2. <view class="discount-group">
  3. <scroll-view scroll-y="{{true}}">
  4. <view class="group-container">
  5. <view class="less-group">
  6. <view class="group-box">
  7. <block wx:for="{{recommendList}}" wx:key="{{index}}">
  8. <view class="group-item" bindtap="groupDetail" data-id="{{item.id}}" data-productId="{{item.productId}}" data-groupId="{{item.groupId}}">
  9. <image class="item-img" src="{{item.iconImg}}"></image>
  10. <view>拼团价 <text>¥{{item.price / 100}}</text></view>
  11. <view>原价 <text style="text-decoration: line-through;">¥{{item.originPrice / 100}}</text></view>
  12. <view class="group-num">
  13. <image src="../../../static/groupImg/Rectangle_30.png" ></image>
  14. <text>{{item.headcount}}人团</text>
  15. </view>
  16. </view>
  17. </block>
  18. </view>
  19. </view>
  20. </view>
  21. </scroll-view>
  22. </view>