|
@@ -172,7 +172,7 @@
|
|
|
init();
|
|
|
getPhoneNumber();
|
|
|
setInterval(() => {
|
|
|
- init();
|
|
|
+ init('report');
|
|
|
},30000);
|
|
|
var num=1;
|
|
|
loadImage();
|
|
@@ -191,7 +191,7 @@
|
|
|
}
|
|
|
}
|
|
|
//初始化数据
|
|
|
- function init(times) {
|
|
|
+ function init(type) {
|
|
|
$.ajax({
|
|
|
url: baseUrl + '/api/user/v1/activity/getSpringFestivalConfig',
|
|
|
type: 'get',
|
|
@@ -239,7 +239,9 @@
|
|
|
$('.gift-box')[0].className = 'gift-box'
|
|
|
}
|
|
|
if(notReceive > 0){
|
|
|
- receive = 0;
|
|
|
+ if(type != 'report'){
|
|
|
+ receive = 0;
|
|
|
+ }
|
|
|
notReceive = notReceive > 99 ? '99+' : notReceive;
|
|
|
$('.tab-wrap').eq(0).css('display', 'flex');
|
|
|
$('.record-wrap').eq(0).css('marginTop', '0.2rem');
|