reportDetail.vue 733 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <view class="content">
  3. <web-view :src="urlStr"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. urlStr:'',
  11. }
  12. },
  13. onLoad(opt) {
  14. console.log(this.$request.webUrl)
  15. this.urlStr = this.$request.webUrl+'#/carOwner/Report/' + opt.id + '?noAuth=true&hideHeader=true'
  16. //this.urlStr = 'http://webwx.66km.com/#/carOwner/Report/' + opt.id + '?noAuth=true&hideHeader=true'
  17. //this.urlStr = 'http://dms.32che.cn/#/carOwner/Report/' + opt.id + '?noAuth=true&hideHeader=true'
  18. console.log('urlstr=+',this.urlStr);
  19. },
  20. methods: {
  21. }
  22. }
  23. </script>
  24. <style>
  25. .content {
  26. height: 100%;
  27. width: 100%;
  28. background-color: #FFFFFF;
  29. }
  30. </style>