1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | home
- |--------------------------------------------------------------------------
- */
- include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'inc/head.php');
- include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'inc/foot.php');
- $view
-
- ->loop
- (
- '.sidebar-blog-categories li',
- 'main/data.service_cate_list',
- array
- (
- 'a' => array
- (
- 'html' => '$v.name',
- 'href' => '$v.link',
- )
- )
- )
- ->loop
- (
- '.services-company .col-md-4',
- 'main/data.service_list',
- array
- (
- 'h4' => '$v.name',
- 'p' => '$v.desc',
- '.link' => array
- (
- 'style' => 'display:none',
- ),
- 'img' => array
- (
- 'src' => '$v.cover',
- 'alt' => '$v.name',
- ),
- 'a' => array
- (
- 'href' => '$v.link',
- 'title' => '$v.name',
- ),
- )
- )
- ->fetch('.title', 'main/data.service_cate_info#name')
- ->fetch('.description', 'main/data.service_cate_info#desc')
- ->fetch('.page-title@style', 'main/data.service_cate_info#background')
- ->fetch(array('.child a', 0), 'main/data.service_cate_info#name')
- ->fetch(array('.child a@href', 0), '#')
- ->fetch(array('.parent a', 0), 'main/data.config#link_name')
- ->fetch(array('.parent a@href', 0), 'main/data.config#link')
- # display
- ->display();
-
|