单向进度条的实现。

通过setInterval来实现宽度百分比的递加。

最后记得要删除interval。

原文地址:https://www.cnblogs.com/zzcflying/p/2789129.html