Authored by tmq

详情页

... ... @@ -604,7 +604,7 @@ define('yohood', function(require, exports) {
var recom = '';
var hotVideo = '';
var lastNews = '';
var template = function(topic, img, url, isVideo, isTitleStyle, title, imgStyle) {
var template = function(topic, img, url, isVideo, isTitleStyle, title, imgStyle,create_time) {
var playIcon = '';
var titleStyle = '';
var title = $('<p>' + title + '</p>').text();
... ... @@ -619,6 +619,7 @@ define('yohood', function(require, exports) {
'<h2 {titleStyle}>' +
'<a href="' + url + '" title="' + title + '" target="_blank">' + topic + '</a>' +
'</h2>' +
'<p class="time">+create_time+</p>'+
'</div>' +
'</div>';
if (isVideo == 2) //侧边视频
... ...
... ... @@ -4,7 +4,10 @@
<div class="detail-title">
<h2><?php echo $this->view->info['title']?></h2>
<!-- <h3>潮流嘉年华</h3> -->
<p class="time"><?php echo date('Y.m.d', $this->view->info['create_time']);?></p>
<div class="item-info">
<a class="fluid-tag item-tag brand-info" href="javascript:;">品牌资讯</a>
<span class="item-time"><?php echo date('Y.m.d', $this->view->info['create_time']);?></span>
</div>
</div>
<div class="detail-body">
<?php if(!empty($this->view->info['pics'])):?>
... ...