help-index.page.js
726 Bytes
/**
* [帮助中心首页]
* @author: wsl(shuiling.wang@yoho.cn)
* @date: 2016/12/01
*/
var helpSearch = require('./help-search');
var problemBox = require('./help-common');
var Scroller = require('./scroller');
require('../common');
$(function() {
helpSearch.init();
problemBox();
$('.new-guide li').each(function(key, item) {
if (key % 6 === 0) {
$(item).css({
marginLeft: 0
});
}
});
$('.self-service li').each(function(key, item) {
if (key % 4 === 0) {
$(item).css({
marginLeft: 0
});
}
});
setTimeout(function() {
new Scroller('notice', 30, 5);
}, 5000);
});