3 changed files with 63 additions and 4 deletions
@ -0,0 +1,23 @@ |
|||||
|
<template> |
||||
|
<view> |
||||
|
<web-view :src="url"></web-view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
url:"" |
||||
|
} |
||||
|
}, |
||||
|
onLoad(item) { |
||||
|
console.log(item) |
||||
|
this.url = item.url |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style> |
||||
|
|
||||
|
</style> |
||||
Loading…
Reference in new issue