my_code.php 726 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. $view
  3. ->set('name', 'list')
  4. ->import('inc/head')
  5. ->fetch('.logo', 'buy/base.config#logotxt')
  6. ->fetch('.info-txt', 'buy/base.config#desc')
  7. ->fetch(array('.tab .li@href', 0), 'buy/base.config#list_link')
  8. ->fetch(array('.tab .li@href', 1), 'buy/base.config#my_link')
  9. ->loop
  10. (
  11. '.item2',
  12. 'buy/buy.lists_code',
  13. array
  14. (
  15. 'p|0' => '$v.cdate',
  16. 'a|0' => array
  17. (
  18. 'href' => '$v.link',
  19. ),
  20. 'p|1' => '$v.name',
  21. 'span' => '$v.desc',
  22. )
  23. )
  24. # 暂无记录
  25. ->append('body', '<div id="page" dever-page-link="<{Dever::pageInfo()["link"]}>" dever-page-list=".pages"></div>')
  26. ->import('inc/foot')
  27. ->display();