From 17a3897c219b4d1348c01101ab7d25005384aedd Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 12 八月 2025 14:40:18 +0800
Subject: [PATCH] fix: 修改bug

---
 packages/components/src/Card/TaskPrice.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/packages/components/src/Card/TaskPrice.vue b/packages/components/src/Card/TaskPrice.vue
index b359093..3e8d8a2 100644
--- a/packages/components/src/Card/TaskPrice.vue
+++ b/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 {

--
Gitblit v1.9.1