如上图,在使用Vant组件导航栏时,下方会有白线,但有时是不需要它的,下面是去掉白线的方法: // 去掉导航栏底部白线 .van-hairline--bottom:after { border-bottom-width: 0; }