JM-MiniApp/pages/webview/webview.vue
2023-10-08 21:21:21 +08:00

32 lines
472 B
Vue

<template>
<view>
<web-view :webview-styles="webviewStyles" :src="links"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
webviewStyles: {
progress: {
color: '#006647'
}
},
links: ''
};
},
onLoad(e) {
this.links = e.links;
console.log(this.links, '......')
uni.setNavigationBarTitle({
title: e.name
});
},
}
</script>
<style lang="scss">
</style>