UI界面模拟shadcn admin效果
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div class="state state-loading">
|
||||
<el-skeleton :rows="rows" animated />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
rows?: number;
|
||||
}>(),
|
||||
{
|
||||
rows: 4,
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.state-loading {
|
||||
padding: 24px;
|
||||
border: 1px solid var(--ctms-border-color);
|
||||
border-radius: var(--ctms-radius);
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user