mirror of
https://gitee.com/qingqing-coconut-tea/RcKtFezyRAZX
synced 2026-07-21 10:32:32 +08:00
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
/* components/loading/loading.wxss */
|
||
/* 加载状态样式 */
|
||
|
||
.loading-container {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 60rpx 0;
|
||
}
|
||
|
||
.loading-spinner {
|
||
width: 60rpx;
|
||
height: 60rpx;
|
||
position: relative;
|
||
}
|
||
|
||
.spinner-item {
|
||
width: 100%;
|
||
height: 100%;
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
}
|
||
|
||
.spinner-item::before {
|
||
content: '';
|
||
display: block;
|
||
width: 12rpx;
|
||
height: 12rpx;
|
||
background-color: #667eea;
|
||
border-radius: 50%;
|
||
margin: 0 auto;
|
||
animation: spinner-fade 1.2s infinite ease-in-out;
|
||
}
|
||
|
||
.spinner-item:nth-child(1) { transform: rotate(0deg); animation-delay: -1.1s; }
|
||
.spinner-item:nth-child(2) { transform: rotate(45deg); animation-delay: -1s; }
|
||
.spinner-item:nth-child(3) { transform: rotate(90deg); animation-delay: -0.9s; }
|
||
.spinner-item:nth-child(4) { transform: rotate(135deg); animation-delay: -0.8s; }
|
||
.spinner-item:nth-child(5) { transform: rotate(180deg); animation-delay: -0.7s; }
|
||
.spinner-item:nth-child(6) { transform: rotate(225deg); animation-delay: -0.6s; }
|
||
.spinner-item:nth-child(7) { transform: rotate(270deg); animation-delay: -0.5s; }
|
||
.spinner-item:nth-child(8) { transform: rotate(315deg); animation-delay: -0.4s; }
|
||
|
||
@keyframes spinner-fade {
|
||
0% { opacity: 0.3; }
|
||
100% { opacity: 1; }
|
||
}
|
||
|
||
.loading-text {
|
||
margin-top: 20rpx;
|
||
font-size: 24rpx;
|
||
color: #999;
|
||
}
|
||
|
||
/**
|
||
* @联系作者:16768118056
|
||
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
|
||
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
|
||
*/
|