From 92230c9a97dc9ce9df3313d11d26999c04bb6b26 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 13:12:48 +0800 Subject: [PATCH] 项目初始化 --- src/components/qiun-data-charts/components/qiun-loading/loading3.vue | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 173 insertions(+), 0 deletions(-) diff --git a/src/components/qiun-data-charts/components/qiun-loading/loading3.vue b/src/components/qiun-data-charts/components/qiun-loading/loading3.vue new file mode 100644 index 0000000..8e14db3 --- /dev/null +++ b/src/components/qiun-data-charts/components/qiun-loading/loading3.vue @@ -0,0 +1,173 @@ +<template> + <view class="container loading3"> + <view class="shape shape1"></view> + <view class="shape shape2"></view> + <view class="shape shape3"></view> + <view class="shape shape4"></view> + </view> +</template> + +<script> + export default { + name: 'loading3', + data() { + return { + + }; + } + } +</script> + +<style scoped="true"> +.container { + width: 30px; + height: 30px; + position: relative; +} + + .container.loading3 { + -webkit-animation: rotation 1s infinite; + animation: rotation 1s infinite; +} +.container.loading3 .shape1 { + border-top-left-radius: 10px; +} +.container.loading3 .shape2 { + border-top-right-radius: 10px; +} +.container.loading3 .shape3 { + border-bottom-left-radius: 10px; +} +.container.loading3 .shape4 { + border-bottom-right-radius: 10px; +} + +.container .shape { + position: absolute; + width: 10px; + height: 10px; + border-radius: 1px; +} +.container .shape.shape1 { + left: 0; + background-color: #1890FF; +} +.container .shape.shape2 { + right: 0; + background-color: #91CB74; +} +.container .shape.shape3 { + bottom: 0; + background-color: #FAC858; +} +.container .shape.shape4 { + bottom: 0; + right: 0; + background-color: #EE6666; +} + +.loading3 .shape1 { + -webkit-animation: animation3shape1 0.5s ease 0s infinite alternate; + animation: animation3shape1 0.5s ease 0s infinite alternate; +} + +@-webkit-keyframes animation3shape1 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(5px, 5px); + transform: translate(5px, 5px); + } +} + +@keyframes animation3shape1 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(5px, 5px); + transform: translate(5px, 5px); + } +} +.loading3 .shape2 { + -webkit-animation: animation3shape2 0.5s ease 0s infinite alternate; + animation: animation3shape2 0.5s ease 0s infinite alternate; +} + +@-webkit-keyframes animation3shape2 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(-5px, 5px); + transform: translate(-5px, 5px); + } +} + +@keyframes animation3shape2 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(-5px, 5px); + transform: translate(-5px, 5px); + } +} +.loading3 .shape3 { + -webkit-animation: animation3shape3 0.5s ease 0s infinite alternate; + animation: animation3shape3 0.5s ease 0s infinite alternate; +} + +@-webkit-keyframes animation3shape3 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(5px, -5px); + transform: translate(5px, -5px); + } +} + +@keyframes animation3shape3 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(5px, -5px); + transform: translate(5px, -5px); + } +} +.loading3 .shape4 { + -webkit-animation: animation3shape4 0.5s ease 0s infinite alternate; + animation: animation3shape4 0.5s ease 0s infinite alternate; +} + +@-webkit-keyframes animation3shape4 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(-5px, -5px); + transform: translate(-5px, -5px); + } +} + +@keyframes animation3shape4 { + from { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + } + to { + -webkit-transform: translate(-5px, -5px); + transform: translate(-5px, -5px); + } +} +</style> -- Gitblit v1.9.3