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
43 lines
674 B
<template>
|
|
<view class="wrap">
|
|
<web-view :src="'http://192.168.3.14:8080/?token='+userInfoToken"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
userInfoToken: ''
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
},
|
|
onLoad(e) {
|
|
let userInfo = uni.getStorageSync('userinfo') || {};
|
|
this.userInfoToken = userInfo.token
|
|
console.log(this.userInfoToken)
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
page{
|
|
background-color: #F5F5F5;
|
|
}
|
|
</style>
|
|
<style scoped>
|
|
.wrap {
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: #F5F5F5;
|
|
}
|
|
.unit{
|
|
display: flex;
|
|
height: 100rpx;
|
|
align-items: flex-end;
|
|
box-sizing: border-box;
|
|
padding-bottom: 10rpx;
|
|
}
|
|
</style>
|