提交 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
box-sizing: border-box;
-webkit-tap-highlight-color:transparent;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling : touch;
// overflow-scrolling : touch;
overflow: auto;
&:hover{
outline: none;
}
......
......@@ -141,9 +141,9 @@ export default {
},
beforeMount() {
let appBody = document.getElementById('appBody')
appBody.style.overflow = 'hidden'
appBody.style.height = '100%'
// let appBody = document.getElementById('appBody')
// appBody.style.overflow = 'hidden'
// appBody.style.height = '100%'
},
mounted(){
window.addEventListener('scroll', this.scrollFun);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册