codedetail.php 541 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. $view
  3. ->set('name', 'codedetail')
  4. ->import('inc/head')
  5. ->fetch('#code@src', 'buy/buy.code')
  6. ->loop
  7. (
  8. '.code-list dl',
  9. 'buy/buy.code_detail',
  10. array
  11. (
  12. 'p' => '$v.code',
  13. 'span' => array
  14. (
  15. 'class' => '$v.class',
  16. 'html' => '$v.txt',
  17. ),
  18. 'dt' => '$v.copy',
  19. )
  20. )
  21. # 暂无记录
  22. ->append('body', '<div id="page" dever-page-link="<{Dever::pageInfo()["link"]}>" dever-page-list=".pages" dever-page-call="init()"></div>')
  23. ->import('inc/foot')
  24. ->display();