diff --git a/bricks/utils.js b/bricks/utils.js index 1193962..d9cdfa4 100755 --- a/bricks/utils.js +++ b/bricks/utils.js @@ -248,8 +248,8 @@ var archorize = function(ele,archor){ ele.style.top = lt.top; ele.style.left = lt.left; var o = { - 'x':x, - 'y':y + 'x':lt.x, + 'y':lt.y } var tsf = bricks.obj_fmtstr(o, 'translateY(-${y}) translateX(-${x})'); ele.style.transform = tsf;