index.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | index 登录后的主页
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. #->fetch('.name', '<{Maze::load("/config-one#name", 1)}>')
  9. ->fetch('.prompt@check', '<{Maze::load("company/info.check")}>')
  10. ->fetch('.name@style', 'display:none;')
  11. ->fetch('.company', '<{Maze::load("company/info.company#name")}>')
  12. ->fetch('.welcome', '<{Maze::load("company/info.user#username")}>,您好!')
  13. ->fetch('.user-out-btn@href', '<{Maze::url("company/user.quit")}>')
  14. ->fetch('.welcome@style', 'display:none;')
  15. ->fetch('.user-btn@style', 'display:none;')
  16. ->fetch('.user-setting-btn@href', '<{Maze::url("my/set")}>')
  17. ->fetch
  18. (
  19. '.service-list a',
  20. 'company/info.service',
  21. array
  22. (
  23. 'self' => array
  24. (
  25. 'html' => '<{$v.name}>',
  26. 'href' => '<{$v.link}>',
  27. 'class' => 'service-item index-<{$v.key}>',
  28. ),
  29. )
  30. )
  31. ->fetch
  32. (
  33. '.device-list a',
  34. 'company/info.park',
  35. array
  36. (
  37. 'self' => array
  38. (
  39. 'html' => '<{$v.name}>',
  40. 'href' => '<{Maze::load("company/info.park_url", $v)}>',
  41. 'class' => 'device-item <{$v.type == 4 ? "index-two" : "index-three"}>',
  42. //'target' => '_blank',
  43. ),
  44. )
  45. )
  46. ->fetch('.prompt', 'company/info.notice')
  47. ->fetch('.index-question@href', '<{Maze::url("question")}>')
  48. ->fetch(array('.footer a@class', 3), 'active')
  49. ->fetch('.prompt@style', '<{Maze::load("company/info.notice") ? "" : "border:0px;height:auto;"}>');
  50. include('inc/foot.php');
  51. include('inc/common.php');