微信小程序使用scroll-view,会有黑色边框,如下图所示 加上如下代码可以去掉 ::-webkit-scrollbar { width: 0; height: 0; color: transparent; }