set('name', 'blog') ->set('title', 'content/lib/cate.getInfo#name') ->import('inc/head') ->loop ( '.blogs li', 'content/lib/article.getAll', array ( 'a|0' => array ( 'href' => '$v.link', 'title' => '$v.name', 'target' => '', 'img' => array ( 'src' => '$v.pic_cover', 'alt' => '$v.name', ), 'h2' => array ( 'html' => '$v.name', ), ), 'p' => array ( 'html' => '$v.desc', ), '.blogs_time' => array ( 'html' => '$v.cdate', ), '.blogs_onclick' => array ( 'html' => '$v.num_view', ), 'a|1' => array ( 'href' => '$v.link', 'title' => '$v.name', 'target' => '', ), ) ) ->fetch('.epages','<{Dever::page("current")}>') ->import('inc/right') ->import('inc/foot') # display ->display();