console.php 608 B

123456789101112131415161718192021222324252627
  1. <?php
  2. # 后续添加:自定义的待办、快捷方式、数据概览、推荐列表等
  3. $view
  4. ->fetch('.dever-notice@style', 'manage/auth.notice', 'none')
  5. ->loop
  6. (
  7. '#dever-notice div',
  8. 'manage/auth.notice',
  9. array
  10. (
  11. 'a' => array
  12. (
  13. 'href' => '<{Dever::url("notice?where_id=".$v.id."&where_config=".$v.config)}>',
  14. 'title' => '<{$v.name}>',
  15. 'html' => '<{$v.name}>',
  16. 'class' => 'layui-bg-red',
  17. 'style' => 'background-color: #FF5722!important;',
  18. ),
  19. )
  20. )
  21. # display
  22. ->display();