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

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

<style>
</style>