This commit is contained in:
2025-03-15 17:49:02 +08:00
parent da07ae2b29
commit 68d2508517
27 changed files with 1268 additions and 78 deletions

View File

@@ -0,0 +1,31 @@
<script setup>
const {color} = defineProps({
color: {
type: String,
default: 'red',
}
});
</script>
<template>
<div class="origin-tag">
<slot></slot>
</div>
</template>
<style lang="scss" scoped>
.origin-tag {
display: flex;
align-items: center;
gap: 8px;
&::before {
content: '';
display: block;
border-radius: 50%;
width: 6px;
aspect-ratio: 1 / 1;
background-color: v-bind(color);
}
}
</style>