From 1e5646aadae902d9f9043cc0d79395bf6b06a38c Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期一, 21 四月 2025 14:46:59 +0800
Subject: [PATCH] feat: 完成框架
---
src/pages/production/components/ProductionCard.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/pages/production/components/ProductionCard.vue b/src/pages/production/components/ProductionCard.vue
index b63f378..b9e1236 100644
--- a/src/pages/production/components/ProductionCard.vue
+++ b/src/pages/production/components/ProductionCard.vue
@@ -1,9 +1,11 @@
<template>
<wd-row>
- <wd-col v-for="(item, index) in data" :key="index" :span="12" class="my-1">
- <view class="flex justify-between pr-1">
- <view class="text-[#646874]">{{ item.label }}</view>
- <view class="font-medium" :style="{ color: color }">{{ item.value }}</view>
+ <wd-col v-for="(item, index) in data" :key="index" :span="item.span ?? 12" class="my-1">
+ <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 }}
+ </view>
</view>
</wd-col>
</wd-row>
--
Gitblit v1.9.3