12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- # 后续添加:自定义的待办、快捷方式、数据概览、推荐列表等
- $view
- ->fetch('.dever-notice@style', 'manage/auth.notice', 'none')
- ->loop
- (
- '#dever-notice div',
- 'manage/auth.notice',
- array
- (
- 'a' => array
- (
- 'hrefs' => '<{Dever::url("notice?where_id=".$v.id."&where_config=".$v.config)}>',
- 'href' => '#',
- 'target' => '_self',
- 'title' => '<{$v.name}>',
- 'html' => '<{$v.name}>',
- 'class' => 'layui-bg-red',
- 'style' => 'background-color: #FF5722!important;',
- ),
- )
- )
- ->fetch('#console_data@style', 'manage/console.data', 'none')
- ->loop
- (
- '#console_data li',
- 'manage/console.data',
- array
- (
- 'h3' => '<{$v.name}>',
- 'cite' => '<{$v.num}>',
- //'lay-href' => '<{$v.href}>',
- )
- )
- ->loop
- (
- '#console_system_data li',
- 'manage/console.system',
- array
- (
- 'h3' => '<{$v.name}>',
- 'cite' => '<{$v.num}>',
- //'lay-href' => '<{$v.href}>',
- )
- )
- ->fetch('#system_info', 'manage/auth.config#content')
- ->fetch('#system_title@lay-tips', 'manage/auth.config#title')
- ->fetch('#system_name', '<{Dever::config("base")->name}>V<{Dever::config("base")->version}>')
- ->fetch('#framework_name', 'Dever::config("base")->framework_name')
- ->fetch('#desc', 'Dever::config("base")->desc')
- ->fetch(array('#contact a@href', 0), 'Dever::config("base")->web')
- ->fetch(array('#contact a@href', 1), 'Dever::config("base")->github')
- # display
- ->display();
|