You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
356 B
23 lines
356 B
<template>
|
|
<view>
|
|
<web-view :src="url"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
url: ''
|
|
}
|
|
},
|
|
onLoad(option) {
|
|
this.url = decodeURIComponent(option.url)
|
|
const title = option.fullName || ''
|
|
if (option.type == 5 || !title) return
|
|
uni.setNavigationBarTitle({
|
|
title
|
|
})
|
|
}
|
|
}
|
|
</script> |