Commit 63eeb81f by libai

测试

parent c92a3e6e
Showing with 5 additions and 2 deletions
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
} }
</style> </style>
</head> </head>
<body style="background: #FEF09D;"> <body style="background: #fff">
<div class="banner"> <div style="display: none;" class="banner">
<a href="login.html"><span class="Recharge">充值<span style="font-weight: 700;font-family:'黑体'">&gt;&gt;</span></span></a> <a href="login.html"><span class="Recharge">充值<span style="font-weight: 700;font-family:'黑体'">&gt;&gt;</span></span></a>
<div id="downloadButton" class="btn"></div> <div id="downloadButton" class="btn"></div>
</div> </div>
...@@ -80,11 +80,14 @@ ...@@ -80,11 +80,14 @@
m.schemeWakeup(); m.schemeWakeup();
/*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/ /*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/
if(sessionStorage.type==2){ if(sessionStorage.type==2){
setTimeout(function(){ setTimeout(function(){
m.wakeupOrInstall(); m.wakeupOrInstall();
return false; return false;
},1200) },1200)
}else{ }else{
$(".banner").show()
$("body").css("background","#FEF09D")
button.onclick = function() { button.onclick = function() {
m.wakeupOrInstall(); m.wakeupOrInstall();
return false; return false;
......
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