set('name', 'album') ->set('title', 'content/lib/cate.getInfo#name') ->import('inc/head') ->fetch('.photos .h_title', 'content/lib/cate.getInfo#name') ->loop ( '.photos li', 'content/lib/album.getAll', array ( 'a' => array ( 'href' => '$v.link', 'title' => '$v.name', 'target' => '', 'img' => array ( 'src' => '$v.pic_cover', 'alt' => '$v.name', ), 'p' => array ( 'html' => '$v.name', ), 'span' => array ( 'html' => '<{$v.pic_num}> 图', ), ), ) ) ->fetch('.epages','<{Dever::page("current")}>') ->import('inc/foot') # display ->display();