| 
														
															@@ -8,7 +8,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <section class="question-wrap"> 
														 | 
														
														 | 
														
															     <section class="question-wrap"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <!-- src="https://web.sdk.qcloud.com/im/demo/latest/index.html" --> 
														 | 
														
														 | 
														
															       <!-- src="https://web.sdk.qcloud.com/im/demo/latest/index.html" --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <iframe         
														 | 
														
														 | 
														
															       <iframe         
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        src="https://veterhchat.hw.hongweisoft.com/" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        :src="iframeUrl" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         class="mapFrame" 
														 | 
														
														 | 
														
															         class="mapFrame" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ref="mapFrame" 
														 | 
														
														 | 
														
															         ref="mapFrame" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       ></iframe> 
														 | 
														
														 | 
														
															       ></iframe> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -25,9 +25,13 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   data() { 
														 | 
														
														 | 
														
															   data() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       type: "", 
														 | 
														
														 | 
														
															       type: "", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      userInfo:{}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      iframeUrl:'', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  created() {}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  created() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     this.getUserInfo(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   mounted() { 
														 | 
														
														 | 
														
															   mounted() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // https://blog.csdn.net/qq_39024950/article/details/90317738 
														 | 
														
														 | 
														
															     // https://blog.csdn.net/qq_39024950/article/details/90317738 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     let mapFrame = this.$refs["mapFrame"]; 
														 | 
														
														 | 
														
															     let mapFrame = this.$refs["mapFrame"]; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -58,6 +62,23 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }; 
														 | 
														
														 | 
														
															       }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  methods:{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getUserInfo() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.$api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        .getUserInfo() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        .then((res) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // 当请求成功 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (res.code == "200") { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            console.log("getUserInfo res", res); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.userInfo = res.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.iframeUrl =`http://veterhchat.hw.hongweisoft.com/#/pages/login/login?userID=${res.data.id}&type=teacher` 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        .catch((error) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          console.log(error); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <style lang="scss" scoped> 
														 | 
														
														 | 
														
															 <style lang="scss" scoped> 
														 |