1234567891011121314151617181920212223242526272829 |
- <template>
- <view>
- <web-view v-if="url" :src="url"></web-view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- url: ''
- }
- },
- onLoad: function(option) {
-
- // 课程ID
- this.url = decodeURIComponent(option.url);
-
- console.log('++++url:'+ this.url)
- },
- methods: {
-
- }
- }
- </script>
- <style>
- </style>
|