set('name', 'agreement') ->set('title', 'main/view.page#name') ->import('inc/head') # 定义名称 ->fetch('body@t', '1') ->fetch('.tit h2', 'main/view.page#name') ->fetch(array('.main section', 1), 'main/view.page#content') ->fetch(array('script@src', 1), Dever::assets('global.js')) ->fetch(array('script@src', 2), Dever::assets('<{(isset($name) ? $name : "index")}>.js', 'js')) # display ->display();