From 286f1b727856d6b32a8d237f353ae008f3076deb Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 11 三月 2025 17:48:15 +0800
Subject: [PATCH] feat: 接口对接
---
packages/components/src/Card/TaskPrice.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/packages/components/src/Card/TaskPrice.vue b/packages/components/src/Card/TaskPrice.vue
index b359093..922f437 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>
@@ -12,6 +12,7 @@
type Props = {
value?: number;
+ 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