wupengfei
5 天以前 676578f3be736ef109d1c8a15da265a62c66ba04
packages/components/src/Card/TaskPrice.vue
@@ -1,7 +1,7 @@
<template>
  <div class="task-price">
    <div class="task-price-decimal">55</div>
    <div class="task-price-unit">元/小时</div>
    <div class="task-price-decimal">{{ value }}</div>
    <div class="task-price-unit">{{ unit }}</div>
  </div>
</template>
@@ -11,7 +11,8 @@
});
type Props = {
  value?: number;
  value?: number | string;
  unit?: string;
};
const props = withDefaults(defineProps<Props>(), {});
@@ -29,6 +30,7 @@
    font-size: 32px;
    line-height: 40px;
    margin-right: 8px;
    font-weight: 600;
  }
  .task-price-unit {