Commit 1909b772 by libai

测试

parent 598f1fba
Showing with 8 additions and 3 deletions
...@@ -79,12 +79,17 @@ ...@@ -79,12 +79,17 @@
/*在app已安装的情况尝试拉起app*/ /*在app已安装的情况尝试拉起app*/
m.schemeWakeup(); m.schemeWakeup();
/*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/ /*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/
if(sessionStorage.type==2){ if(sessionStorage.type==3){
$(".banner").show()
$("body").css("background","#FEF09D")
setTimeout(function(){ setTimeout(function(){
m.wakeupOrInstall(); m.wakeupOrInstall();
return false; return false;
},600) },1500)
button.onclick = function() {
m.wakeupOrInstall();
return false;
}
}else{ }else{
$(".banner").show() $(".banner").show()
$("body").css("background","#FEF09D") $("body").css("background","#FEF09D")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment