| 
														
															@@ -135,20 +135,20 @@ state.inviteInit = () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-const setLineFull = (box_num = 0, needInviteCount = 0, successInviteCount = 0) => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const setLineFull = (box_num = 0, finishNeedInviteCount = 0, successInviteCount = 0) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if (box_num == 0) { 
														 | 
														
														 | 
														
															     if (box_num == 0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        line_full.value.style.width = (successInviteCount / needInviteCount) * 80 + 'px' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } else if (box_num = 1) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        line_full.value.style.width = ((successInviteCount / needInviteCount) * 100 + 80) + 'px' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } else if (box_num = 2) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        line_full.value.style.width = ((successInviteCount / needInviteCount) * 100 + 180) + 'px' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        line_full.value.style.width = (successInviteCount / finishNeedInviteCount) * 80 + 'px' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } else if (box_num == 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        line_full.value.style.width = ((successInviteCount / finishNeedInviteCount) * 100 + 80) + 'px' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } else if (box_num == 2) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        line_full.value.style.width = ((successInviteCount / finishNeedInviteCount) * 100 + 180) + 'px' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const btnStatus = () => { 
														 | 
														
														 | 
														
															 const btnStatus = () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     for (let i in state.boxs) { 
														 | 
														
														 | 
														
															     for (let i in state.boxs) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (state.boxs[i].taskFinishStatus == 0) { 
														 | 
														
														 | 
														
															         if (state.boxs[i].taskFinishStatus == 0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            let num = state.boxs[i].needInviteCount - state.boxs[i].successInviteCount 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            let num = state.boxs[i].finishNeedInviteCount - state.boxs[i].successInviteCount 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if (num == 1) { 
														 | 
														
														 | 
														
															             if (num == 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 state.open_btn.txt = 'Invite a friend to open the chest' 
														 | 
														
														 | 
														
															                 state.open_btn.txt = 'Invite a friend to open the chest' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } else { 
														 | 
														
														 | 
														
															             } else { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -171,7 +171,7 @@ const btnStatus = () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (item.taskFinishStatus == 1) { 
														 | 
														
														 | 
														
															         if (item.taskFinishStatus == 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            setLineFull(index, item.needInviteCount, item.successInviteCount) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            setLineFull(index, item.finishNeedInviteCount, item.successInviteCount) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 三个箱子全部打开了  
														 | 
														
														 | 
														
															         // 三个箱子全部打开了  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (item.openStatus == 1) { 
														 | 
														
														 | 
														
															         if (item.openStatus == 1) { 
														 |