set('name', 'jd') ->set('title', '招贤纳士') ->import('inc/head') # 定义名称 ->fetch('body@t', '1') ->loop ( '.main dl', 'main/api.zhaopin', array ( 'h5' => '$v.name', 'span|0' => '$v.group_name', 'span|1' => '$v.type_name', 'span|2' => '$v.area', '.times' => '$v.cdate', 'div|3' => '$v.desc', 'div|4' => '$v.content', ) ) ->fetch('#page','<{Dever::page("current")}>') ->fetch(array('script@src', 1), Dever::assets('global.js')) ->fetch(array('script@src', 2), Dever::assets('<{(isset($name) ? $name : "index")}>.js', 'js')) # display ->display();