<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>
