提交 687509bd 作者: 王磊

删除不用console

上级 b871ecb8
流水线 #10231 已失败 于阶段
...@@ -116,7 +116,6 @@ function start() { ...@@ -116,7 +116,6 @@ function start() {
window.event.cancelBubble = true window.event.cancelBubble = true
} }
mousemove (e) { mousemove (e) {
console.log(mobile.prototype.coordinate(event), 'zzzzzzzzzzzzz')
let str, xMin = 8, yMin = 8; let str, xMin = 8, yMin = 8;
let n = mobile.prototype.mousedownDom(event.target, "tagName", "SPAN") let n = mobile.prototype.mousedownDom(event.target, "tagName", "SPAN")
// 鼠标指针 // 鼠标指针
...@@ -303,7 +302,6 @@ function start() { ...@@ -303,7 +302,6 @@ function start() {
dis = mobile.prototype.angle(centerX, centerY, e.clientX, e.clientY) dis = mobile.prototype.angle(centerX, centerY, e.clientX, e.clientY)
if (debug) { if (debug) {
route.style.transform = `rotateZ(${parseInt(dis)}deg)` route.style.transform = `rotateZ(${parseInt(dis)}deg)`
console.log(route.offsetWidth/2, 'cccccccccc', route.offsetHeight/2)
let transform = window.getComputedStyle(route)['transform'], let transform = window.getComputedStyle(route)['transform'],
matrix = transform.slice(7, -1).split(',') matrix = transform.slice(7, -1).split(',')
let rotateWidth = rotateoffsetHeight * matrix[1] + rotateoffsetWidth * matrix[0] let rotateWidth = rotateoffsetHeight * matrix[1] + rotateoffsetWidth * matrix[0]
...@@ -313,7 +311,6 @@ function start() { ...@@ -313,7 +311,6 @@ function start() {
// storageMark.height = Math.abs(rotateHeight) // storageMark.height = Math.abs(rotateHeight)
route.style.width = Math.abs(rotateWidth) + "px" route.style.width = Math.abs(rotateWidth) + "px"
route.style.height = Math.abs(rotateHeight) + "px" route.style.height = Math.abs(rotateHeight) + "px"
console.log('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', route.offsetLeft)
} }
} }
// 计算两点的线在页面中的角度 // 计算两点的线在页面中的角度
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论