Initial commit

This commit is contained in:
natuka committed 2025-06-05 09:25:26 +08:00
commit 84061c9a18
243 files changed
+63148

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
<script lang="tsx" setup name="sw-loading">
const props = defineProps({
loading: {
type: Boolean,
default: false,
},
})
</script>
<template>
<van-overlay :show="props.loading">
<div class="wrapper" @click.stop>
<van-loading type="spinner" />
</div>
</van-overlay>
</template>
<style lang="less" scoped>
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</style>