|
@@ -4,80 +4,25 @@
|
|
|
<view class="group-container">
|
|
|
<view class="less-group">
|
|
|
<view class="group-box">
|
|
|
- <view class="group-item" bindtap="groupDetails">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <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 class="less-group">
|
|
|
- <view class="group-box">
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
</view>
|
|
|
-<view class="less-group">
|
|
|
- <view class="group-box">
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-<view class="less-group">
|
|
|
- <view class="group-box">
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- <view class="group-item">
|
|
|
- <image src="" style="background: red;"></image>
|
|
|
- <view>拼团价 <text>¥1</text></view>
|
|
|
- <view>原价 <text style="text-decoration: line-through;">¥99</text></view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
</scroll-view>
|
|
|
</view>
|