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