| 
					
				 | 
			
			
				@@ -64,7 +64,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<FontZoom width="330"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<div class="mobile-land-page-tip">{{ tipCpd }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</FontZoom> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<div class="mobile-land-page-login-twitter" @click="toLogin">{{ isLoginCpd ? 'Claim Prize' : 'Login Twitter' }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<div class="mobile-land-page-login-twitter" @click="toLogin">{{ isLoginCpd || loginSuccessBack ? 'Claim Prize' : 'Login Twitter' }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -73,8 +73,6 @@ import { getStorage, setStorage, removeStorage, storageKey, getOauthUrl, createW 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { postRequest } from '../http'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import FontZoom from './FontZoom'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const TO_LOGIN_KEY = 'twitter-login-from-denet-mobile-h5-landpage'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const overTimePic = require('../static/img/icon-h5-denet.svg'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const giveawayPic = require('../static/img/icon-h5-giveaway.svg'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const redpackPic = require('../static/img/icon-h5-redpack.svg'); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -137,6 +135,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			timer: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			loginSuccessBack: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	computed: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -192,7 +191,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if (userInfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				location.href = `/course?useful=${this.useFul ? '1' : '0'}&playType=${this.playType}&rewardType=${this.rewardType}&postId=${this.postId}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				setStorage(TO_LOGIN_KEY, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.twitterAuth(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -227,18 +225,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (code == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						setStorage(storageKey.userInfo, data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						removeStorage(storageKey.verifier); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						this.loginSuccessBack = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						location.href = `/course?useful=${this.useFul ? '1' : '0'}&playType=${this.playType}&rewardType=${this.rewardType}&postId=${this.postId}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		const fromTwitterLoginPage = getStorage(TO_LOGIN_KEY); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		if (fromTwitterLoginPage) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			removeStorage(TO_LOGIN_KEY); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			location.href = `/course?useful=${this.useFul ? '1' : '0'}&playType=${this.playType}&rewardType=${this.rewardType}&postId=${this.postId}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	components: { FontZoom }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |