小程序

代码:

.course-list .list-wrap{    display: block;    width: 678rpx;    height: 353rpx;    margin: 0 auto;    margin-top: 91rpx;    overflow: hidden;    overflow-y: scroll;  }  ::-webkit-scrollbar {    width: 0;    height: 0;    color: transparent;  }

主要是 -webkit-scrollbar该css样式起到了作用。

TAG标签: 微信小程序滚动条隐藏

http://www.xiaochengxub.com/read-103359.html