set('name', 'video') ->set('title', '视频') ->import('inc/head') ->fetch('.videoposter img@src', 'main/content.home_video_first#pic') ->fetch('.videoplayer img@src', 'main/content.home_video_first#pic') ->fetch(array('.icon-play@data-url', 0), 'main/content.home_video_first#video_link') ->fetch(array('h3@html', 0), 'main/content.home_video_first#sname') ->fetch(array('p@html', 0), 'main/content.home_video_first#info') ->fetch(array('span@html', 0), 'main/content.home_video_first#pdate_string') ->fetch('.topic-video@style', 'main/content.home_video_first', 'none') ->loop ( '.video-recs li', 'main/content.news|type=3', array ( 'a|0' => array ( 'href' => '$v.link', 'title' => '$v.name', 'img' => array ( 'src' => '$v.pic', 'alt' => '$v.name', ), 'em' => array ( 'class' => 'a iconfont icon-play', 'data-title' => '$v.name', 'data-subtitle' => '$v.desc', 'data-desc' => '$v.info', 'data-by' => '$v.pdate_string', 'data-url' => '$v.video_link', ), ), 'a|1' => array ( 'href' => '$v.link', 'title' => '$v.name', 'html' => '$v.name', ), ) ) ->loop ( '.video-module dl', 'main/content.news|type=3', array ( 'a|1' => array ( 'href' => '$v.link', 'title' => '$v.name', 'img' => array ( 'src' => '$v.pic', 'alt' => '$v.name', ), 'em' => array ( 'class' => 'a iconfont icon-play', 'data-title' => '$v.name', 'data-subtitle' => '$v.desc', 'data-desc' => '$v.info', 'data-by' => '$v.pdate_string', 'data-url' => '$v.video_link', ), ), 'a|0' => array ( 'href' => '$v.link', 'title' => '$v.name', 'html' => '$v.name ."
". $v.desc', ), 'p' => array ( 'html' => '$v.info', ), 'span' => array ( 'html' => '$v.pdate_string', ), ) ) # 广告 ->loop ( '.ad-swiper .swiper-slide', 'main/content.ad|key=video_ad&name=视频广告', array ( 'a' => array ( 'href' => '$v.link', 'title' => '$v.name', ), 'img' => array ( 'src' => '$v.pic', 'alt' => '$v.name', ), ) ) ->fetch('.common-pagination', '<{Dever::pageInfo()["html"]}>') ->append('body', '
" dever-page-list=".dever-page">
') ->import('inc/foot') ->display();