Ver Fonte

新增专属极速驾培的下载网址

JXDS18FUJT há 1 ano atrás
pai
commit
684ff73f6e
2 ficheiros alterados com 300 adições e 0 exclusões
  1. BIN
      assets/bg4.png
  2. 300 0
      downloadApp3.html

BIN
assets/bg4.png


+ 300 - 0
downloadApp3.html

@@ -0,0 +1,300 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
+    <title>极速驾培app下载</title>
+    <style type="text/css">
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            border: 0;
+        }
+
+        #app {
+            width: 100%;
+            position: relative;
+            overflow: hidden;
+        }
+
+        .password1 {
+            top: 110vw;
+            position: absolute;
+            left: 12.8vw;
+            width: 74vw;
+
+        }
+
+        .download1 {
+            top: 135vw;
+            position: absolute;
+            left: 12.8vw;
+            width: 74vw;
+        }
+
+        .password2 {
+            top: 118vw;
+            position: absolute;
+            left: 12.8vw;
+            width: 74vw;
+
+        }
+
+        .download2 {
+            top: 140vw;
+            position: absolute;
+            left: 12.8vw;
+            width: 74vw;
+        }
+
+        .logo1 {
+            width: 50%;
+            position: absolute;
+            left: 25%;
+            top: 10vw;
+        }
+
+        .logo2 {
+            width: 50%;
+            position: absolute;
+            left: 25%;
+            top: 100vw;
+        }
+
+        .icon1 {
+            position: absolute;
+            width: 98vw;
+            left: 1vw;
+            top: 32vw;
+        }
+
+        .icon2 {
+            position: absolute;
+            width: 98vw;
+            left: 1vw;
+            top: 117vw;
+        }
+
+        .bg {
+            width: 100%;
+            overflow: hidden;
+            font-size: 0;
+        }
+
+        .qr {
+            position: absolute;
+            top: 121vw;
+            width: 25vw;
+            height: 25vw;
+            left: 37.5vw;
+
+        }
+
+        .button1 {
+            width: 64vw;
+            line-height: 12.8vw;
+            background: #498EF5;
+            border-radius: 48px;
+            font-size: 6.4vw;
+            position: absolute;
+            top: 125vw;
+            left: 18vw;
+            color: #fff;
+            text-align: center;
+        }
+
+        .button2 {
+            position: absolute;
+            width: 64vw;
+            line-height: 12.8vw;
+            background: #498EF5;
+            border-radius: 48px;
+            font-size: 6.4vw;
+            top: 145vw;
+            left: 18vw;
+            color: #fff;
+            text-align: center;
+        }
+
+        #wx-download {
+            position: fixed;
+            top: 0;
+            left: 0;
+            width: 100vw;
+            z-index: 999;
+            display: none;
+
+
+        }
+
+        #wx-download>img {
+            width: 100vw;
+        }
+
+      
+    </style>
+</head>
+
+<body>
+    <div id="banner_2_0"></div>
+    <div id="app">
+     
+
+        <div id="wx-download">
+            <img src="https://t1-1305573081.file.myqcloud.com/test/adown/wx_download.png">
+        </div>
+        <img class="bg" src="https://t1-1305573081.file.myqcloud.com/test/adown/bg2.png">
+        <!-- <img class="icon1" src="https://t1-1305573081.file.myqcloud.com/test/adown/icon1.png"> -->
+        <!-- <img class="icon2" src="https://t1-1305573081.file.myqcloud.com/test/adown/icon2.png"> -->
+        <img class="logo1" src="https://t1-1305573081.file.myqcloud.com/test/adown/logo2.png">
+        <!-- <img class="logo2" src="https://t1-1305573081.file.myqcloud.com/test/adown/logo3.png"> -->
+        <a href="./password1.html"> <img class="password1"
+                src="https://t1-1305573081.file.myqcloud.com/test/adown/student_password.png"></a>
+
+        <img class="download1" onclick="downLoadApp1()"
+            src="https://t1-1305573081.file.myqcloud.com/test/adown/download_button1.png">
+        <!-- <a href="./password2.html"><img class="password2"
+                src="https://t1-1305573081.file.myqcloud.com/test/adown/teacher_password.png"></a> -->
+        <!-- <img class="download2" onclick="downLoadApp2()"
+            src="https://t1-1305573081.file.myqcloud.com/test/adown/download_button2.png"> -->
+
+        <!-- <img class="qr" src="https://t1-1305573081.file.myqcloud.com/test/adown/qr.png"> -->
+        <!-- <div onclick="downLoadApp1()" class="button1">
+            点击下载1
+        </div>
+        <div onclick="downLoadApp2()" class="button2">
+            点击下载2
+        </div> -->
+
+    </div>
+    
+    <script type="text/javascript">
+        // 腾讯广告全局申明只需运行一次
+        window.TencentGDT = window.TencentGDT || [];
+
+        // 广告示例声明
+        TencentGDT.push({
+            app_id: '1205690058',
+            placement_id: '9037822631845911', // 广告位id,请从联盟平台广告位获取
+            type: 'native', // 广告类型
+            display_type: 'banner', // 广告播放类型: banner广告
+            carousel: 3000, // 轮播时间,> 3000数字类型,否则轮播会被取消
+            containerid: 'banner_2_0', // 广告容器
+            onComplete: function (res) {
+                if (res.ret == 0) {
+                    console.log('广告播放成功');
+                } else {
+                    console.log('广告播放失败', res);
+                }
+            }
+        });
+        // H5 SDK接入全局只需运行一次
+        // (function () {
+        //     var doc = document,
+        //         h = doc.getElementsByTagName('head')[0],
+        //         s = doc.createElement('script');
+        //     s.async = true;
+        //     s.src = '//qzs.qq.com/qzone/biz/res/i.js';
+        //     h && h.insertBefore(s, h.firstChild);
+        // })();
+
+    </script>
+    <script src="//qzs.gdtimg.com/union/res/union_sdk/page/h5_sdk/i.js"></script>
+    <script>
+        var jsjp_android = 'https://t1-1305573081.file.myqcloud.com/apk/fj_student_2.1.5.apk'
+        var jlgj_android = 'https://t1-1305573081.file.myqcloud.com/apk/jlgj1.2.6.apk'
+        var ajax1 = new XMLHttpRequest()
+        var ajax2 = new XMLHttpRequest()
+        ajax1.open('get', "https://jsjp-admin.zzxcx.net/jsjp-admin/open-api/gzpt/userInfo/configKey/jsjp_android")
+        ajax1.send()
+        ajax1.onreadystatechange = function () {
+            if (ajax1.status == 200 && ajax1.readyState == 4) {
+                jsjp_android = JSON.parse(ajax1.responseText).data
+
+            }
+        }
+        ajax2.open('get', "https://jsjp-admin.zzxcx.net/jsjp-admin/open-api/gzpt/userInfo/configKey/coach_android")
+        ajax2.send()
+        ajax2.onreadystatechange = function () {
+            if (ajax2.status == 200 && ajax2.readyState == 4) {
+                jlgj_android = JSON.parse(ajax2.responseText).data
+            }
+        }
+        function getPhoneSystem() {
+            var u = navigator.userAgent;
+            if (u.indexOf('Android') > -1) {
+                return 'android'
+            }
+            if (u.indexOf("iPhone") > -1 || u.indexOf("iOS") > -1) {
+                return 'ios';
+            }
+        }
+        function isWeixin() {
+            var ua = navigator.userAgent.toLowerCase();
+            if (ua.search('micromessenger') !== -1) {
+                return true;
+            } else {
+                return false;
+            }
+        }
+        function downLoadApp1() {
+            if (getPhoneSystem() == 'ios') {
+                // window.location.href = 'https://apps.apple.com/us/app/极速驾培/id1214200225'
+                window.location.href = "https://apps.apple.com/cn/app/极速驾培/id1214200225"
+                return
+
+            }
+            else if (getPhoneSystem() == 'android' && isWeixin() == false) {
+                window.location.href = jsjp_android
+                return
+
+            }
+            else {
+                document.getElementById('wx-download').style = 'display:block'
+                document.getElementById('wx-download').onclick = function (e) {
+                    document.getElementById('wx-download').style = 'display:none'
+
+                }
+
+                // const a = document.createElement('a')
+                // a.href = jsjp_android
+                // a.download = 'fj_student.apk'
+                // document.body.append(a)
+                // a.click()
+                // document.body.removeChild(a)
+                // window.location.href = "https://itunes.apple.com/cn/app/id1214200225"
+            }
+
+
+        }
+        function downLoadApp2() {
+            if (getPhoneSystem() == 'ios') {
+                // window.location.href = 'https://apps.apple.com/us/app/极速驾培/id1214200225'
+                window.location.href = "https://apps.apple.com/cn/app/教练管家/id1214203182"
+                return
+            }
+            else if (getPhoneSystem() == 'android' && isWeixin() == false) {
+                window.location.href = jlgj_android
+                return
+
+
+            }
+            else {
+                document.getElementById('wx-download').style = 'display:block'
+                document.getElementById('wx-download').onclick = function (e) {
+
+                    document.getElementById('wx-download').style = 'display:none'
+
+                }
+                // window.location.href = "https://itunes.apple.com/cn/app/id1214200225"
+            }
+        }
+
+    </script>
+</body>
+
+</html>