曹睿
2025-04-18 60deadf038123d057c38f3ba8da48f8e2517806c
src/pages/production/components/ProductionCard.vue
@@ -1,9 +1,11 @@
<template>
  <wd-row>
    <wd-col v-for="(item, index) in data" :key="index" :span="item.span ?? 12" class="my-1">
      <view class="flex justify-between pr-1 w-full h-[20px]">
        <view class="text-[#646874]">{{ item.label }}</view>
        <view class="font-medium" :style="{ color: item.color ?? color }">{{ item.value }}</view>
      <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>