样式调整

This commit is contained in:
kron
2025-09-29 11:14:49 +08:00
parent 301b7a67a0
commit ca399ffc19

View File

@@ -87,7 +87,7 @@ const loadData = async () => {
range: [0, 1], // 适配0-1坐标范围 range: [0, 1], // 适配0-1坐标范围
gridSize: 150, // 更高的网格密度,减少锯齿 gridSize: 150, // 更高的网格密度,减少锯齿
bandwidth: 0.15, // 稍小的带宽,让热力图更细腻 bandwidth: 0.15, // 稍小的带宽,让热力图更细腻
showPoints: true, // 显示白色原始数据点 showPoints: false, // 显示白色原始数据点
} }
); );
heatMapImageSrc.value = imagePath; // 存储生成的图片地址 heatMapImageSrc.value = imagePath; // 存储生成的图片地址
@@ -263,7 +263,7 @@ onShareTimeline(() => {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
top: 0; top: -1000px;
left: 0; left: 0;
z-index: 2; z-index: 2;
" "
@@ -409,15 +409,6 @@ onShareTimeline(() => {
top: 0; top: 0;
left: 0; left: 0;
} }
.heat-map > canvas {
position: absolute;
top: -1000px;
left: 0px;
width: 100%;
height: 100%;
z-index: 2;
}
.reward { .reward {
width: 100%; width: 100%;
display: flex; display: flex;