代码
var homescroll = mui("#homehh")[0];
console.log(JSON.stringify(homescroll.style))
安卓真机调试console.log 得到的数据 "top":"","touchAction":"","transform":"","transformOrigin":"","transformStyle":"","transition":"","transitionDelay":"","transitionDuration":"","transitionProperty":"","
浏览器console.log 得到的数据
"top":"","touchAction":"","transform":"translate3d(0px, -362px, 0px) translateZ(0px)","transformOrigin":"","transformStyle":"","transition":"","transitionDelay":"","transitionDuration":"0ms","transitionProperty":"","
transform":"translate3d(0px, -362px, 0px) 浏览器这里明明是有值的
求解
1***@163.com (作者)
谢谢 再请问一下property应该怎么填
2016-11-29 10:19