You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
657 B

1 year ago
<template>
<view>
<web-view :src="link"></web-view>
</view>
</template>
<script>
export default{
data(){
return{
1 year ago
link:'',
1 year ago
baseUrl:'https://www.sstbc.com'
1 year ago
}
},
onLoad(options) {
if(options.type==1){
1 year ago
// 关于我们
1 year ago
this.link = this.baseUrl+'/about/aboutinfo/?from=wx'
1 year ago
}else if(options.type==2){
1 year ago
// 资讯
1 year ago
this.link = this.baseUrl+`/news/?from=wx`
1 year ago
}else if(options.type==3){
1 year ago
// 资讯详情
1 year ago
this.link = this.baseUrl+`${options.url}?from=wx`
}else if(options.type==4){
// 联系我们
this.link = this.baseUrl+`/contact/?from=wx`
1 year ago
}
},
methods:{
}
}
</script>
<style>
</style>