emis-sapp/pages/webview/index.vue

60 lines
797 B
Vue
Raw Normal View History

2024-10-30 14:44:26 +00:00
<template>
<tpx-page>
<web-view :src="queryOption.url"></web-view>
</tpx-page>
</template>
<script>
export default {
props: {
// hasLeftWin: {
// type: Boolean
// }
},
computed: {
dicData() {
return this.$store.getters.dicData
},
},
data() {
return {
queryOption: {
url: '',
},
}
},
onShareAppMessage() {
return {
}
},
onLoad(option) {
this.queryOption = option
if(option.url) {
this.queryOption.url = decodeURIComponent(option.url)
}
this.initData();
},
onUnload() {
},
methods: {
initData() {
},
}
}
</script>
<style lang="scss">
@import '@/common/uni-nvue.scss';
page {
background-color: #F6F6F6;
height: 100% !important;
}
</style>
<style scoped lang="scss">
</style>