代码优化

This commit is contained in:
kron
2025-09-30 16:47:00 +08:00
parent e636d02657
commit 1daa830ed0
3 changed files with 210 additions and 81 deletions

View File

@@ -46,7 +46,7 @@ onMounted(() => {
<text>{{ data.createAt }}</text>
</view>
<view>
<text>黄心率{{ Number(data.yellowRate.toFixed(2)) * 100 }}%</text>
<text>黄心率{{ data.yellowRate * 100 }}%</text>
<text>10环数{{ data.tenRings }}</text>
<text>平均{{ data.averageRing }}</text>
</view>
@@ -131,7 +131,7 @@ onMounted(() => {
width: 60px;
display: flex;
justify-content: center;
top: calc(50% - 11px);
top: calc(50% - 13px);
left: calc(50% - 30px);
}
.arrow-amount > text:nth-child(2) {