细节完善

This commit is contained in:
kron
2025-09-27 10:09:02 +08:00
parent f8bc5d094e
commit b75ab93af9
8 changed files with 124 additions and 63 deletions

View File

@@ -43,11 +43,13 @@ const ringText = (ring) => {
<view class="container">
<view>
<view v-for="(b, index) in bars" :key="index">
<text v-if="b && b.rate > 0.1">{{ Number(b.rate.toFixed(1)) }}%</text>
<text v-if="b && b.rate * 100 > 0.1">
{{ Number((b.rate * 100).toFixed(1)) }}%
</text>
<view
:style="{
background: barColor(b.rate),
height: b.rate * 120 + 'rpx',
height: b.rate * 300 + 'rpx',
}"
>
</view>