123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
- <title>APP下载</title>
- <link rel="stylesheet" href="/resource/style4wx_1/extend/jqweui8.2/lib/weui.min.css?v=1" />
- <link rel="stylesheet" href="/resource/style4wx_1/extend/jqweui8.2/css/jquery-weui.min.css" />
- <link rel="stylesheet" type="text/css" href="/resource/style4wx_1/font/iconfont.css"/>
- <link rel="stylesheet" href="/resource/style4wx_1/css/base-wx.css" />
- <script type="text/javascript" src="/resource/style4wx_1/extend/jquery-2.1.4.min.js" ></script>
- <script type="text/javascript" src="/resource/style4wx_1/extend/jqweui8.2/js/jquery-weui.min.js" ></script>
- <script type="text/javascript" src="/resource/style4wx_1/extend/jqweui8.2/lib/fastclick.js" ></script>
- <script type="text/javascript">
- $(function() {
- FastClick.attach(document.body);
- });
- if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent.toLowerCase())) {
- } else {
- window.location.href = "/view_app/app3.html";
- }
- </script>
- <style type="text/css">
- body{
- background-image:url('./download_app.png');
- background-size: cover;
- }
- /* .box1{
- float:left;
- position:relative;
- margin-top: 85%;
- left:50%;
- }
-
- .box1 button{
- float:left;
- position:relative;
- right:50%;
- }
-
- .box1 button img{
- float:left;
- position:relative;
- top: 50%;
- transform: translateY(11%);
- right:-6%;
- }
-
- .box2{
- float:left;
- position:relative;
- margin-top: 95%;
- left:9%;
- }
-
- .box2 button{
- float:left;
- position:relative;
- right:50%;
- }
-
- .box2 button img{
- float:left;
- position:relative;
- right:-6%;
- top: 50%;
- transform: translateY(11%);
- } */
-
- .box{
- width:150px;
- margin:0 auto;
- margin-top:85%;
- text-align:center;
- }
-
- .wxtip{background: rgba(0,0,0,0.8); text-align: center; position: fixed; left:0; top: 0; width: 100%; height: 100%; z-index: 998; display: none;}
- .wxtip-icon{width: 52px; height: 67px; background: url(weixin-tip.png) no-repeat; display: block; position: absolute; right: 20px; top: 20px;}
- .wxtip-txt{margin-top: 107px; color: #fff; font-size: 16px; line-height: 1.5;}
-
- </style>
- </head>
- <body>
- <div class="box">
- <button id="xxxxxx" value="Download" style="border:1px #ff0000 solid; vertical-align:middle; background-color: white; width:150px; height: 30px; border-radius:25px; line-height:30px; display: block;" onclick="downloadAndroid();">
- <img src="andirod.png" style="width:15px; height:20px; margin-left: -15px; transform: translateY(11%);"/> Android版下载
- </button>
-
- <button id="yyyyyy" value="Download" style="border:1px #ff0000 solid; vertical-align:middle; background-color: #F44D59; margin-top:10px; width:150px; height: 30px; border-radius:25px; line-height:30px; color: white; display: block;" onclick="downloadApple();">
- <img src="apple.png" style="width:15px; height:20px; margin-left: -15px; transform: translateY(11%);"/> iphone版下载
- </button>
- </div>
-
-
- <div class="wxtip" id="JweixinTip">
- <span class="wxtip-icon"></span>
- <p class="wxtip-txt">点击右上角<br/>选择在浏览器中打开</p>
- </div>
-
- <script type="text/javascript">
- var ua = navigator.userAgent.toLowerCase();
- var isWeixin = !!/MicroMessenger/i.test(ua);
- function downloadAndroid(){
- if (/iphone|ipad|ipod/.test(ua)) {
- /* if(isWeixin){
- document.getElementById('JweixinTip').style.display='block';
- document.getElementById('JweixinTip').onclick=function(){
- this.style.display='none';
- }
- }else{
- alert("请点击iphone版进行下载");
- } */
- alert("请点击iphone版进行下载");
- } else if(/android/.test(ua)) {
- window.location.href="http://res.eqbidding.com/bid.apk";
- }
- }
-
- function downloadApple(){
- if (/iphone|ipad|ipod/.test(ua)) {
- //window.location.href="https://dafuvip.com/3i2eM3";
- window.location.href="https://pgyer.com/RwF7";
- } else if(/android/.test(ua)) {
- alert("请点击Android版下载");
- }
- }
- </script>
- </body>
- </html>
|