my_code.php 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. $view
  3. ->set('name', 'list')
  4. ->import('inc/head')
  5. ->fetch(array('.title', 0), 'service/base.config#title')
  6. ->fetch('.logo@style', 'service/base.config#bglogo')
  7. ->fetch('.logo', 'service/base.config#name')
  8. ->fetch('.info-txt', 'service/base.config#desc')
  9. //->fetch('.richtext', 'service/base.config#code_desc')
  10. ->fetch(array('.tab .li@href', 0), 'service/base.config#list_link')
  11. ->fetch(array('.tab .li@href', 1), 'service/base.config#my_link')
  12. ->loop
  13. (
  14. '.item2',
  15. 'service/buy.lists_code',
  16. array
  17. (
  18. 'img' => array
  19. (
  20. 'src' => '$v.pic_gd',
  21. ),
  22. 'h2' => '$v.name',
  23. '.code' => '$v.code_string',
  24. '.opposite' => array
  25. (
  26. 'node-pic' => '$v.code_pic',
  27. ),
  28. 'span' => '$v.code',
  29. )
  30. )
  31. # 暂无记录
  32. ->append('body', '<div id="page" dever-page-link="<{Dever::pageInfo()["link"]}>" dever-page-list=".pages"></div>')
  33. ->import('inc/foot')
  34. ->display();