parent
							
								
									828505c2dd
								
							
						
					
					
						commit
						dcae130b4a
					
				|  | @ -1,13 +1,8 @@ | |||
| <template> | ||||
| 	<web-view class="web-view" :webview-styles="webviewStyles" :src="url" :style="{width: windowW + 'px', height: windowH + 'px'}"></web-view> | ||||
| 	<web-view class="web-view" :webview-styles="webviewStyles" :src="url" :style="{width: windowW + 'px', height: windowH + 'px'}" /> | ||||
| </template> | ||||
| 
 | ||||
| <script> | ||||
| 	import { | ||||
| 		mapGetters | ||||
| 	} from "vuex"; | ||||
| 	export default { | ||||
| 		//computed: mapGetters(['chatUrl']), | ||||
| 		data() { | ||||
| 			return { | ||||
| 				windowH: 0, | ||||
|  | @ -21,7 +16,9 @@ | |||
| 			} | ||||
| 		}, | ||||
| 		onLoad(option) { | ||||
| 			if(option.webUel) this.url = option.webUel; | ||||
| 			if (option.webUel) { | ||||
|         this.url = option.webUel; | ||||
|       } | ||||
| 			uni.setNavigationBarTitle({ | ||||
| 				title: option.title | ||||
| 			}) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 YunaiV
						YunaiV