This commit is contained in:
pengxiaolong
2025-05-13 19:39:53 +08:00
parent 37da6765b8
commit c006a8e63d
1232 changed files with 96963 additions and 883 deletions

View File

@@ -0,0 +1,2 @@
import Loading from './index.vue';
export default Loading;

View File

@@ -0,0 +1,47 @@
<template>
<div
class="tui-loading"
:style="{
width: props.width,
height: props.height,
border: `2px solid ${props.color}`,
borderTopColor: 'transparent',
}"
/>
</template>
<script setup lang="ts">
const props = defineProps({
width: {
type: String,
default: '30px',
},
height: {
type: String,
default: '30px',
},
color: {
type: String,
default: '#D9D9D9',
},
});
</script>
<style scoped lang="scss">
.tui-loading {
width: 30px;
height: 30px;
border: 2px solid #d9d9d9;
border-top-color: transparent;
border-radius: 100%;
animation: circle infinite 0.75s linear;
}
@keyframes circle {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
</style>