...
|
...
|
@@ -631,13 +631,13 @@ define('yohood', function(require, exports) { |
|
|
//热门视频
|
|
|
$.each(data.data.hotVideo, function(i, v) {
|
|
|
isTitleStyle = (v.main_title_type == 1) ? 1 : 0;
|
|
|
hotVideo += template(v.title, common.getImages(v.thumb, '0230x0230', 'blogimg', '1'),
|
|
|
hotVideo += template(tools.limitWords(v.title, 52), common.getImages(v.thumb, '0230x0230', 'blogimg', '1'),
|
|
|
'/news/detail/id/' + v.id, 2, isTitleStyle, v.title, '');
|
|
|
});
|
|
|
//最新视频
|
|
|
$.each(data.data.lastVideo, function(i, v) {
|
|
|
isTitleStyle = (v.main_title_type == 1) ? 1 : 0;
|
|
|
lastVideo += template(v.title, common.getImages(v.thumb, '0230x0230', 'blogimg', '1'),
|
|
|
lastVideo += template(tools.limitWords(v.title, 52), common.getImages(v.thumb, '0230x0230', 'blogimg', '1'),
|
|
|
'/news/detail/id/' + v.id, 2, isTitleStyle, v.title, '');
|
|
|
});
|
|
|
$(".post-list").html(recom);
|
...
|
...
|
|