We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我放大缩小后,doubleTap方法里边设置宽高起始点,不起作用 doubleTap: function (evt) { console.log('doubleTap',evt.target.id.charAt(evt.target.id.length-1,1)); let nowId = evt.target.id.charAt(evt.target.id.length-1,1); // alert(list[nowId].x); document.getElementById("rotateImg"+nowId+"").style.left=list[nowId].x+"rem"; document.getElementById("rotateImg"+nowId+"").style.top=list[nowId].y+"rem"; document.getElementById("rotateImg"+nowId+"").style.width=list[nowId].width+"rem"; document.getElementById("rotateImg"+nowId+"").style.height=list[nowId].height+"rem"; alert($("#rotateImg"+nowId+"").css('height'));
// $('.img').css('z-index','6'); },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我放大缩小后,doubleTap方法里边设置宽高起始点,不起作用
doubleTap: function (evt) {
console.log('doubleTap',evt.target.id.charAt(evt.target.id.length-1,1));
let nowId = evt.target.id.charAt(evt.target.id.length-1,1);
// alert(list[nowId].x);
document.getElementById("rotateImg"+nowId+"").style.left=list[nowId].x+"rem";
document.getElementById("rotateImg"+nowId+"").style.top=list[nowId].y+"rem";
document.getElementById("rotateImg"+nowId+"").style.width=list[nowId].width+"rem";
document.getElementById("rotateImg"+nowId+"").style.height=list[nowId].height+"rem";
alert($("#rotateImg"+nowId+"").css('height'));
The text was updated successfully, but these errors were encountered: