Procházet zdrojové kódy

新的下载页,openinstall

lizhen_gitee před 7 měsíci
rodič
revize
906fd02bc2
1 změnil soubory, kde provedl 15 přidání a 9 odebrání
  1. 15 9
      application/index/view/index/appdownload.html

+ 15 - 9
application/index/view/index/appdownload.html

@@ -54,6 +54,7 @@
 
 <body >
 <div class="page">
+    <!--<a class="btn" href="{$downurl}"  id="JdownApp">点击下载</a>-->
     <script type="text/javascript" charset="UTF-8" src="https://web-vpsxrx.openinstall.com/web/banner.js?id=5604932523897927065"></script>
 </div>
 <div class="wxtip" id="JweixinTip">
@@ -68,15 +69,20 @@
         var ua = navigator.userAgent;
         var isWeixin = !!/MicroMessenger/i.test(ua);
         if(isWeixin){
-            ele.onclick=function(e){
-                window.event? window.event.returnValue = false : e.preventDefault();
-                document.getElementById('JweixinTip').style.display='block';
-            }
-            document.getElementById('JweixinTip').onclick=function(){
-                this.style.display='none';
-            }
+            document.getElementById('JweixinTip').style.display='block';
+//            ele.onclick=function(e){
+//                window.event? window.event.returnValue = false : e.preventDefault();
+//                document.getElementById('JweixinTip').style.display='block';
+//            }
+//            document.getElementById('JweixinTip').onclick=function(){
+//                this.style.display='none';
+//            }
         }
     }
-    var btn1 = document.getElementById('JdownApp');//下载一
-    weixinTip(btn1);
+    weixinTip();
+//    var btn1 = document.getElementById('JdownApp');//下载一
+
+
+
+//    weixinTip(btn1);
 </script>