12345678910111213141516171819202122232425 |
- <template>
- <view class="">
- <web-view :src="url"></web-view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- url: ""
- }
- },
- onLoad(op) {
- this.url = '/hybrid/html/web/viewer.html?file=' + encodeURIComponent(op.url)
- },
- methods: {
- }
- }
- </script>
- <style>
- </style>
|