set('name', 'contact') ->set('title', '联系我们') ->import('inc/head') # 定义名称 ->fetch('body@t', '1') ->fetch('.sub-t', 'main/api.config#contact_desc') ->fetch('.address iframe@src', 'main/api.config#contact_address_map') ->fetch('.address-text i', 'main/api.config#contact_address') ->loop ( '.contact-list dl', 'main/api.contact', array ( 'b|0' => '$v.info', 'b|1' => '$v.name', 'img' => array ( 'src' => '$v.avatar', ), 'i' => '$v.contact', ) ) ->import('inc/foot') # display ->display();