v1.0.2发布,支持视频分析结果查看

This commit is contained in:
BBIT-Kai
2025-06-04 09:36:43 +08:00
parent a3f51dee7d
commit 89adaf02b9
62 changed files with 5975 additions and 4584 deletions
@@ -33,17 +33,22 @@ withDefaults(defineProps<Props>(), {
</CardHeader>
<CardContent class="flex items-center justify-between">
<VbenCountToAnimator
:end-val="item.value"
:start-val="1"
class="text-xl"
prefix=""
/>
<div class="text-xl">
<VbenCountToAnimator
v-if="typeof item.value === 'number'"
:end-val="item.value"
:start-val="1"
prefix=""
/>
<span v-else>{{ item.value }}</span>
</div>
<VbenIcon :icon="item.icon" class="size-8 flex-shrink-0" />
</CardContent>
<CardFooter class="justify-between">
<span>{{ item.totalTitle }}</span>
<VbenCountToAnimator
v-if="item.totalValue !== 0"
:end-val="item.totalValue"
:start-val="1"
prefix=""
@@ -5,7 +5,7 @@ interface AnalysisOverviewItem {
title: string;
totalTitle: string;
totalValue: number;
value: number;
value: number | string;
}
interface WorkbenchProjectItem {
@@ -5,8 +5,8 @@ interface Props {
}
withDefaults(defineProps<Props>(), {
height: '300px',
width: '100%',
height: '100%',
width: '98%',
});
</script>
@@ -36,7 +36,6 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
if (!isDark.value) {
return {};
}
return {
backgroundColor: 'transparent',
};