webView.vue 421 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view>
  3. <nav-header></nav-header>
  4. <web-view :webview-styles="webviewStyles" :src="path"></web-view>
  5. </view>
  6. </template>
  7. <script>
  8. import navHeader from "@/components/my/nav_header.vue"
  9. export default {
  10. components:{navHeader},
  11. data() {
  12. return {
  13. webviewStyles: {
  14. progress: {
  15. }
  16. },
  17. path:""
  18. }
  19. },
  20. onLoad(e) {
  21. this.path = e.path
  22. }
  23. }
  24. </script>
  25. <style>
  26. </style>