1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | index 登录后的主页
- |--------------------------------------------------------------------------
- */
- $view
- #->fetch('.name', '<{Maze::load("/config-one#name", 1)}>')
- ->fetch('.prompt@check', '<{Maze::load("company/info.check")}>')
- ->fetch('.name@style', 'display:none;')
- ->fetch('.company', '<{Maze::load("company/info.company#name")}>')
- ->fetch('.welcome', '<{Maze::load("company/info.user#username")}>,您好!')
- ->fetch('.user-out-btn@href', '<{Maze::url("company/user.quit")}>')
- ->fetch('.welcome@style', 'display:none;')
- ->fetch('.user-btn@style', 'display:none;')
- ->fetch('.user-setting-btn@href', '<{Maze::url("my/set")}>')
-
- ->fetch
- (
- '.service-list a',
- 'company/info.service',
- array
- (
- 'self' => array
- (
- 'html' => '<{$v.name}>',
- 'href' => '<{$v.link}>',
- 'class' => 'service-item index-<{$v.key}>',
- ),
- )
- )
- ->fetch
- (
- '.device-list a',
- 'company/info.park',
- array
- (
- 'self' => array
- (
- 'html' => '<{$v.name}>',
- 'href' => '<{Maze::load("company/info.park_url", $v)}>',
- 'class' => 'device-item <{$v.type == 4 ? "index-two" : "index-three"}>',
- //'target' => '_blank',
- ),
- )
- )
- ->fetch('.prompt', 'company/info.notice')
- ->fetch('.index-question@href', '<{Maze::url("question")}>')
- ->fetch(array('.footer a@class', 3), 'active')
- ->fetch('.prompt@style', '<{Maze::load("company/info.notice") ? "" : "border:0px;height:auto;"}>');
- include('inc/foot.php');
- include('inc/common.php');
|