60 lines
797 B
Vue
60 lines
797 B
Vue
<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> |