model.php 656 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. ->fetch('.layui-fluid@test', '公告')
  9. ->fetch('#url', 'var url="<{Dever::url("poster/lib/manage.update")}>"')
  10. ->fetch('#bg@style', 'poster/lib/manage.template#background')
  11. ->loop
  12. (
  13. '.draggable',
  14. 'poster/lib/manage.model',
  15. array
  16. (
  17. 'self' => array
  18. (
  19. 'style' => '<{$v.style}>',
  20. 'html' => '<{$v.content}>',
  21. 'data-id' => '<{$v.id}>',
  22. ),
  23. )
  24. )
  25. # display
  26. ->display();