pay.php 455 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. $view
  3. ->set('name', 'pay')
  4. ->import('inc/head')
  5. ->fetch('.h1', 'service/buy.info#buy')
  6. ->fetch('.richtext', 'service/buy.info#buy_desc')
  7. # 循环
  8. ->loop
  9. (
  10. '.item',
  11. 'service/buy.buy',
  12. array
  13. (
  14. 'p|0' => '$v.name',
  15. 'p|1' => '$v.price',
  16. 'self' => array
  17. (
  18. 'href' => 'javascript:;',
  19. 'onclick' => 'pay(\'<{$v.pay_url}>\')',
  20. ),
  21. )
  22. )
  23. ->import('inc/foot')
  24. ->display();