下载Clamp.js项目地址:https://github.com/josephschmitt/Clamp.js引入要使用文本,需要使用p标签进行span。//省略多行文字,兼容IE等浏览器varnewsSummary=$('.news-right-items-single-content-summary');对于(vari=0;i

下载Clamp.js项目地址:https://github.com/josephschmitt/Clamp.js引入要使用文本,需要使用p标签进行span。//省略多行文字,兼容IE等浏览器varnewsSummary=$('.news-right-items-single-content-summary');对于(vari=0;i