12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | index 登录后的主页
- |--------------------------------------------------------------------------
- */
- $view
- #->fetch('.name', '<{Maze::load("/config-one#name", 1)}>')
-
- ->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('.prompt@style', '<{Maze::load("company/info.notice") ? "" : "border:0px;height:auto;"}>')
- ->fetch('.area select', 'company/info.farm#option')
- ->fetch('.area .weather', 'company/info.farm#weather')
- ->fetch('.area select@maze-change', '<{Maze::url("index?farm=", "main")}>')
- ->fetch('.area select@class', 'maze-change')
- ->fetch('.area select@maze-value', '<{Maze::input("farm")}>');
- include('inc/common.php');
|