Authored by 2586703@qq.com

首页截字插件

... ... @@ -111,7 +111,7 @@
<h2 class="volupia">
<a href="/news/detail/id/169">test</a>
</h2>
<p>content</p>
<p class="text-content">content content content content content content content content content content content content content content content content content</p>
<p class="time">2014.07.25</p>
</div>
</div>
... ...
... ... @@ -218,9 +218,9 @@ define('channel', function(require, exports) {
});
mlellipsis.init();
$('.text-content').each(function()) {
$('.text-content').each(function() {
$(this)[0].mlellipsis(2);
}
});
};
//品牌
... ...