Brak opisu

downLoadApp.html 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1276367164'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s23.cnzz.com/z_stat.php%3Fid%3D1276367164' type='text/javascript'%3E%3C/script%3E"));</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. document.getElementById("cnzz_stat_icon_1276367164").style.display="none"; // 隐藏统计小图标
  16. //声明_czc对象:
  17. var _czc = _czc || [];
  18. //绑定siteid,请用您的siteid替换下方"XXXXXXXX"部分
  19. _czc.push(["_setAccount", "1276367164"]);
  20. _czc.push(["_trackEvent",'短信下载App','红包','页面进入']);
  21. </script>
  22. <style>
  23. body{background: #fb3626;width:100%;height: 100vh;}
  24. .bgImg{
  25. width: 100%;
  26. }
  27. .downLoad{
  28. width: 3rem;
  29. height: 1rem;
  30. background: url(https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/H5-liedou/redEnvelopes/downloadButton.png) no-repeat;
  31. background-size:100%;
  32. position: absolute;
  33. top: 4.8rem;
  34. left: 0;
  35. right: 0;
  36. margin: auto;
  37. border: none;
  38. animation: button 0.8s infinite ease-in-out;
  39. }
  40. @keyframes button {
  41. 0% {transform: scale(1.1);}
  42. 50% {transform: scale(1);}
  43. 100% {transform: scale(1.1);}
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <img src="https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/H5-liedou/redEnvelopes/downLoadBgImg.jpg?v=1" class="bgImg"/>
  49. <button class="downLoad" onclick="downLoadEvent()"></button>
  50. </body>
  51. </html>
  52. <script>
  53. function downLoadEvent () {
  54. _czc.push(["_trackEvent",'短信下载App','红包','下载按钮点击']);
  55. window.location.href = 'https://yp2.cn/cGVkGv';
  56. }
  57. </script>