浏览代码

Merge branch 'release/v5.4.0' of Software/android-cloud-H5 into test

heyang 2 年之前
父节点
当前提交
3a9ecfcb79
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      static/microserviceUserH5/vcloud/awardActivity.html

+ 5 - 1
static/microserviceUserH5/vcloud/awardActivity.html

@@ -458,6 +458,7 @@
 					return lotteryResult[key];
 				})
 				goodsList();
+				rewardList();
 				allotTimeCardList();
 				$('.main-contain').eq(0).append(result)
 				$('.times').eq(0).text(lotteryResult.lotteryCount)
@@ -570,7 +571,10 @@
 							headerAward();
 							$('.rule-point-wrap').eq(0).html(actRule)
 							$('.times').eq(0).text(lotteryCount)
-							$('.all-award-wrap').eq(0).append(result)
+						    let content = $('.all-award-wrap').eq(0).text();
+							if(!content){
+								$('.all-award-wrap').eq(0).append(result)
+							}
 						}else{
 							stopManyClick(() =>{
 								toastr.error(res.msg)