@ -6,7 +6,7 @@
<span>{{ item.label }}: </span>
<span>
<slot :name="`form-${item.key}`" :data="cardData">
{{ getValue(item.key) }}
{{ getValue(item.key) }}{{ item.suffix }}
</slot>
</span>
</p>
@ -101,7 +101,8 @@ export default {
},
{
key: "mileage",
label: "路段里程"
label: "路段里程",
suffix: "km"
}
],
// data: Array.from({ length: 20 }).map(() => ({
@ -213,11 +214,11 @@ export default {
line-height: 16px;
span:first-child {
color: rgba(0, 179, 204, 1)#000;
color: #FFDB82;
span:last-child {
color: rgba(217, 0, 27, 1)
color: #00EBC1;