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.
 
 
 
 
 

25 lines
443 B

<template>
<web-view :src="url"></web-view>
</template>
<script>
const DEFAULT_URL = 'https://hbkuaishi.com/yinsi.html'
export default {
data() {
return {
url: DEFAULT_URL
}
},
onLoad(options) {
if (options && options.url) {
this.url = decodeURIComponent(options.url)
}
if (options && options.title) {
uni.setNavigationBarTitle({
title: decodeURIComponent(options.title)
})
}
}
}
</script>