Authored by hongweigao

修改文章日期

... ... @@ -239,9 +239,7 @@ const _proListHandler = (data, params) => {
url: helpers.urlFormat('/' + pro.data.id + '.html', {channel: params.channel}, 'guang'),
src: pro.data.src,
title: pro.data.title,
// publishTime: moment(pro.data.publish_time_long * 1000).format('YYYY年MM月DD HH:mm'),
publishTime: pro.data.publish_time,
publishTime: moment(parseInt(pro.data.publish_time_long)).format('YYYY年MM月DD HH:mm'),
num: pro.data.browse || 0
};
proObj.articalType = true;
... ...
... ... @@ -36,7 +36,7 @@
<div class="brand-info clearfix">
<p class="num-info">上新<span>{{newNum}}</span>&nbsp;&nbsp;<span>{{collNum}}</span>人收藏</p>
<span class="btn-tag tag-home">
<a href="{{url}}" target="_blank"><i class="iconfont">&#xe638;</i> <em>进入店铺</em></a>
<a href="{{url}}" target="_blank"><i class="iconfont">&#xe61a;</i> <em>进入店铺</em></a>
</span>
</div>
</div>
... ...