固定距离

1.首先获取window的宽度。获取到固定物体距离左边的距离就可以了。

原文地址:https://www.cnblogs.com/xinkun/p/7840370.html