Authored by 周少峰

Merge branch 'release/4.5' of http://git.yoho.cn/fe/yohobuywap into release/4.5

... ... @@ -40,7 +40,6 @@
}
.owner-info {
border-bottom: 1px solid #e0e0e0;
line-height: 1.5;
}
.range{
... ...
... ... @@ -189,14 +189,8 @@ class IndexController extends AbstractAction
// 构建资讯文章内容
if (!empty($article['data']['list']['artList'])) {
$build = array();
// foreach ($article['data']['list']['artList'] as $article) {
// $build[] = Helpers::formatArticle($article, true, $isApp, false, $uid);
// }
foreach ($article['data']['list']['artList'] as $articlekey =>$article) {
$build[$articlekey] = Helpers::formatArticle($article, true, $isApp, false, $uid);
if($this->isApp()){
$build[$articlekey]['collect']['url'] = Helpers::url('/author/index', array('id' => $id), 'guang');
}
foreach ($article['data']['list']['artList'] as $article) {
$build[] = Helpers::formatArticle($article, true, $isApp, false, $uid);
}
$data['guang']['infos'] = $build;
}
... ...