计算滚动轴宽度的时候 用offsetWidth-clientWidth的来计算 。offsetWidth不是还比clientWidth多了左右border的宽度吗 这个不需要考虑么
因为没有设置border的宽度,所以不需要考虑左右border的宽度