mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-08 01:42:28 +08:00
30 lines
502 B
Vue
30 lines
502 B
Vue
<template>
|
|
<view v-if="src">
|
|
<web-view :webview-styles="wbStyles" :src="src" :fullscreen="false" bindmessage="handleGetMessage"/>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
title: '',
|
|
src: '',
|
|
wbStyles: {
|
|
width: '100%',
|
|
height: '100%',
|
|
},
|
|
}
|
|
},
|
|
methods: {
|
|
handleGetMessage(e){
|
|
|
|
}
|
|
},
|
|
onLoad(option) {
|
|
console.log(option.title);
|
|
this.title = option?.title
|
|
this.src = option?.src
|
|
},
|
|
}
|
|
</script> |