<template>
	<view>
		<web-view :src="link"></web-view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				link:'',
				baseUrl:'https://szsatbc2024.115.langye.net'
			}
		},
		onLoad(options) {
			// http://szsatbc2024.115.langye.net
			if(options.type==1){
				// 关于我们
				this.link = this.baseUrl+'/about/aboutinfo/?from=wx'
			}else if(options.type==2){
				// 资讯
				this.link = this.baseUrl+`/news/?from=wx`
			}else if(options.type==3){
				// 资讯详情
				this.link = this.baseUrl+`${options.url}?from=wx`
			}else if(options.type==4){
				// 联系我们
				this.link = this.baseUrl+`/contact/?from=wx`
			}
		},
		methods:{
			
		}
	}
</script>

<style>
</style>