|
@@ -0,0 +1,145 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+
|
|
|
+<head>
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <title>极速驾培app下载</title>
|
|
|
+ <style type="text/css">
|
|
|
+ * {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ #app {
|
|
|
+ width: 100%;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .logo {
|
|
|
+ width: 50%;
|
|
|
+ position: absolute;
|
|
|
+ left: 25%;
|
|
|
+ top: 17vw;
|
|
|
+ }
|
|
|
+
|
|
|
+ .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: 164vw;
|
|
|
+ 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: 180vw;
|
|
|
+ left: 18vw;
|
|
|
+ color: #fff;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+ <div class="#app">
|
|
|
+
|
|
|
+ <img class="bg" src="./assets/图层 79@2x.png">
|
|
|
+ <img class="logo" src="./assets/logo@2x.png">
|
|
|
+ <img class="qr" src="./assets/二维码@2x.png">
|
|
|
+ <div onclick="downLoadApp1()" class="button1">
|
|
|
+ 点击下载1
|
|
|
+ </div>
|
|
|
+ <div onclick="downLoadApp2()" class="button2">
|
|
|
+ 点击下载2
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <script>
|
|
|
+ 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' && isWeixin() == false) {
|
|
|
+ // window.location.href = 'https://apps.apple.com/us/app/极速驾培/id1214200225'
|
|
|
+ window.location.href = "https://itunes.apple.com/cn/app/id1214200225"
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (getPhoneSystem() == 'android' && isWeixin() == false) {
|
|
|
+ window.location.href ='https://t1-1305573081.cos.ap-shanghai.myqcloud.com/apk/fj_student_2.1.5.apk'
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ // window.location.href = "https://itunes.apple.com/cn/app/id1214200225"
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ function downLoadApp2() {
|
|
|
+ if (getPhoneSystem() == 'ios' && isWeixin() == false) {
|
|
|
+ // window.location.href = 'https://apps.apple.com/us/app/极速驾培/id1214200225'
|
|
|
+ window.location.href = "https://apps.apple.com/us/app/极速驾培/id1214200225"
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (getPhoneSystem() == 'android' && isWeixin() == false) {
|
|
|
+ window.location.href ='https://t1-1305573081.cos.ap-shanghai.myqcloud.com/apk/fj_student_2.1.5.apk'
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ // window.location.href = "https://itunes.apple.com/cn/app/id1214200225"
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ </script>
|
|
|
+</body>
|
|
|
+
|
|
|
+</html>
|