You've already forked guangan-mp
39 lines
1.5 KiB
Vue
39 lines
1.5 KiB
Vue
<template>
|
|
<view class="fullloading flex align-center justify-center">
|
|
<view class="text-center">
|
|
<view class="flex align-center justify-center">
|
|
<view class="animate1 mr-1">
|
|
<uni-icons type="smallcircle-filled" size="14" color="#999"></uni-icons>
|
|
</view>
|
|
<view class="animate2 mr-1">
|
|
<uni-icons type="smallcircle-filled" size="14" color="#999"></uni-icons>
|
|
</view>
|
|
<view class="animate3">
|
|
<uni-icons type="smallcircle-filled" size="14" color="#999"></uni-icons>
|
|
</view>
|
|
</view>
|
|
<view class="font28 mt-1 text-muted text-center">加载中,请稍候</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name:"i-loading",
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.fullloading{position: fixed;left: 0;top: 0;width: 100%;height: 100%;background-color: #FFFFFF;z-index: 99999;right: 0;bottom: 0;}
|
|
@keyframes pageLoading1{0% {opacity:0.5; transform:scale(1);} 40% {opacity:1; transform:scale(1.3);} 60%{opacity:0.5; transform:scale(1);}}
|
|
@keyframes pageLoading2{20% {opacity:0.5; transform:scale(1);} 60% {opacity:1; transform:scale(1.3);} 80% {opacity:0.5; transform:scale(1);}}
|
|
@keyframes pageLoading3{40% {opacity:0.5; transform:scale(1);} 80% {opacity:1; transform:scale(1.3);} 100% {opacity:0.5; transform:scale(1);}}
|
|
.animate1{animation:pageLoading1 1.2s infinite linear;}
|
|
.animate2{animation:pageLoading2 1.2s infinite linear;}
|
|
.animate3{animation:pageLoading3 1.2s infinite linear;}
|
|
</style> |