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.

28 lines
451 B

<template>
<web-view :src="url" :webview-styles="webviewStyles"></web-view>
</template>
<script>
export default {
data() {
return {
url: '',
webviewStyles: {}
};
},
onLoad: function(option) {
const item = JSON.parse(decodeURIComponent(option.item));
const {
url,
webviewStyles
} = item
this.url = url
this.webviewStyles = webviewStyles ? webviewStyles : {}
}
}
</script>
<style lang="scss">
</style>