细节优化

This commit is contained in:
kron
2025-10-05 11:52:32 +08:00
parent 9f6e1b1e97
commit ce34ca93d1

View File

@@ -104,7 +104,7 @@ const loadData = async () => {
range: [0, 1], range: [0, 1],
gridSize: 120, // 更高的网格密度,减少锯齿 gridSize: 120, // 更高的网格密度,减少锯齿
bandwidth: 0.15, // 稍小的带宽,让热力图更细腻 bandwidth: 0.15, // 稍小的带宽,让热力图更细腻
showPoints: false showPoints: false,
} }
); );
heatMapImageSrc.value = finalPath; heatMapImageSrc.value = finalPath;
@@ -258,10 +258,10 @@ onShareTimeline(() => {
<view> <view>
<text>{{ <text>{{
data.yellowRate !== undefined data.yellowRate !== undefined
? Number(data.yellowRate * 100).toFixed(2) ? Number((data.yellowRate * 100).toFixed(2)) + "%"
: "-" : "-"
}}</text> }}</text>
<text>黄心率(%)</text> <text>黄心率</text>
</view> </view>
<view> <view>
<button hover-class="none" @click="startScoring"> <button hover-class="none" @click="startScoring">