|
@@ -120,6 +120,121 @@ class GuangController extends AbstractAction |
|
@@ -120,6 +120,121 @@ class GuangController extends AbstractAction |
120
|
*/
|
120
|
*/
|
121
|
public function editorAction()
|
121
|
public function editorAction()
|
122
|
{
|
122
|
{
|
|
|
123
|
+ $data = array(
|
|
|
124
|
+ 'guangListPage' => true,
|
|
|
125
|
+ 'guang' => array(
|
|
|
126
|
+ 'editor' => array(
|
|
|
127
|
+ 'avatar' => 'http://rescdn.yohoboys.com/res/new/boys/images/writer-head-icon.png',
|
|
|
128
|
+ 'name' => '潮流主编',
|
|
|
129
|
+ 'intro' => '日本设计界宗师',
|
|
|
130
|
+ 'info' => '设计理念:时尚,线条流畅',
|
|
|
131
|
+ ),
|
|
|
132
|
+ 'msgs' => array(
|
|
|
133
|
+ array(
|
|
|
134
|
+ 'id' => 1,
|
|
|
135
|
+ 'classification' => '话题',
|
|
|
136
|
+ 'isReco' => true,
|
|
|
137
|
+ 'href' => '',
|
|
|
138
|
+ 'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
139
|
+ 'isSquareImg' => true,
|
|
|
140
|
+ 'title' => '破旧除新!Publish完美释出2015最新春季[TheResistance]系列看看你很长的时候会不会分页啊,奇怪的人类',
|
|
|
141
|
+ 'author' => '大家玩看看作者名字 过长的情况显示是不是有问题呵呵哒哒哒',
|
|
|
142
|
+ 'editorHref' => '',
|
|
|
143
|
+ 'pTime' => '2015-03-08 15:33',
|
|
|
144
|
+ 'pView' => '225',
|
|
|
145
|
+ 'content' => '该类型 应用于多图形式。虽说洛杉矶街头品牌Publish是凭着设计一炮而红,跃升为近年人气品牌,但是该设计团队却打算你妹啊鬼知道你后面说什么但是要测试文字截取能不能成功,所以必须要把你写很长很长很长很长很长',
|
|
|
146
|
+ 'tags' => array(
|
|
|
147
|
+ array(
|
|
|
148
|
+ 'href' => '',
|
|
|
149
|
+ 'tag' => 'adidas OriginalsQ'
|
|
|
150
|
+ )
|
|
|
151
|
+ ),
|
|
|
152
|
+ 'like' => 0, //如果为0,不传
|
|
|
153
|
+ // 'liked' => false,
|
|
|
154
|
+ 'comment' => 20
|
|
|
155
|
+ )
|
|
|
156
|
+ ),
|
|
|
157
|
+ 'exRecos' => array(
|
|
|
158
|
+ array(
|
|
|
159
|
+ 'url' => '',
|
|
|
160
|
+ 'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
161
|
+ 'title' => '皇家蓝再现,New Balance 999 Elite文字描述长一点查看文字截取的功能'
|
|
|
162
|
+ )
|
|
|
163
|
+ ),
|
|
|
164
|
+ 'hotTags' => array(
|
|
|
165
|
+ array(
|
|
|
166
|
+ 'tagname' => 'LEE',
|
|
|
167
|
+ 'url' => ''
|
|
|
168
|
+ )
|
|
|
169
|
+ ),
|
|
|
170
|
+ 'ads' => array(
|
|
|
171
|
+ array(
|
|
|
172
|
+ 'url' => '',
|
|
|
173
|
+ 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/0240f288725106b408d8c524b4d0fba4b9.jpg'
|
|
|
174
|
+ )
|
|
|
175
|
+ ),
|
|
|
176
|
+ 'msgPager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="ifont10">></span></a>'
|
|
|
177
|
+ )
|
|
|
178
|
+ );
|
|
|
179
|
+ $this->_view->display('editor', $data);
|
|
|
180
|
+ }
|
123
|
|
181
|
|
|
|
182
|
+ /**
|
|
|
183
|
+ * 列表
|
|
|
184
|
+ */
|
|
|
185
|
+ public function listAction()
|
|
|
186
|
+ {
|
|
|
187
|
+ $data = array(
|
|
|
188
|
+ 'guangListPage' => true,
|
|
|
189
|
+ 'guang' => array(
|
|
|
190
|
+ 'tag' => '户外',
|
|
|
191
|
+ 'msgs' => array(
|
|
|
192
|
+ array(
|
|
|
193
|
+ 'id' => 1,
|
|
|
194
|
+ 'classification' => '话题',
|
|
|
195
|
+ 'isReco' => true,
|
|
|
196
|
+ 'href' => '',
|
|
|
197
|
+ 'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
198
|
+ 'isSquareImg' => true,
|
|
|
199
|
+ 'title' => '破旧除新!Publish完美释出2015最新春季[TheResistance]系列看看你很长的时候会不会分页啊,奇怪的人类',
|
|
|
200
|
+ 'author' => '大家玩看看作者名字 过长的情况显示是不是有问题呵呵哒哒哒',
|
|
|
201
|
+ 'editorHref' => '',
|
|
|
202
|
+ 'pTime' => '2015-03-08 15:33',
|
|
|
203
|
+ 'pView' => '225',
|
|
|
204
|
+ 'content' => '该类型 应用于多图形式。虽说洛杉矶街头品牌Publish是凭着设计一炮而红,跃升为近年人气品牌,但是该设计团队却打算你妹啊鬼知道你后面说什么但是要测试文字截取能不能成功,所以必须要把你写很长很长很长很长很长',
|
|
|
205
|
+ 'tags' => array(
|
|
|
206
|
+ array(
|
|
|
207
|
+ 'href' => '',
|
|
|
208
|
+ 'tag' => 'adidas OriginalsQ'
|
|
|
209
|
+ )
|
|
|
210
|
+ ),
|
|
|
211
|
+ 'like' => 0, //如果为0,不传
|
|
|
212
|
+ // 'liked' => false,
|
|
|
213
|
+ 'comment' => 20
|
|
|
214
|
+ )
|
|
|
215
|
+ ),
|
|
|
216
|
+ 'exRecos' => array(
|
|
|
217
|
+ array(
|
|
|
218
|
+ 'url' => '',
|
|
|
219
|
+ 'img' => 'http://img10.static.yhbimg.com/yhb-img01/2015/06/12/17/01437323c88bc61f26721a2ad91a2ba61a.png?imageView/2/w/640/h/640',
|
|
|
220
|
+ 'title' => '皇家蓝再现,New Balance 999 Elite文字描述长一点查看文字截取的功能'
|
|
|
221
|
+ )
|
|
|
222
|
+ ),
|
|
|
223
|
+ 'hotTags' => array(
|
|
|
224
|
+ array(
|
|
|
225
|
+ 'tagname' => 'LEE',
|
|
|
226
|
+ 'url' => ''
|
|
|
227
|
+ )
|
|
|
228
|
+ ),
|
|
|
229
|
+ 'ads' => array(
|
|
|
230
|
+ array(
|
|
|
231
|
+ 'url' => '',
|
|
|
232
|
+ 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/0240f288725106b408d8c524b4d0fba4b9.jpg'
|
|
|
233
|
+ )
|
|
|
234
|
+ ),
|
|
|
235
|
+ 'msgPager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="ifont10">></span></a>'
|
|
|
236
|
+ )
|
|
|
237
|
+ );
|
|
|
238
|
+ $this->_view->display('list', $data);
|
124
|
}
|
239
|
}
|
125
|
} |
240
|
} |