123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <title>双子星云手机</title>
- <link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
- <link rel="stylesheet" href="../static/js/vender/toastr/toastr.min.css">
- <script src="../static/js/vender/jquery-3.4.1.min.js"></script>
- <script src="../static/js/vender/toastr/toastr.min.js"></script>
- <script src="../static/js/vender/config.js"></script>
- <style>
- @media screen and (max-width: 750px) {
- html {
- font-size: calc(100vw / 7.5);
- }
- }
- @media screen and (min-width: 750px) {
- html {
- font-size: calc(450px / 7.5);
- }
- }
- html, body, div, ul, li, p {
- padding: 0;
- margin: 0;
- }
- ul, li {
- list-style: none;
- }
- .container{
- width: 7.5rem;
- height: 116vh;
- position: relative;
- }
- .down-bg{
- width: 100%;
- height: 100%;
- }
- .down-row{
- width: 6.7rem;
- height: 1rem;
- position: fixed;
- bottom: 0.2rem;
- left: 50%;
- transform: translateX(-50%);
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 0.24rem;
- background: linear-gradient(180deg, #251282 0%, #140463 100%);
- color: #ffffff;
- border-radius: 0.18rem;
- border: 0.02rem solid #412DA4;
- padding: 0 0.2rem;
- }
- /* .left{
- } */
- .address{
- text-align: center;
- width: 4.16rem;
- height: 0.6rem;
- line-height: 0.6rem;
- background-color: #ffffff;
- color: #333333;
- border-radius: 0.1rem;
- z-index: 999;
- }
- .right-btn{
- width: 1.1rem;
- height: 0.6rem;
- line-height: 0.6rem;
- text-align: center;
- background: #6048D8;
- box-shadow: 0 0.04rem 0.12rem 0 rgba(60, 31, 201, 0.4), 0 0.02rem 0.26rem 0 rgba(255, 255, 255, 0.29);
- border-radius: 0.1rem;
- background-color: #6048D8;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <img class="down-bg" src="../static/img/down-bg.png" />
- <div class="down-row">
- <div class="left">下载链接</div>
- <div class="address">下载链接</div>
- <div class="right-btn">复制</div>
- </div>
- </div>
- <script>
- toastr.options.positionClass = 'toast-center-center';
- toastr.options.timeOut = '1500';
- </script>
- <script type="text/javascript">
- let timer,flag = true;
- var url = window.location.href;
- url = url.split('/')
- // var baseUrl = 'https://test.androidscloud.com/'
- var loc = window.location.search,
- n1 = loc.length,//地址的总长度
- n2 = loc.indexOf("="),//取得=号的位置
- id = loc.substr(n2 + 1, n1 - n2),//从=号后面的内容
- u = navigator.userAgent,
- ua = navigator.userAgent.toLowerCase(),
- isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
- isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
- //埋点
- if(isAndroid){
- operate('中秋活动落地页');
- }
- function operate(pointName,type){
- $.ajax({
- url: baseUrl + '/api/public/v1/systemBuriedPoint/stat',
- type: 'post',
- data:JSON.stringify({
- pointName: pointName
- }),
- contentType:"application/json",
- dataType: 'json',
- cache: false,
- success: function (res) {
- if(isAndroid && type === 'click'){
- getAppDownload();
- }
- },
- })
- }
- //防止提示一秒内重复显示
- function stopManyClick(fn) {
- if (flag) {
- fn();
- }
- flag = false;
- if(timer){clearTimeout(timer);}
- timer = setTimeout(() => {flag = true}, 1500);
- }
- </script>
- </body>
- </html>
|