收费总览

This commit is contained in:
zhouyanli
2026-08-10 14:34:59 +08:00
parent 5b23e48e2c
commit 2440eb7c53
3 changed files with 28 additions and 11 deletions

View File

@@ -20,7 +20,7 @@
</view>
</view>
<view class="parking-fee-right">
<qiun-data-charts type="arcbar" :chartData="parkingArcbarData" :opts="parkingArcbarOpts" />
<qiun-data-charts type="arcbar" :chartData="parkingArcbarData" :opts="parkingArcbarOpts" :animation="false" />
</view>
</view>
</view>
@@ -37,12 +37,12 @@ const props = defineProps({
})
const parkingArcbarData = computed(() => ({
series: [{ name: '实收占比', data: props.parkingArcbarPercent }]
series: [{ name: '实收占比', data: props.parkingArcbarPercent / 100 }]
}))
const parkingArcbarOpts = computed(() => ({
color: ["#4D5DFA"],
title: { name: Math.round(props.parkingArcbarPercent * 100) + '%', fontSize: 16, color: '#4D5DFA' },
title: { name: props.parkingArcbarPercent + '%', fontSize: 12, color: '#4D5DFA' },
subtitle: { name: '' },
extra: {
arcbar: {