1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | home
- |--------------------------------------------------------------------------
- */
- $view
- ->fetch('.layui-fluid@test', '公告')
- ->fetch('#url', 'var url="<{Dever::url("collection/lib/manage.updateContent")}>"')
- ->loop
- (
- '.layui-col-md2',
- 'collection/lib/manage.content',
- array
- (
- 'self' => array
- (
- 'id' => 'data-<{$v.id}>',
- ),
- 'b' => array
- (
- 'html' => '<{date("Y/m/d", $v.cdate)}>',
- 'html' => '',
- ),
- '.img' => array
- (
- 'style' => '<{$v.height}>',
- ),
- 'img' => array
- (
- 'src' => '<{$v.pic}>',
- 'width' => '150',
- ),
- '.info' => array
- (
- 'html' => '<{Dever::cut($v.name, 20)}>',
- 'style' => '<{$v.info_height}>',
- ),
- '.edit' => array
- (
- //'onclick' => '<{$v.edit}>',
- 'href' => '<{$v.editurl}>',
- ),
- '.data_edit' => array
- (
- 'href' => '<{$v.data_editurl}>',
- 'button' => array
- (
- 'html' => '<{$v.data_name}>',
- )
- ),
- '.oper_delete' => array
- (
- 'href' => '<{$v.delete}>',
- ),
- '.text' => array
- (
- 'html' => '<{$v.text}>',
- ),
- 'b' => array
- (
- 'html' => '<{$v.type_name}>',
- ),
- )
- )
- # display
- ->display();
|