style:新增懒加载机制
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</view>
|
||||
<view class="header-right" v-if="orderInfo.orderStatus === 'in_used'">
|
||||
<view class="device-no-eject-btn" @click="handleDeviceNoEject">
|
||||
<image src="/static/power_no_popout.png" class="device-no-eject-icon" mode="aspectFit"></image>
|
||||
<image src="/static/power_no_popout.png" class="device-no-eject-icon" mode="aspectFit" lazy-load="true"></image>
|
||||
<text class="device-no-eject-text">{{ $t('order.deviceNoEject') }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -50,7 +50,7 @@
|
||||
</view>
|
||||
<!-- 计费规则图片 -->
|
||||
<view class="fee-rule-image">
|
||||
<image :src="getFeeRuleImageUrl()" mode="widthFix" class="rule-image"></image>
|
||||
<image :src="getFeeRuleImageUrl()" mode="widthFix" class="rule-image" lazy-load="true"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<view class="rent-item" v-if="isOrderCompleted() && orderInfo.discountTypeName">
|
||||
<view class="rent-label">{{ $t('order.usedPromotion') }}</view>
|
||||
<view class="rent-value promotion-value">
|
||||
<image src="/static/promotion-icon.png" class="promotion-icon" mode="aspectFit"></image>
|
||||
<image src="/static/promotion-icon.png" class="promotion-icon" mode="aspectFit" lazy-load="true"></image>
|
||||
{{ orderInfo.discountTypeName }}<text
|
||||
v-if="orderInfo.discountAmount">{{'-¥'+orderInfo.discountAmount||''}}</text>
|
||||
</view>
|
||||
@@ -125,11 +125,11 @@
|
||||
<!-- 支付成功状态 -->
|
||||
<template v-if="orderInfo.orderStatus === 'payment_successful'">
|
||||
<view class="bottom-icon-btn" @click="contactService">
|
||||
<image src="/static/customer-service.png" class="icon" mode="aspectFit"></image>
|
||||
<image src="/static/customer-service.png" class="icon" mode="aspectFit" lazy-load="true"></image>
|
||||
<text>{{ $t('user.customerService') }}</text>
|
||||
</view>
|
||||
<view class="bottom-icon-btn" @click="handleDeviceNoEject">
|
||||
<image src="/static/complaint.png" class="icon" mode="aspectFit"></image>
|
||||
<image src="/static/complaint.png" class="icon" mode="aspectFit" lazy-load="true"></image>
|
||||
<text>{{ $t('order.deviceNoEject') }}</text>
|
||||
</view>
|
||||
</template>
|
||||
@@ -137,7 +137,7 @@
|
||||
<!-- 使用中状态 -->
|
||||
<template v-if="orderInfo.orderStatus === 'in_used'">
|
||||
<view class="bottom-icon-btn" @click="contactService">
|
||||
<image src="/static/customer-service.png" class="icon" mode="aspectFit"></image>
|
||||
<image src="/static/customer-service.png" class="icon" mode="aspectFit" lazy-load="true"></image>
|
||||
<text>{{ $t('user.customerService') }}</text>
|
||||
</view>
|
||||
<!-- 只有支持快递归还时才显示倒计时和快递归还按钮 -->
|
||||
@@ -166,11 +166,11 @@
|
||||
<template v-if="isOrderCompleted()">
|
||||
<view class="bottom-icon-btn" @click="handleWithdraw"
|
||||
v-if="!orderInfo.isWithdrawn && orderInfo.refundAmount > 0">
|
||||
<image src="/static/suggess.png" class="icon" mode="aspectFit"></image>
|
||||
<image src="/static/suggess.png" class="icon" mode="aspectFit" lazy-load="true"></image>
|
||||
<text>{{ $t('order.feeAppeal') }}</text>
|
||||
</view>
|
||||
<view class="bottom-icon-btn" @click="contactService">
|
||||
<image src="/static/customer-service.png" class="icon" mode="aspectFit"></image>
|
||||
<image src="/static/customer-service.png" class="icon" mode="aspectFit" lazy-load="true"></image>
|
||||
<text>{{ $t('user.customerService') }}</text>
|
||||
</view>
|
||||
<view class="action-btn primary" @click="rentAgain">
|
||||
@@ -222,7 +222,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-body">
|
||||
<image :src="returnMapImageUrl" mode="widthFix" class="map-image"></image>
|
||||
<image :src="returnMapImageUrl" mode="widthFix" class="map-image" lazy-load="true"></image>
|
||||
</view>
|
||||
<view class="popup-footer">
|
||||
<view class="save-btn" @click="saveReturnMapImage">
|
||||
|
||||
Reference in New Issue
Block a user