pay.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  6. {php echo register_jssdk(false);}
  7. <title>{$_W['account']['name']}支付中心</title>
  8. <link rel="stylesheet" href="../addons/qidong_app/WeUI_files/weui.css">
  9. <link rel="stylesheet" href="../addons/qidong_app/WeUI_files/sample.css">
  10. <style>.alsp{ text-align:center;font-family:"楷体"; font-size:26px; background-color:OldLace;}</style>
  11. <script>
  12. wx.ready(function () {
  13. sharedata = {
  14. title: '{$title}',
  15. desc: '{$description}',
  16. link: '{$_W['siteurl']}&fromopenid={$openid}',
  17. imgUrl: '{$_W['uniaccount']['logo']}',
  18. success: function(){
  19. alert('分享成功!');
  20. },
  21. cancel: function(){
  22. }
  23. };
  24. wx.onMenuShareAppMessage(sharedata);
  25. });
  26. </script>
  27. </head>
  28. <body style="background-image:url({$bakimg})">
  29. <div style="border: 0px solid #000000; margin: 10 auto;width=80%">
  30. {if $payimg<>''}
  31. <div class="alsp"> <img width="100%" src="{$_W['attachurl']}{$payimg}"/> </div><br>
  32. {else}
  33. <div class="alsp"> {$_W['account']['name']}支付中心</div><br>
  34. <div style="text-align:center"> <img width="100" height="100" src="{$_W['uniaccount']['logo']}"> </div>
  35. {/if}
  36. <div class="alsp"><font color=red>{$msg}</font></div><br>
  37. {loop $navmsg $index $items}
  38. <br>
  39. <div class="weui-flex"><br>
  40. <div><div class="placeholder">&nbsp &nbsp&nbsp</div></div>
  41. <div class="weui-flex__item"><div class="placeholder">
  42. <button type="button" onclick="javascript:window.location='{php echo $this->createMobileUrl('pay');}&jsonid={$jsonid}&money={$items['jiage']}&title={$items['title']}'" class="weui-btn weui-btn_primary">{$items['title']}({$items['jiage']}元) </button>
  43. </div></div>
  44. <div><div class="placeholder">&nbsp&nbsp&nbsp</div></div>
  45. </div>
  46. {/loop}
  47. <br>
  48. <div class="weui-footer weui-footer_fixed-bottom">
  49. <p class="weui-footer__links">
  50. <a href="javascript:window.location='tel:{$webcall}';" class="weui-footer__link">{$webcall}</a>
  51. </p>
  52. <p class="weui-footer__text"></p>
  53. </div>
  54. </div>
  55. {if $kefuid<>''}
  56. <script src="{$_W['siteroot']}/addons/qidong_app_plugin_wx/json/{$kefuid}.js"></script>
  57. {/if}
  58. {if count($fromlist)>0}
  59. <div class="alsp"><font color=red>您有{php echo count($fromlist)}个粉丝</font></div>
  60. {loop $fromlist $index $items}
  61. {if $items['avartar']<>''}
  62. <img style=' border-radius: 50%;' width="50" src="{$items['avartar']}" />
  63. {else}
  64. {/if}
  65. {/loop}
  66. {/if}
  67. </body>
  68. </html>