h5_userInvitationPage.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>邀请好友</title>
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. </head>
  8. <style type="text/css">
  9. body {
  10. color:#F0F0F0;
  11. }
  12. .content {
  13. margin-top: 40%;
  14. }
  15. .content img {
  16. display: block;
  17. width: 150px;
  18. height: 177px;
  19. margin-left: auto;
  20. margin-right: auto;
  21. }
  22. .content p {
  23. display: block;
  24. text-align: center;
  25. color:#000000;
  26. font-size: 17px;
  27. }
  28. </style>
  29. <body>
  30. <div class="content">
  31. <img src="http://slb.dahengdian.com/jiaqiancaifu/2018/03/06/IERoxr2QeV.png">
  32. <p style="margin-top: 40px">邀请好友送大礼,3月9日开放</p>
  33. <p>敬请期待</p>
  34. </div>
  35. <!--<input id="btn" type="button" value="分享2222222" height="200" width="500">-->
  36. <script>
  37. window.onload=function(){
  38. //点击按钮
  39. var btn=document.getElementById("btn");
  40. btn.onclick=function(){
  41. var u2=window.navigator.userAgent;
  42. if(u2.indexOf('iPhone')>-1||u2.indexOf('iPad')>-1){
  43. //withdrawal();
  44. //alert(111);
  45. sharea('佳乾财富 - 新手红包888', 'https://jiaqiancaifu.dahengdian.com/active/index/xinshou', 'https://wxapp.dahengdian.com/mTQD8RLMI5.png', '113344566778885555555555544112222');
  46. //shareInvestFriend();
  47. }
  48. if(u2.indexOf('Android')>-1){
  49. window.bj.call('share', '{"show" : "true","imgUrl":"http://zhidao.dahengdian.com/static/images/user_litpic.png","shareUrl":"http://www.qq.com","title":"这是腾讯的一个网站","content":"腾讯是个好网站,你值得观看"}', 0);
  50. }
  51. }
  52. //初始化右上角图标
  53. var u=window.navigator.userAgent;
  54. if(u.indexOf('iPhone')>-1||u.indexOf('iPad')>-1){
  55. submit('佳乾财富 - 新手红包888', 'https://jiaqiancaifu.dahengdian.com/active/index/xinshou', 'https://wxapp.dahengdian.com/mTQD8RLMI5.png', '123123123123123123123123123123');
  56. //shareInvestFriend('佳乾财富 - 新手红包888', 'https://jiaqiancaifu.dahengdian.com/active/index/xinshou', 'https://wxapp.dahengdian.com/mTQD8RLMI5.png');
  57. }
  58. if(u.indexOf('Android')>-1){
  59. window.bj.call('showShareButton', '{"show" : "true","imgUrl":"https://wxapp.dahengdian.com/mTQD8RLMI5.png","shareUrl":"https://jiaqiancaifu.dahengdian.com/active/index/xinshou","title":"佳乾财富 - 新手红包888","content":"佳乾财富 - 新手红包888"}', 0);
  60. }
  61. }
  62. </script>
  63. </body>
  64. </html>