src/components/BaseNav/PublicBounced/PublicBounced.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/SolidWaste/directive/dir.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/BaseNav/PublicBounced/PublicBounced.vue
@@ -117,6 +117,8 @@ <style lang="less" scoped> .public-bounced { width: 75%; //height: 540px; height: 65%; z-index: 999; position: absolute; bottom: 5%; @@ -141,6 +143,7 @@ color: white; margin: 0 15px; font-size: 22px; cursor: pointer; } } src/components/BaseNav/SolidWaste/directive/dir.js
@@ -15,7 +15,7 @@ el.onmousedown = function (e) { var distX = e.pageX - el.offsetLeft var distY = e.pageY - el.offsetTop console.log('元素本身的高:' + el.clientHeight + ',元素本身的宽:' + el.clientWidth) // console.log('元素本身的高:' + el.clientHeight + ',元素本身的宽:' + el.clientWidth) if (e.preventDefault) { e.preventDefault()