feat:【全局】融合下 common card 目录的功能
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// add by 芋艿:统计卡片,目前 mall 模块在使用
|
||||
export { default as StatisticCard } from './statistic-card.vue';
|
||||
export * from './types';
|
||||
|
||||
@@ -59,7 +59,9 @@ withDefaults(defineProps<StatisticCardProps>(), {
|
||||
{{ Math.abs(Number(percent ?? 0)).toFixed(2) }}%
|
||||
<VbenIcon
|
||||
:icon="
|
||||
Number(percent) > 0 ? 'lucide:trending-up' : 'lucide:trending-down'
|
||||
Number(percent) > 0
|
||||
? 'lucide:trending-up'
|
||||
: 'lucide:trending-down'
|
||||
"
|
||||
class="size-3"
|
||||
/>
|
||||
@@ -68,4 +70,3 @@ withDefaults(defineProps<StatisticCardProps>(), {
|
||||
</CardContent>
|
||||
</Card>
|
||||
</template>
|
||||
|
||||
@@ -14,4 +14,3 @@ export interface StatisticCardProps {
|
||||
/** 环比标签文本 */
|
||||
percentLabel?: string;
|
||||
}
|
||||
|
||||
@@ -11,8 +11,8 @@ export * from './json-viewer';
|
||||
export * from './loading';
|
||||
export * from './page';
|
||||
export * from './resize';
|
||||
export * from './statistic-card';
|
||||
export * from './summary-card';
|
||||
export * from './card/statistic-card';
|
||||
export * from './card/summary-card';
|
||||
export * from './tippy';
|
||||
export * from './tree';
|
||||
export * from '@vben-core/form-ui';
|
||||
|
||||
Reference in New Issue
Block a user