<template>
	<view class="wrap">
		<uni-list>
			<uni-list-item title="用户名" :rightText="userInfo.userName" ></uni-list-item>
			<uni-list-item title="公司" :rightText="userInfo.ocName" ></uni-list-item>
			<uni-list-item title="部门" :rightText="userInfo.groupName" ></uni-list-item>
			<uni-list-item title="岗位" :rightText="userInfo.positionName" v-if="userInfo.dangerLocation"></uni-list-item>
			<uni-list-item title="手机" :rightText="userInfo.userPhone" ></uni-list-item>
			<uni-list-item title="简介" :note="userInfo.userIntro"></uni-list-item>	
		</uni-list>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				userInfo:{},
			}
		},
		onLoad() {
			  let userInfo=uni.getStorageSync('accountInfo')
			  this.userInfo=userInfo
		}
	}
</script>

<style  lang="scss" scoped>
.wrap{	
	padding:20rpx;
	.submit_bt{
		width: 600rpx;
		height: 72rpx;
		line-height: 72rpx;
		box-sizing: border-box;
		border-radius: 16upx;
		margin-top: 50upx;
		background-color:#3384FF;
		font-size: 32rpx;
		color: #fff;
	}
}
</style>