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