...
|
...
|
@@ -99,8 +99,12 @@ class Controller_Default extends Controller_Abstract |
|
|
$page->setOptions(array('afterAppend' => 'setLayout'));
|
|
|
list($offset, $limit) = $page->getLimit();
|
|
|
$list = Facade_News::getList(array(), $offset, $limit, array('手机视频'));
|
|
|
$newtag=array("品牌资讯","活动介绍","亮点活动","限量商品");
|
|
|
foreach($list as $key=>$news){
|
|
|
$list[$key]['thumb']=Lib_Images::getImageUrl($news['thumb'], 'source','fragmentimg');
|
|
|
if(!in_array($news['tag'],$newtag)){
|
|
|
$list[$key]['tag']='品牌资讯';
|
|
|
}
|
|
|
}
|
|
|
$type = $this->_request->query('type', null);
|
|
|
if($type==1){
|
...
|
...
|
|