feat:添加按钮点击效果

This commit is contained in:
2025-06-12 17:08:32 +08:00
parent 3291a727b2
commit 02df74f35f
12 changed files with 83 additions and 20 deletions
-1
View File
@@ -19,7 +19,6 @@ function calculateCircleCenters(
const requiredSpace = 2 * radius * circleCount;
const spaceBetween =
(availableWidth - requiredSpace) / (circleCount - 1);
console.log('spaceBetween---:', spaceBetween);
if (spaceBetween > maxSpacing) {
// 超过最大间距时,固定间距并居中对齐