style: 纸管重量计算页面布局调整

- 将结果由卡片式调整为列表式
This commit is contained in:
2025-12-01 15:30:40 +08:00
parent a5abfa5122
commit 6a214b3796
5 changed files with 98 additions and 16 deletions

View File

@ -0,0 +1,20 @@
<template>
<v-list-item>
<v-list-item-title class="text-h6 text-primary">
{{ value.value.toFixed(fixed ?? 2) }} {{ $t(`units.${value.unit}`) }}
</v-list-item-title>
<v-list-item-subtitle>
{{ label }}
</v-list-item-subtitle>
</v-list-item>
</template>
<script setup lang="ts">
import type { Param } from '@/types/param'
defineProps<{
label: string
value: Param
fixed?: number
}>()
</script>