home.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. //->jq('.fixed-left')->attr('d', '公告') 后续支持
  9. ->fetch('.fixed-left@test', '公告')
  10. ->fetch('body@class', 'theme-<{Dever::load("manage/auth.config#template")}>')
  11. ->fetch('#wrapper@class', 'manage/database.cookie#wrapper')
  12. #->fetch('#panel-notice .panel-heading', '公告')
  13. ->loop
  14. (
  15. '#panel-notice li',
  16. 'manage/auth.notice',
  17. array
  18. (
  19. 'a' => array
  20. (
  21. 'href' => '<{Dever::url("notice?where_id=".$v.id."&where_config=".$v.config)}>',
  22. 'title' => '<{$v.name}>',
  23. 'html' => '<{$v.name}>',
  24. ),
  25. )
  26. )
  27. ->loop
  28. (
  29. '#panel-project a',
  30. 'manage/menu.fast',
  31. array
  32. (
  33. 'self' => array
  34. (
  35. 'href' => '<{$v.link}>',
  36. 'title' => '<{$v.name}>',
  37. 'html' => '<{$v.name}>',
  38. 'style' => 'margin-left:10px;',
  39. ),
  40. )
  41. )
  42. //->fetch('#panel-info .panel-heading', '重要信息')
  43. ->fetch('#panel-contact h3', 'manage/auth.config#info')
  44. ->fetch('#panel-contact address', 'manage/auth.config#content')
  45. # display
  46. ->display();