//初始化
new
navScroll({
nav1:
'.headv>div'
,
//导航对应的元素
nav2:
'.nav-list>div'
//监听的元素
checkClass:
'headv-check'
//选中的样式
});