
Some checks are pending
Actions / Litemall-all (11) (push) Waiting to run
Actions / Litemall-all (11.0.3) (push) Waiting to run
Actions / Litemall-all (8) (push) Waiting to run
Actions / Litemall-all (8.0.192) (push) Waiting to run
Actions / Litemall-admin (10.x) (push) Waiting to run
Actions / Litemall-admin (12.x) (push) Waiting to run
Actions / Litemall-admin (14.x) (push) Waiting to run
Actions / Litemall-vue (10.x) (push) Waiting to run
Actions / Litemall-vue (12.x) (push) Waiting to run
Actions / Litemall-vue (14.x) (push) Waiting to run
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
<view class="container">
|
|
<scroll-view class="groupon-list" scroll-y="true" scroll-top="{{scrollTop}}">
|
|
|
|
<view class="item" wx:for="{{grouponList}}" wx:for-index="index" wx:for-item="item" wx:key="id">
|
|
<navigator url="/pages/goods/goods?id={{item.id}}">
|
|
<image class="img" src="{{item.picUrl}}" background-size="cover"></image>
|
|
<view class="right">
|
|
<view class="text">
|
|
<view class="header">
|
|
<text class="name">{{item.name}}</text>
|
|
<van-tag type="primary">{{item.grouponMember}}人成团</van-tag>
|
|
</view>
|
|
<view class="expire">
|
|
<van-tag round type="warning">有效期至 {{item.expireTime}}</van-tag>
|
|
</view>
|
|
<text class="desc">{{item.brief}}</text>
|
|
<view class="price">
|
|
<view class="counterPrice">现价:¥{{item.retailPrice}}</view>
|
|
<view class="retailPrice">团购价:¥{{item.grouponPrice}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</navigator>
|
|
</view>
|
|
|
|
<view class="page" wx:if="{{showPage}}">
|
|
<view class="prev {{ page <= 1 ? 'disabled' : ''}}" bindtap="prevPage">上一页</view>
|
|
<view class="next {{ (count / limit) < page ? 'disabled' : ''}}" bindtap="nextPage">下一页</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view> |