|
|
@@ -1,10 +1,10 @@ |
|
|
|
<view class="page" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<view class="bargaingoods" style='padding-bottom:120rpx;' wx:if="{{bargaingoods}}" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<!-- <view class='top'> |
|
|
|
<view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<c-banner wx:key="unique" list="{{list}}" /> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class='top' wx:if="{{bargaingoods&&list.length>0}}"> |
|
|
|
<view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<c-banner wx:key="unique" list="{{list}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="bargaingoods" style='padding-bottom:120rpx;' wx:if="{{bargaingoods&&lists.length>0}}" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<view class="list" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<view class="listitem clearfix" wx:for="{{lists}}" wx:key="{{index}}" hover-stop-propagation="false" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> |
|
|
|
<image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true" binderror="" |
|
|
@@ -18,11 +18,11 @@ |
|
|
|
<view class="botton" wx:if="{{item.remainInventory != 0}}" hover-class="none" hover-stop-propagation="false">发起砍价</view> |
|
|
|
<view class="botton botton02" wx:if="{{item.remainInventory == 0}}" hover-class="none" hover-stop-propagation="false">已售罄</view> |
|
|
|
</view> |
|
|
|
<view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view> |
|
|
|
<view class="loading" wx:if="{{loading}}">{{content}}</view> |
|
|
|
<!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="list mybargain" style='padding-bottom:120rpx;' wx:if="{{mybargain}}" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<view class="list mybargain" style='padding-bottom:120rpx;' wx:if="{{mybargain&&lists.length>0}}" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<view class="listitem clearfix" wx:for="{{lists}}" wx:key="index" hover-stop-propagation="false"> |
|
|
|
<image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true"></image> |
|
|
|
<view class="fl ri" hover-class="none" hover-stop-propagation="false"> |
|
|
@@ -47,13 +47,21 @@ |
|
|
|
<image class="icon" style="margin-top:60rpx;" src="./../../assets/images/bargaincancel.png" lazy-load="true"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view> |
|
|
|
<view class="loading" wx:if="{{loading}}">{{content}}</view> |
|
|
|
<!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> --> |
|
|
|
</view> |
|
|
|
<view class='dingdan' wx:if="{{lists.length==0}}"> |
|
|
|
<!-- <view class='dingdan' wx:if="{{lists.length==0}}"> |
|
|
|
<image src="{{actUrl}}" mode="widthFix"></image> |
|
|
|
<text>暂无数据</text> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class='no-data01' wx:if='{{flag=="bargaingoods"&&lists.length==0}}'> |
|
|
|
<image src='{{actUrl}}'></image> |
|
|
|
<view class='no-data-text'>暂无数据</view> |
|
|
|
</view> |
|
|
|
<view class='no-data' wx:if='{{flag=="mybargain"&&lists.length==0}}'> |
|
|
|
<image src='{{actUrl}}'></image> |
|
|
|
<view class='no-data-text'>暂无数据</view> |
|
|
|
</view> |
|
|
|
<view class='bottom'> |
|
|
|
<view class='bottom-left' bindtap="bargaingoods" style="background:{{bargaingoods?'#FF8220':'#FFB614'}}">砍价商品</view> |
|
|
|
<view class='bottom-right' bindtap="mybargain" style="background:{{ mybargain?'#FF8220':'#FFB614'}}">我的砍价</view> |
|
|
|