<template>
	<view id="personal-data">
		<nav-bar :is-back="true" title="个人资料"></nav-bar>
		<view class="list-box">
			<view class="item">
				<view class="item-left">
					<text>用户账号</text>
				</view>
				<text>{{infoData.userName}}</text>
			</view>
			<view class="item">
				<view class="item-left">
					<text>手机号码</text>
				</view>
				<text>{{infoData.phonenumber}}</text>
			</view>
			<view class="item">
				<view class="item-left">
					<text>公司名称</text>
				</view>
				<text>中海创科技（福建）集团有限公司</text>
			</view>
			<view class="item">
				<view class="item-left">
					<text>邮箱</text>
				</view>
				<text>{{infoData.email}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	import NavBar from '@/common/components/navbar/NavBar.vue'
	export default {
		data() {
			return {
				infoData:{},
			}
		},
		components: {
			NavBar
		},
		onLoad() {
			this.infoData = uni.getStorageSync('info');
		},
		onShow() {

		},
		methods: {
			
		}
	}
</script>

<style scoped lang="less">
	#personal-data{
		.list-box{
			padding: 0 20rpx;
			.item{
				padding: 0 12rpx;
				height: 100rpx;
				border-bottom: 1px solid #E5E5E5;
				display: flex;
				align-items: center;
				justify-content: space-between;
				font-size: 28rpx;
				.item-left{
					box-sizing: border-box;
					// width: 294rpx;
					display: flex;
					align-items: center;
					color: #666;
				}
				>text{
					color: #444;
				}
			}
		}
	}
</style>
