<!--pages/discount-group/discount-group.wxml--> <view class="discount-group"> <scroll-view scroll-y="{{true}}"> <view class="group-container"> <view class="less-group"> <view class="group-box"> <block wx:for="{{recommendList}}" wx:key="{{index}}"> <view class="group-item" bindtap="groupDetail" data-id="{{item.id}}" data-productId="{{item.productId}}" data-groupId="{{item.groupId}}"> <image class="item-img" src="{{item.iconImg}}"></image> <view>拼团价 <text>¥{{item.price / 100}}</text></view> <view>原价 <text style="text-decoration: line-through;">¥{{item.originPrice / 100}}</text></view> <view class="group-num"> <image src="../../../static/groupImg/Rectangle_30.png" ></image> <text>{{item.headcount}}人团</text> </view> </view> </block> <block wx:for="{{bookList}}" wx:key="{{index}}"> <view class="group-item"> <image class="item-img" src="{{item.iconImg}}"></image> <view id="grade">一年级</view> </view> </block> </view> </view> </view> </scroll-view> </view>