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();