标签:efault temp center 加载动画 image lock data isp frame
<template> <!-- 这个组件用于 页面下滑到底部时 展示加载动画 --> <view> <!-- 加载动画 --> <view class=‘loadTextAnimotion‘> <view class=‘pillar animotion01‘></view> <view class=‘pillar animotion02‘></view> <view class=‘pillar animotion03‘></view> <view class=‘pillar animotion04‘></view> <view class=‘pillar animotion05‘></view> <view class=‘pillar animotion06‘></view> </view> </view> </template> <script> export default { data () { return {} } } </script> <style lang="less" scoped> .loadTextAnimotion{ // 点击加载后的动画 text-align: center; line-height: 150upx; color: #c5c2c2; font-weight: bold; .pillar{ display:inline-block; vertical-align: middle; background-color: #c5c2c2; width:10upx; border-radius: 40upx; margin: 0 10upx; } .animotion01{ animation: pillarHeight 1s infinite -0.5s; } .animotion02{ animation: pillarHeight 1s infinite -0.4s; } .animotion03{ animation: pillarHeight 1s infinite -0.3s; } .animotion04{ animation: pillarHeight 1s infinite -0.2s; } .animotion05{ animation: pillarHeight 1s infinite -0.1s; } .animotion06{ animation: pillarHeight 1s infinite; } @keyframes pillarHeight { 0% {height:20upx} 50% {height:60upx} 100% {height:20upx} } } </style>
标签:efault temp center 加载动画 image lock data isp frame
原文地址:https://www.cnblogs.com/lyxzxp/p/11663042.html