feat: reoede web to tailwindcss

This commit is contained in:
engigu
2025-08-10 14:32:24 +08:00
parent 0a12a25473
commit d557547bc0
192 changed files with 9624 additions and 9694 deletions
@@ -0,0 +1,32 @@
<template>
<Card class="w-full">
<CardHeader class="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle class="text-sm font-medium text-muted-foreground">
{{ title }}
</CardTitle>
<component :is="icon" class="h-5 w-5 text-muted-foreground" />
</CardHeader>
<CardContent>
<div class="text-2xl font-bold">{{ value }}</div>
<p class="text-xs text-muted-foreground">{{ description }}</p>
</CardContent>
</Card>
</template>
<script setup lang="ts">
import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"
import type { Component } from 'vue'
defineProps<{
title: string
value: string | number
description?: string
icon?: Component
}>()
</script>
<script lang="ts">
export default {
name: 'CardNum'
}
</script>