提交 b3dc0c06 编写于 作者: 杨广俊's avatar 杨广俊

-webkit-overflow-scrolling : touch;

上级 2422b3a6
...@@ -18,6 +18,9 @@ body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, l ...@@ -18,6 +18,9 @@ body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, l
box-sizing: border-box; box-sizing: border-box;
-webkit-tap-highlight-color:transparent; -webkit-tap-highlight-color:transparent;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling : touch;
// overflow-scrolling : touch;
overflow: auto;
&:hover{ &:hover{
outline: none; outline: none;
} }
......
...@@ -141,9 +141,9 @@ export default { ...@@ -141,9 +141,9 @@ export default {
}, },
beforeMount() { beforeMount() {
let appBody = document.getElementById('appBody') // let appBody = document.getElementById('appBody')
appBody.style.overflow = 'hidden' // appBody.style.overflow = 'hidden'
appBody.style.height = '100%' // appBody.style.height = '100%'
}, },
mounted(){ mounted(){
window.addEventListener('scroll', this.scrollFun); window.addEventListener('scroll', this.scrollFun);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册