css 隐藏移动端滚动条
<template>
<div id="app">
<router-view />
</div>
</template
html::-webkit-scrollbar,
body::-webkit-scrollbar,#app::-webkit-scrollbar {
display: none;
}
html,
body,#app {
height: 100%;
overflow: hidden;
overflow-y: scroll;
/* 使得ios滑动流畅 */
-webkit-overflow-scrolling: touch;
}