Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.6.1^2
zouap 3 years ago
parent
commit
3d9d9ef675
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      custom/public/rotation3D/rotation3D.js

+ 2
- 2
custom/public/rotation3D/rotation3D.js View File

@@ -154,7 +154,7 @@ var Rotation3D = window.Rotation3D = function (_opts) {
* y y起点 + (尺寸 * 正弦 * y压缩) - 元素宽度一半
*/
Rotation3D.prototype.itemStyle = function($item, index, rotation) {
console.log("itemStyle=" + rotate)
console.log("itemStyle=" + rotation + " index=" + index);
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("lineStyle=" + rotate)
console.log("lineStyle=" + rotation + " index=" + index);

$line.css({
transform: 'rotate(' + rotate + 'deg)',


Loading…
Cancel
Save