tuanyouh5.vue 478 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <view>
  3. <view>
  4. <!-- #ifdef APP -->
  5. <web-view :src="url"></web-view>
  6. <!-- #endif -->
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. url: ''
  15. }
  16. },
  17. onLoad(val) {
  18. console.log('val',val);
  19. this.url = val.url + "&token=" + val.token + "&timestamp=" + val.timestamp + "&sign=" + val.sign;
  20. // #ifdef H5
  21. location.href = this.url
  22. // #endif
  23. },
  24. methods: {
  25. }
  26. }
  27. </script>
  28. <style>
  29. .fullcrseen {
  30. height: 100vh;
  31. }
  32. </style>