12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- $view
- # 设置head里的数据
- ->fetch('head', '<{Maze::view("inc/head")}>')
- ->fetch('.back@href', '<{Maze::url("index?farm=" . Maze::input("farm"))}>')
- ->fetch('.active a', '<{Maze::load("company/info.park_info#name")}>')
- ->fetch
- (
- '.footer a',
- 'company/info.park_menu',
- array
- (
- 'self' => array
- (
- 'html' => '<{$v.name}>',
- 'href' => '<{$v.link}><{Maze::input("header") ? "&header=false" : ""}>',
- 'class' => 'item <{$v.class}>',
- ),
- )
- )
- ->fetch('.footer@style', '<{Maze::input("header") ? "display:none;" : ""}>')
- ->fetch('.header@style', '<{Maze::input("header") ? "display:none;" : ""}>')
- ->fetch('#device_data@style', '<{Maze::input("header") ? "margin-top:20px" : ""}>')
- ->fetch(array('.title@style', 0), '<{Maze::input("header") ? (Maze::input("title") ? "" : "display:none;") : ""}>')
- ->fetch('.container@style', '<{Maze::input("header") ? (Maze::input("top") ? Maze::input("top") : "top:0;bottom:0") : Maze::input("top")}>')
- ->display();
|