// 汉字超出处理
function strOverflow(str, maxLen){
if(!str)return '';
if(str.length > maxLen){
return str.slice(0, maxLen) + '...';
}else{
return str;
}
};
strOverflow(data.result[i].opus_name || '', 16)
// 加载文件
function fileInclude(fileName, fn){
var locaName = location.pathname,
box = fileName.split('.')[0];
locaName = locaName.substr(0, locaName.indexOf('client')) + 'client/' + fileName;
$('#' + box).load(locaName, '', function(){
fn && fn();
// if(fileName.indexOf('header') > -1)personNum();
});
}