This commit is contained in:
Xuan Loi
2026-01-09 17:25:23 +07:00
commit ae1ea57130
315 changed files with 57694 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<template>
<span :style="{ color: color }">{{ text }}</span>
</template>
<script setup>
const props = defineProps({
text: { type: String, required: true },
color: { type: String, default: "#000" }
})
</script>

View File

@@ -0,0 +1,10 @@
<template>
<span :style="color? `color:${color}` : ''">{{ $dayjs(date).format('DD/MM/YYYY') }}</span>
</template>
<script setup>
const { $dayjs } = useNuxtApp()
const props = defineProps({
date: String,
color: String
})
</script>

View File

@@ -0,0 +1,10 @@
<template>
<span :style="color? `color:${color}` : ''">{{ $numtoString(value) }}</span>
</template>
<script setup>
const { $numtoString } = useNuxtApp()
const props = defineProps({
value: Number,
color: String
})
</script>

View File

@@ -0,0 +1,10 @@
<template>
<span :style="color? `color:${color}` : ''">{{ $numtoString(value) }}</span>
</template>
<script setup>
const { $numtoString } = useNuxtApp()
const props = defineProps({
value: Number,
color: String
})
</script>