We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Welcome to the vue_blog wiki!
随着页面滚动而变化
document.body.onscroll = function() { var height = $(document).height(); var winH = $(window).height(); var scrollTop = $(window).scrollTop(); $('.state-bar').width(scrollTop/(height-winH) *100 +'%'); }