style:新增懒加载机制
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<view class="header-right">
|
||||
<!-- 支付方式标识(移到头部右侧) -->
|
||||
<view class="payment-badge wx-score" v-if="order.payWay == 'wx_score_pay'">
|
||||
<image src="/static/images/wxpayflag.png" mode="aspectFit" class="badge-icon"></image>
|
||||
<image src="/static/images/wxpayflag.png" mode="aspectFit" class="badge-icon" lazy-load="true"></image>
|
||||
<view class="badge-text">
|
||||
<text>{{ $t('order.wxPayScore') }}</text>
|
||||
<text class="divider">|</text>
|
||||
@@ -63,16 +63,16 @@
|
||||
<view class="order-footer">
|
||||
<view class="footer-left">
|
||||
<view v-if="isInUse" class="renting">
|
||||
<image src="/static/order_time.png" mode="aspectFit" class="icon-time"></image>
|
||||
<image src="/static/order_time.png" mode="aspectFit" class="icon-time" lazy-load="true"></image>
|
||||
{{ $t('order.renting') }}
|
||||
</view>
|
||||
<view v-else-if="isFinished" class="meta">
|
||||
<view class="meta-item">
|
||||
<image src="/static/order_time.png" mode="aspectFit" class="icon-time"></image>
|
||||
<image src="/static/order_time.png" mode="aspectFit" class="icon-time" lazy-load="true"></image>
|
||||
{{ usedDurationText }}
|
||||
</view>
|
||||
<view class="meta-item">
|
||||
<image src="/static/order_price.png" mode="aspectFit" class="icon-price"></image>
|
||||
<image src="/static/order_price.png" mode="aspectFit" class="icon-price" lazy-load="true"></image>
|
||||
{{ displayAmount }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user