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;