From afb6c45eec0084665bab9fe11b811d274a7ab2e7 Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 27 May 2022 20:35:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- custom/public/rotation3D/rotation3D.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom/public/rotation3D/rotation3D.js b/custom/public/rotation3D/rotation3D.js index 92e396695..f913b0a74 100644 --- a/custom/public/rotation3D/rotation3D.js +++ b/custom/public/rotation3D/rotation3D.js @@ -154,7 +154,7 @@ var Rotation3D = window.Rotation3D = function (_opts) { * y y起点 + (尺寸 * 正弦 * y压缩) - 元素宽度一半 */ Rotation3D.prototype.itemStyle = function($item, index, rotation) { - // console.log(rotation) + console.log("itemStyle=" + rotate) var parseSXY = circleMath.parseSXY(rotation, this); var scale = parseSXY.scale; var x = parseSXY.x; @@ -219,7 +219,7 @@ Rotation3D.prototype.itemStyle = function($item, index, rotation) { */ Rotation3D.prototype.lineStyle = function($line, index, rotation) { var rotate = circleMath.parseRotate(rotation, this) - // console.log(rotate) + console.log("lineStyle=" + rotate) $line.css({ transform: 'rotate(' + rotate + 'deg)', @@ -293,7 +293,7 @@ Rotation3D.prototype.scheduleNextFrame = function () { */ Rotation3D.prototype.render = function () { var self=this; - console.log("render...."); + // 图形间隔:弧度 var spacing = 2 * Math.PI / this.$item.length; var itemRotation = this.rotation;