细节完善

This commit is contained in:
kron
2025-10-31 10:22:02 +08:00
parent a8ee1f0be3
commit d9d1efa316
5 changed files with 16 additions and 7 deletions

View File

@@ -49,7 +49,8 @@ const ringText = (ring) => {
<view
:style="{
background: barColor(total === 0 ? b.rate : b.rate / total),
height: (total === 0 ? b.rate : b.rate / total) * 300 + 'rpx',
height:
Math.max((total === 0 ? b.rate : b.rate / total) * 240) + 'rpx',
}"
>
</view>