1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | home
- |--------------------------------------------------------------------------
- */
- $view
- ->fetch('.layui-fluid@test', '公告')
- ->fetch('#url', 'var url="<{Dever::url("journal/lib/manage.updateJournalContent")}>"')
- ->loop
- (
- '.layui-col-md2',
- 'journal/lib/manage.journalContent',
- 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}>',
- ),
- '.oper_delete' => array
- (
- 'href' => '<{$v.delete}>',
- ),
- '.text' => array
- (
- 'html' => '<{$v.text}>',
- ),
- 'b' => array
- (
- 'html' => '<{$v.typename}>',
- ),
- )
- )
- # display
- ->display();
|