时空网前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
674 B

  1. <template>
  2. <view class="wrap">
  3. <web-view :src="'http://192.168.3.14:8080/?token='+userInfoToken"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. userInfoToken: ''
  11. }
  12. },
  13. methods: {
  14. },
  15. onLoad(e) {
  16. let userInfo = uni.getStorageSync('userinfo') || {};
  17. this.userInfoToken = userInfo.token
  18. console.log(this.userInfoToken)
  19. }
  20. }
  21. </script>
  22. <style>
  23. page{
  24. background-color: #F5F5F5;
  25. }
  26. </style>
  27. <style scoped>
  28. .wrap {
  29. height: 100%;
  30. width: 100%;
  31. background-color: #F5F5F5;
  32. }
  33. .unit{
  34. display: flex;
  35. height: 100rpx;
  36. align-items: flex-end;
  37. box-sizing: border-box;
  38. padding-bottom: 10rpx;
  39. }
  40. </style>