From c1196767c4407de5419b5bc970c3b300fb520905 Mon Sep 17 00:00:00 2001 From: liyong <18434998025@163.com> Date: 星期三, 23 四月 2025 10:12:02 +0800 Subject: [PATCH] feat: tiaozheng --- src/pages/production/components/ProductionCard.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/pages/production/components/ProductionCard.vue b/src/pages/production/components/ProductionCard.vue index b9e1236..cf16aae 100644 --- a/src/pages/production/components/ProductionCard.vue +++ b/src/pages/production/components/ProductionCard.vue @@ -4,7 +4,7 @@ <view class="flex justify-between w-full h-[20px]"> <view class="text-[#646874] pl-1">{{ item.label }}</view> <view class="font-medium pr-1" :style="{ color: item.color ?? color }"> - {{ item.value }} + {{ value[item.prop] }} </view> </view> </wd-col> @@ -19,6 +19,12 @@ return []; }, }, + value: { + type: Object, + default: () => { + return {}; + }, + }, color: { type: String, default: "#333333", -- Gitblit v1.9.3