优化组件/更新
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<!-- #ifndef APP-NVUE -->
|
||||
<view v-else-if="!webviewHide && status === 'loading' && showIcon"
|
||||
:style="{width:iconSize+'px',height:iconSize+'px'}" class="uni-load-more__img uni-load-more__img--ios-H5">
|
||||
<image :src="imgBase64" mode="widthFix"></image>
|
||||
<image class="image" :src="imgBase64" mode="widthFix"></image>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<text v-if="showText" class="uni-load-more__text"
|
||||
@@ -37,7 +37,12 @@
|
||||
<script>
|
||||
let platform
|
||||
setTimeout(() => {
|
||||
// #ifdef MP-WEIXIN
|
||||
platform = uni.getDeviceInfo().platform
|
||||
// #endif
|
||||
// #ifndef MP-WEIXIN
|
||||
platform = uni.getSystemInfoSync().platform
|
||||
// #endif
|
||||
}, 16)
|
||||
|
||||
import {
|
||||
@@ -205,7 +210,7 @@
|
||||
animation: loading-ios-H5 1s 0s step-end infinite;
|
||||
}
|
||||
|
||||
.uni-load-more__img--ios-H5 image {
|
||||
.uni-load-more__img--ios-H5 .image {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user