| 
														
															@@ -60,7 +60,7 @@ import { onMounted, reactive, ref } from "vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let dom_toolbox = ref(null) 
														 | 
														
														 | 
														
															 let dom_toolbox = ref(null) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let dom_iframe = ref(null) 
														 | 
														
														 | 
														
															 let dom_iframe = ref(null) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let state = reactive({ 
														 | 
														
														 | 
														
															 let state = reactive({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    status: '加载', // 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    status: '', // 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     show_alert: false, 
														 | 
														
														 | 
														
															     show_alert: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     show_btn: true, 
														 | 
														
														 | 
														
															     show_btn: true, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     list: [], 
														 | 
														
														 | 
														
															     list: [], 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -134,6 +134,7 @@ onMounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // detail函数 
														 | 
														
														 | 
														
															 // detail函数 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const getDetail = () => { 
														 | 
														
														 | 
														
															 const getDetail = () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    state.status = '加载' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     httpContentToBack({ 
														 | 
														
														 | 
														
															     httpContentToBack({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         url: `/post/getDetail`, 
														 | 
														
														 | 
														
															         url: `/post/getDetail`, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         params: { 
														 | 
														
														 | 
														
															         params: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -146,19 +147,20 @@ const getDetail = () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             // 加载iframe 
														 | 
														
														 | 
														
															             // 加载iframe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             let iframe = dom_iframe.value 
														 | 
														
														 | 
														
															             let iframe = dom_iframe.value 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             // state.detail.convertUrl = 'https://www.bilibili.com' 
														 | 
														
														 | 
														
															             // state.detail.convertUrl = 'https://www.bilibili.com' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            iframe.onerror = () => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                state.status = '网页错误' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            iframe.onload = function () { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                if (state.status != '固定右上角') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                    state.status = '' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            // iframe.onerror = () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //     state.status = '网页错误' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            // iframe.onload = function () { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //     if (state.status != '固定右上角') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //         state.status = '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             setTimeout(() => { 
														 | 
														
														 | 
														
															             setTimeout(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 state.iframe_url = state.detail.convertUrl 
														 | 
														
														 | 
														
															                 state.iframe_url = state.detail.convertUrl 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                state.status = '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }, 1000) 
														 | 
														
														 | 
														
															             }, 1000) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else { 
														 | 
														
														 | 
														
															         } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            state.status = '' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            state.status = '网页错误' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }) 
														 | 
														
														 | 
														
															     }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |