This commit is contained in:
2025-11-14 11:39:33 +08:00
parent 6e5d892992
commit 1ba633ba45
7143 changed files with 922330 additions and 0 deletions

25
pages/webview/webview.vue Normal file
View File

@@ -0,0 +1,25 @@
<template>
<view v-if="src">
<web-view :webview-styles="wbStyles" :src="src" :fullscreen="false" />
</view>
</template>
<script>
export default {
data() {
return {
title: '',
src: '',
wbStyles: {
width: '100%',
height: '100%',
},
}
},
onLoad(option) {
console.log(option.title);
this.title = option?.title
this.src = option?.src
},
}
</script>