 
                         
                         更新时间:2018/6/27 上午10:02:54
更新说明:更改了调用方法,兼容ie6以及以上浏览器
标题置顶功能
$(".order-module").titleScrollTop({
    target: '.order-left', //需要定位的类名
    className: 'active', //滚动到顶部时添加的类名
    hideTarget: '.order-line', //置顶后需要隐藏的类名
    beforeTopStyle: { //滚动到顶部前的样式  top值默认已存在,如果传入top则替换掉默认的top值
        position: 'relative',
        left: 'auto',
        marginLeft: 'auto',
    },
    topedStyle: { //滚动到顶部后的样式 top值默认已存在,如果传入top则替换掉默认的top值
        position: 'fixed',
        left: '50%',
        marginLeft: '-502px',
    }
});