当前位置:网站首页>unapp封装一个加载动画
unapp封装一个加载动画
2022-04-22 02:15:00 【你的美,让我痴迷】
<!-- 封装一个可以使用的数据加载动画 -->
<template>
<view>
<view class="loadingIco" >
<image src="../../static/images/loading.png" mode=""></image>
<view class="titile">正在加载...</view>
</view>
</view>
</template>
<script>
export default {
name:"ico_animation",
data() {
return {
};
}
}
</script>
<style lang="scss">
.loadingIco{
margin: 100px auto;
text-align: center;
image{
width: 50px;
height: 50px;
animation: anim 3s linear infinite;
}
.titile{
margin-top: 10px;
}
}
@keyframes anim{
0%{
transform: rotate(0);
}
100%{
transform: rotate(360deg);
}
}
</style>
版权声明
本文为[你的美,让我痴迷]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_45932157/article/details/124320017
边栏推荐
猜你喜欢

高级android面试答案,Gradle源码全解析

PaddlePaddle basic usage details (four), PaddlePaddle training text classification model

Basic operation of MySQL database ------ (basic addition, deletion, query and modification)
![[check which package provides the installed packages and commands]](/img/d8/ce76b177937b46c12469ea2bddf565.png)
[check which package provides the installed packages and commands]

Detailed implementation of single layer neural network

Method for extracting middle layer output of CNN model

MySQL cannot find my INI file

Leetcode 566, remodeling matrix

How to select the appropriate neo4j Version (2022)

【查看已经安装的包和命令是由哪个包提供的】
随机推荐
3D立体相册模板(大小可更改)
51 page digital transformation and informatization planning of the 14th five year plan
Introduction to Matlab (I)
Shell knowledge: awk
14.系统信息查看
高级UI都没弄明白凭什么拿高薪,劲爆
风控产品定额的陷阱都有哪些?
Hj12 string inversion
Login procedure 2
【查看已经安装的包和命令是由哪个包提供的】
cv2. What is the custom format of drawcontours()
QT程序打包成一个exe可执行文件
Mysql-if-then-else statement
[FAQ] Anaconda prompt reports an error. Solving environment: failed
Advanced formula 44 of C language: the secret of function parameters (Part 1)
XSS跨站脚本攻击学习记录
Ezreal -- cut an animation into four action animation successfully -- new unity project (3)
[programming question] character set
QT program is packaged into an EXE executable file
Raspberry pie 4B 8g installation log (3) - Programming Environment