pay.php 932 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. $view
  3. ->set('name', 'pay')
  4. ->import('inc/head')
  5. ->fetch('#mobile@value', 'vip/buy.info#mobile')
  6. ->fetch('#unpay@href', 'vip/buy.info#unpay')
  7. ->fetch('#ypay@href', 'vip/buy.info#ypay')
  8. ->fetch('#open@value', 'vip/buy.info#open')
  9. ->fetch('#open@data-url', 'vip/buy.info#buy_url')
  10. ->fetch('#open@data-buy_id', 'vip/buy.info#buy_id')
  11. ->fetch('#open@data-order_id', 'vip/buy.info#order_id')
  12. ->fetch('.pay-result p', 'vip/buy.info#buy_name')
  13. # 循环
  14. ->loop
  15. (
  16. '#package .time-option',
  17. 'vip/buy.buy',
  18. array
  19. (
  20. 'span|0' => '$v.name',
  21. 'span|1' => '$v.price',
  22. 'self' => array
  23. (
  24. 'class' => 'time-option <{$v.active}>',
  25. 'data-name' => '$v.title',
  26. 'data-price' => '$v.cash_str',
  27. 'data-package' => '$v.id',
  28. 'data-url' => '$v.pay_url',
  29. ),
  30. )
  31. )
  32. ->import('inc/foot')
  33. ->display();