From 719191eede701c122f2afc2e8c0c76da201eb1cb Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 08 八月 2025 16:56:08 +0800 Subject: [PATCH] fix: 任务详情 --- 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