Quellcode durchsuchen

调整再抽第十次显示不正确

heyang vor 3 Jahren
Ursprung
Commit
ee13f16c48
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      microserviceUserH5/vcloud/anniversaryCelebrate.html

+ 5 - 2
microserviceUserH5/vcloud/anniversaryCelebrate.html

@@ -375,7 +375,7 @@
 			getPhoneNumber();
 			getUserCard();
 		}
-		function init() {
+		function init(type) {
 			$.ajax({
 				url: baseUrl + '/api/activity/v1/anniversary/getAnniversary',
 				type: 'get',
@@ -425,6 +425,9 @@
 							$('.no-start-mask').show();
 							document.documentElement.style.overflow='hidden';
 						}
+						if(type == 'report') {
+							$('.point-wrap').eq(0).empty();
+						}
 						if(result == '' || !lighten){
 							return
 						}
@@ -707,7 +710,7 @@
 						}
 						$('.times-text-number').eq(0).text(residueDegree - times);
 						$('.award-result-wrap').eq(0).append(str);
-						init();
+						init(type);
 					}else{
 						animationFlag = true;
 						stopManyClick(() =>{