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
37 lines
657 B
<template>
|
|
<view>
|
|
<web-view :src="link"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default{
|
|
data(){
|
|
return{
|
|
link:'',
|
|
baseUrl:'https://www.sstbc.com'
|
|
}
|
|
},
|
|
onLoad(options) {
|
|
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> |