...
|
...
|
@@ -77,9 +77,9 @@ class GuangController extends AbstractAction |
|
|
'tag' => 'adidas OriginalsQ'
|
|
|
)
|
|
|
),
|
|
|
'like' => 0,
|
|
|
'liked' => false,
|
|
|
'comment' => false
|
|
|
'like' => 0, //如果为0,不传
|
|
|
// 'liked' => false,
|
|
|
'comment' => 20
|
|
|
)
|
|
|
),
|
|
|
'exRecos' => array(
|
...
|
...
|
@@ -307,6 +307,121 @@ class GuangController extends AbstractAction |
|
|
*/
|
|
|
public function editorAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
'guangListPage' => true,
|
|
|
'guang' => array(
|
|
|
'editor' => array(
|
|
|
'avatar' => 'http://rescdn.yohoboys.com/res/new/boys/images/writer-head-icon.png',
|
|
|
'name' => '潮流主编',
|
|
|
'intro' => '日本设计界宗师',
|
|
|
'info' => '设计理念:时尚,线条流畅',
|
|
|
),
|
|
|
'msgs' => array(
|
|
|
array(
|
|
|
'id' => 1,
|
|
|
'classification' => '话题',
|
|
|
'isReco' => true,
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
'isSquareImg' => true,
|
|
|
'title' => '破旧除新!Publish完美释出2015最新春季[TheResistance]系列看看你很长的时候会不会分页啊,奇怪的人类',
|
|
|
'author' => '大家玩看看作者名字 过长的情况显示是不是有问题呵呵哒哒哒',
|
|
|
'editorHref' => '',
|
|
|
'pTime' => '2015-03-08 15:33',
|
|
|
'pView' => '225',
|
|
|
'content' => '该类型 应用于多图形式。虽说洛杉矶街头品牌Publish是凭着设计一炮而红,跃升为近年人气品牌,但是该设计团队却打算你妹啊鬼知道你后面说什么但是要测试文字截取能不能成功,所以必须要把你写很长很长很长很长很长',
|
|
|
'tags' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'tag' => 'adidas OriginalsQ'
|
|
|
)
|
|
|
),
|
|
|
'like' => 0, //如果为0,不传
|
|
|
// 'liked' => false,
|
|
|
'comment' => 20
|
|
|
)
|
|
|
),
|
|
|
'exRecos' => array(
|
|
|
array(
|
|
|
'url' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
'title' => '皇家蓝再现,New Balance 999 Elite文字描述长一点查看文字截取的功能'
|
|
|
)
|
|
|
),
|
|
|
'hotTags' => array(
|
|
|
array(
|
|
|
'tagname' => 'LEE',
|
|
|
'url' => ''
|
|
|
)
|
|
|
),
|
|
|
'ads' => array(
|
|
|
array(
|
|
|
'url' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/0240f288725106b408d8c524b4d0fba4b9.jpg'
|
|
|
)
|
|
|
),
|
|
|
'msgPager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="ifont10">></span></a>'
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('editor', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 列表
|
|
|
*/
|
|
|
public function listAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
'guangListPage' => true,
|
|
|
'guang' => array(
|
|
|
'tag' => '户外',
|
|
|
'msgs' => array(
|
|
|
array(
|
|
|
'id' => 1,
|
|
|
'classification' => '话题',
|
|
|
'isReco' => true,
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
'isSquareImg' => true,
|
|
|
'title' => '破旧除新!Publish完美释出2015最新春季[TheResistance]系列看看你很长的时候会不会分页啊,奇怪的人类',
|
|
|
'author' => '大家玩看看作者名字 过长的情况显示是不是有问题呵呵哒哒哒',
|
|
|
'editorHref' => '',
|
|
|
'pTime' => '2015-03-08 15:33',
|
|
|
'pView' => '225',
|
|
|
'content' => '该类型 应用于多图形式。虽说洛杉矶街头品牌Publish是凭着设计一炮而红,跃升为近年人气品牌,但是该设计团队却打算你妹啊鬼知道你后面说什么但是要测试文字截取能不能成功,所以必须要把你写很长很长很长很长很长',
|
|
|
'tags' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'tag' => 'adidas OriginalsQ'
|
|
|
)
|
|
|
),
|
|
|
'like' => 0, //如果为0,不传
|
|
|
// 'liked' => false,
|
|
|
'comment' => 20
|
|
|
)
|
|
|
),
|
|
|
'exRecos' => array(
|
|
|
array(
|
|
|
'url' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
'title' => '皇家蓝再现,New Balance 999 Elite文字描述长一点查看文字截取的功能'
|
|
|
)
|
|
|
),
|
|
|
'hotTags' => array(
|
|
|
array(
|
|
|
'tagname' => 'LEE',
|
|
|
'url' => ''
|
|
|
)
|
|
|
),
|
|
|
'ads' => array(
|
|
|
array(
|
|
|
'url' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/0240f288725106b408d8c524b4d0fba4b9.jpg'
|
|
|
)
|
|
|
),
|
|
|
'msgPager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="ifont10">></span></a>'
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('list', $data);
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|