No Description

littlePig40047.html 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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="../../common/reset.css"/>
  9. <script type="text/javascript" src="../../common/jquery-2.1.0.js"></script>
  10. <script type="text/javascript">
  11. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  12. window.onresize = function(){
  13. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  14. }
  15. </script>
  16. <style type="text/css">
  17. body{width: 100%;min-height: 100vh;background: #FFFFFF;}
  18. #container{width:100%;background:#FFFFFF ;position: relative;}
  19. .loanBgImg{width: 100%;}
  20. .loanButton{width: 60%;position: absolute;left: 0;right: 0;top:5.55rem;margin: auto;}
  21. .hint{
  22. position: absolute;
  23. top: 6.1rem;
  24. left: 0;
  25. right: 0;
  26. margin: auto;
  27. text-align: center;
  28. font-size: 0.1rem;
  29. color: rgba(0,0,0,0.5);
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div id="container">
  35. <img class="loanBgImg" src="img/bigDownBg.png" />
  36. <img class="loanButton" src="img/bigDownButton.png" onclick="goDownApp()"/>
  37. <p class="hint">投资有风险,贷款额度由个人情况而定</p>
  38. </div>
  39. </body>
  40. </html>
  41. <script type="text/javascript">
  42. // 趣头条05 渠道号-40047
  43. function goDownApp () {
  44. countLandingPage({click_source:'download',source:40047})
  45. window.location.href='https://kx-loans.oss-cn-beijing.aliyuncs.com/xiaohuazhu/qtt_06.apk'
  46. }
  47. //埋点
  48. function countLandingPage (data) {
  49. $.ajax({
  50. type:'post',
  51. url:'/user/log/countLandingPage',
  52. dataType:'json',
  53. data:data,
  54. success:function (res) {
  55. console.log(res)
  56. }
  57. })
  58. }
  59. </script>