| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | 
							- <?php
 
- /*
 
- |--------------------------------------------------------------------------
 
- | 头部
 
- |--------------------------------------------------------------------------
 
- */
 
- $view
 
- ->fetch('#top', 'manage/menu.getTop') 
 
- ->fetch('#load_style', 'manage/database.res#css')
 
- ->fetch('#nav@style', '<{Dever::load("manage/auth.loading") ? "display:none;" : ""}>')
 
- # 定义名称
 
- ->fetch('#dever-name', 'manage/auth.config#title')
 
- ->fetch('#manage-name', 'manage/auth.info#username')
 
- ->fetch('#logout-url@href', 'manage/menu.link#logout')
 
-  
 
- //->fetch('#edit@href', 'edit')
 
- ->fetch('#front-url a@href', 'manage/auth.config#front_url')
 
- ->fetch('#front-url a@title', 'manage/auth.config#front_name')
 
- ->fetch('#front-url@style', 'manage/auth.config#front_display')
 
- ->loop
 
- (
 
-     '.auth-top li',
 
-     'manage/company.getList',  
 
-     array
 
-     ( 
 
-         
 
-         'a' => array 
 
-         (
 
-             'html' => '$v.name',
 
-             'data-id' => '$v.id',
 
-             'onclick' => 'topCMenu($(this))',
 
-         )
 
-     )
 
- )
 
- ->fetch('.auth-top span', 'manage/company.getCur', 'none')
 
- ->fetch('.auth-top@style', '<{Dever::load("manage/company.getCur") ? "" : "display:none;"}>')
 
- # display
 
- ->display();
 
 
  |