@@ -2,7 +2,7 @@ | |||||
<!-- 首页优惠券列表页面 --> | <!-- 首页优惠券列表页面 --> | ||||
<view class="coupons"> | <view class="coupons"> | ||||
<view class="coupons-img"> | <view class="coupons-img"> | ||||
<image src="{{data.coverImg}}" mode='aspectFill'></image> | |||||
<image src="{{data.coverImg}}" mode='aspectFill' lazy-load="true"></image> | |||||
</view> | </view> | ||||
<view class="coupons-info"> | <view class="coupons-info"> | ||||
<view class="coupons-info-name tit">{{data.title}}</view> | <view class="coupons-info-name tit">{{data.title}}</view> | ||||
@@ -6,7 +6,7 @@ | |||||
</i-tabs> | </i-tabs> | ||||
<view class='cards'> | <view class='cards'> | ||||
<view class="nocoupon" wx:if="{{list.length==0}}"> | <view class="nocoupon" wx:if="{{list.length==0}}"> | ||||
<image src="{{couponUrl}}" mode="widthFix" /> | |||||
<image src="{{couponUrl}}" mode="widthFix" lazy-load="true" /> | |||||
<text class="txt001">请您敬请期待</text> | <text class="txt001">请您敬请期待</text> | ||||
<text class='txt002'>我们正在筹备一大波优惠活动</text> | <text class='txt002'>我们正在筹备一大波优惠活动</text> | ||||
<navigator class='nav' url="/pages/index/index" open-type="switchTab" hover-class="other-navigator-hover"> | <navigator class='nav' url="/pages/index/index" open-type="switchTab" hover-class="other-navigator-hover"> | ||||
@@ -4,7 +4,7 @@ | |||||
<view class='flashSaleItem'> | <view class='flashSaleItem'> | ||||
<view class='flashSaleItemTop'> | <view class='flashSaleItemTop'> | ||||
<view class='flashSaleItemTopL'> | <view class='flashSaleItemTopL'> | ||||
<image mode='aspectFill' src='{{item.coverImg}}' class='food'></image> | |||||
<image mode='aspectFill' src='{{item.coverImg}}' class='food' lazy-load="true"></image> | |||||
</view> | </view> | ||||
<view class='flashSaleItemTopR'> | <view class='flashSaleItemTopR'> | ||||
<view class='flashSaleItemTopRTop'> | <view class='flashSaleItemTopRTop'> | ||||