set('name', 'search') ->set('title', 'content/lib/search.getInfo#name') ->import('inc/head') ->fetch('strong','content/lib/search.getInfo#name') ->loop ( '.blogs_search li', 'content/lib/search.getAll', array ( 'a|0' => array ( 'href' => '$v.link', 'title' => '$v.info.name', 'target' => '', 'html' => '$v.info.name', ), 'p' => '$v.info.desc', 'a|1' => array ( 'href' => '$v.cate_link', 'title' => '$v.cate_name', 'target' => '', 'html' => '$v.cate_name', ), '.color_green' => '<{$v.link}> - <{$v.cdate}>', ) ) ->fetch('.epages','<{Dever::page("current")}>') # 推荐 ->loop ( '.isgood_news li', 'main/api.push|key=home_tuijian&name=推荐阅读', array ( 'a' => array ( 'href' => '$v.link', 'title' => '$v.name', 'target' => '', 'img' => array ( 'src' => '$v.pic', 'alt' => '$v.name', ), 'em' => array ( 'html' => '<{$k+1}>', ), 'p' => array ( 'html' => '$v.name', ), 'span' => array ( 'class' => 'star5' ) ), ) ) ->fetch('.isgood_news@style', 'main/api.push?key=home_tuijian&name=推荐阅读', 'none') ->fetch('.isgood_news .h_title', '推荐阅读') ->import('inc/foot') # display ->display();