Sin descripción

addSuccess.html 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
  7. <title>加入成功</title>
  8. <link rel="stylesheet" type="text/css" href="public/public_css.css"/>
  9. <style type="text/css">
  10. .userImg{
  11. width: 0.87rem;
  12. height: 0.87rem;
  13. border-radius: 50%;
  14. margin: auto;
  15. margin-top: 0.41rem;
  16. margin-bottom: 0.22rem;
  17. }
  18. .inviting{
  19. max-width: 2.4rem;
  20. text-align: center;
  21. font-size: 0.16rem;
  22. color: #878787;
  23. line-height: 0.22rem;
  24. margin: auto;
  25. }
  26. .inviting text{
  27. color:#646464;
  28. }
  29. .button{
  30. width: 2.47rem;
  31. height: 0.41rem;
  32. background: #FFE100;
  33. color: #FFFFFF;
  34. font-size: 0.2rem;
  35. border-radius: 0.26rem;
  36. box-shadow:0px 0.02rem 0px rgba(251,179,179,0.5);
  37. border-radius:0.26rem;
  38. margin: auto;
  39. margin-top: 0.97rem;
  40. display: block;
  41. }
  42. </style>
  43. </head>
  44. <body>
  45. <img class="userImg" src="https://small-app.oss-cn-beijing.aliyuncs.com/youhuiquan/shenqian.png" />
  46. <p class="inviting">您已成功加入<text>《旅行账本》</text><br/>名片:ZYuuu</p>
  47. <button class="button" onclick="goApp()">打开app,一起记账</button>
  48. </body>
  49. </html>
  50. <script type="text/javascript" src="public/jquery-2.1.0.js"></script>
  51. <script type="text/javascript">
  52. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  53. window.onresize = function(){
  54. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  55. }
  56. function goApp () {
  57. if(navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)){
  58. window.location.href=appUrl;
  59. }
  60. if(navigator.userAgent.match(/android/i)){
  61. window.location.href='http://sj.qq.com/myapp/detail.htm?apkName=com.kuxuan.moneynote';
  62. }
  63. }
  64. </script>