<script type="text/javascript">
//简介字符串截取
function infoSub(thisId,needLeng){
var id = document.getElementById(thisId);
var nowLeng = id.innerHTML.length;
if(nowLeng > needLeng){
var nowWord = id.innerHTML.substr(0,needLeng)+'...';
id.innerHTML = nowWord;
}
}
jQuery(document).ready(function(){
infoSub('service_info',20);
})
</script>