codedetail.php 641 B

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