1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| <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>
| </view>
| </wd-col>
| </wd-row>
| </template>
|
| <script lang="ts" setup>
| defineProps({
| data: {
| type: Array as any,
| default: () => {
| return [];
| },
| },
| color: {
| type: String,
| default: "#333333",
| },
| });
| </script>
|
|