|
@@ -57,6 +57,7 @@ window.onload = function(){
|
|
if(res.data){
|
|
if(res.data){
|
|
getActivityData()
|
|
getActivityData()
|
|
}else{
|
|
}else{
|
|
|
|
+ closeLoading()
|
|
alert('该活动已经结束!')
|
|
alert('该活动已经结束!')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -109,23 +110,27 @@ window.onload = function(){
|
|
}else{
|
|
}else{
|
|
joinerList()
|
|
joinerList()
|
|
}
|
|
}
|
|
- if(staticHtmlPath){
|
|
+ closeLoading()
|
|
-
|
|
|
|
- document.getElementById('foo').style.display = 'none'
|
|
|
|
- modalZz.style.display = 'none'
|
|
|
|
-
|
|
|
|
- if(!browser.versions.weixin){
|
|
|
|
- document.querySelector('.zy-h5-bf-bar').style.display = 'none'
|
|
|
|
- document.querySelector('.zy-h5-fx-bar').style.display = 'none'
|
|
|
|
- }else{
|
|
|
|
- document.querySelector('.zy-h5-bf-bar').style.display = 'flex'
|
|
|
|
- document.querySelector('.zy-h5-fx-bar').style.display = 'block'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ function closeLoading(){
|
|
|
|
+ if(staticHtmlPath){
|
|
|
|
+
|
|
|
|
+ document.getElementById('foo').style.display = 'none'
|
|
|
|
+ modalZz.style.display = 'none'
|
|
|
|
+
|
|
|
|
+ if(!browser.versions.weixin){
|
|
|
|
+ document.querySelector('.zy-h5-bf-bar').style.display = 'none'
|
|
|
|
+ document.querySelector('.zy-h5-fx-bar').style.display = 'none'
|
|
|
|
+ }else{
|
|
|
|
+ document.querySelector('.zy-h5-bf-bar').style.display = 'flex'
|
|
|
|
+ document.querySelector('.zy-h5-fx-bar').style.display = 'block'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
function onLoading(){
|
|
function onLoading(){
|
|
|
|
|