heyang 4 éve%!(EXTRA string=óta)
szülő
commit
7a76da2b65
1 módosított fájl, 10 hozzáadás és 4 törlés
  1. 10 4
      microserviceUserH5/vcloud/springFestivalActivity.html

+ 10 - 4
microserviceUserH5/vcloud/springFestivalActivity.html

@@ -128,7 +128,7 @@
 	</script>
 	<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
 	<script type="text/javascript">
-        // var baseUrl = 'https://test.androidscloud.com'
+        var baseUrl = 'https://test.androidscloud.com'
 	    let timer,flag = true;
 		var url = window.location.href;
 		url = url.split('/')
@@ -213,6 +213,7 @@
 						}
 						if(notReceive > 0){
 			                receive = 0;
+							notReceive = notReceive > 99 ? 99 : notReceive;
 				            $('.tab-wrap').eq(0).css('display', 'flex');
 				            $('.record-wrap').eq(0).css('marginTop', '0.2rem');
 				            $('.record-wrap').eq(0).css('height', '5.38rem');
@@ -240,6 +241,10 @@
 			$('.dialog').animate({top: '2.24rem'},"fast");
 			$('.award-record-mask').show();
 			document.documentElement.style.overflow='hidden';
+			$('.data-list').eq(0).text('');
+			pageNum = 1;
+			pages = 0;
+			recordFlag = true;
 			getAward();
 		},false);
 		//点击获奖记录关闭按钮
@@ -379,13 +384,14 @@
 										</div>`
 							}
 						}
-						if(notReceive === 0){
-				            $('.join-result-tip').eq(0).css('opcity', '0');
+						if(notReceive > 0){
+				            $('.join-result-tip').eq(0).css('opacity', '0');
 						}
 						let text = notReceive > 0?'确定':'查看';
 						$('.look-btn').eq(0).text(text);
 						$('.award-result-wrap').eq(0).append(str);
 						init();
+						getPhoneNumber();
 					}else{
 						stopManyClick(() =>{
 							toastr.error(res.msg)
@@ -595,7 +601,7 @@
 										<div class="record-time">${records[i].createTime.substring(5,7)}月${records[i].createTime.substring(8,10)}日${records[i].createTime.substr(11)}</div>
 										<div class="${records[i].receive === 1?'record-operate':'record-operate operate-btn'}"
 										data-awardId="${records[i].id}" data-awardName="星曜${records[i].effectiveTimeStr}卡">
-										${records[i].receive === 1?'已使用':'取'}</div>
+										${records[i].receive === 1?'已使用':'取'}</div>
 									</div>`
 						}
 						$('.data-list').eq(0).append(str)