<scroll-view class="scroll-v list" lower-threshold="180" enableBackToTop="true" scroll-y="true" bindscrolltolower="{{f}}"><view class="goodCards"><view wx:for="{{a}}" wx:for-item="item2" wx:key="i" style="margin:12rpx"><view class="card"><view class="cardImg"><image style="width:100%;height:100%" src="{{item2.a}}" alt=""/></view><view class="cardDetail"><view class="cardTitle">{{item2.b}}</view><view class="cardTip">{{item2.c}}</view><view class="cardCoupon"><text style="background-color:white;color:#ff5351;margin-right:12rpx;padding:0 8rpx">券</text>{{item2.d}}元 </view><view class="cardBottom"><view class="cardBottom_left"><view class="cardBottom_price"> ¥{{item2.e}} <text style="text-decoration:line-through;color:gray">¥{{item2.f}}</text></view><view class=""><image style="width:30rpx;height:30rpx" src="/static/homeimg/pinkFire.png" alt=""/> 已抢<text style="color:#ff5351">{{item2.g}}+</text> 件 </view></view><view class="cardBottom_right" bindtap="{{item2.h}}"> 马上抢 </view></view></view></view></view></view><view class="loading-more"><text wx:if="{{b}}" class="loading-more-text">暂无数据~</text><text wx:elif="{{c}}" class="loading-more-text">已经到底啦~</text><text wx:elif="{{d}}" class="loading-more-text">加载更多...</text><text wx:elif="{{e}}" class="loading-more-text">加载中...</text></view></scroll-view>
|