...
|
...
|
@@ -635,6 +635,7 @@ define('yohood', function(require, exports) { |
|
|
var template = function(topic, img, url, isVideo, isTitleStyle, title, imgStyle,create_time) {
|
|
|
var playIcon = '';
|
|
|
var titleStyle = '';
|
|
|
var d = new Date(create_time);
|
|
|
var type='<span class="item-time"><?php $en = array("01"=>"January","02"=>"February","03"=>"March","04"=>"April","05"=>"May","06"=>"June","07"=>"July","08"=>"August","09"=>"September","10"=>"October","11"=>"November","12"=>"December");$m=date("m", '+create_time+');echo $en[$m]?> <?php ECHO $m=date("d.Y", '+create_time+')?></span>';
|
|
|
var title = $('<p>' + title + '</p>').text();
|
|
|
var html = '<div class="layout-item clearfix">' +
|
...
|
...
|
@@ -648,7 +649,7 @@ define('yohood', function(require, exports) { |
|
|
'<h2 {titleStyle}>' +
|
|
|
'<a href="' + url + '" title="' + title + '" target="_blank">' + topic + '</a>' +
|
|
|
'</h2>' +
|
|
|
'type' +
|
|
|
'<a>' + d + '</a>' +
|
|
|
'</div>' +
|
|
|
'</div>';
|
|
|
if (isVideo == 2) //侧边视频
|
...
|
...
|
|