<template>
	<view class="OutermostLayer">
	<view class="Personalinformation">
		<u-cell-group>
			<u-cell
			    size="large"
			    title="用户名"
			    :value="getuserInfo.realName"
			></u-cell>
			<u-cell
			    size="large"
			    title="手机"
				:value="getuserInfo.mobile"
			></u-cell>
			<u-cell
			    size="large"
			    title="邮箱"
				:value="getuserInfo.email"
			></u-cell>
			<u-cell
			    size="large"
			    title="性别"
				:value="getuserInfo.gender==0?'男':'女'"
			></u-cell>
			<!--<u-cell-->
			    <!--size="large"-->
			    <!--title="地址"-->
			    <!--value="安徽省合肥市"-->
			<!--&gt;</u-cell>-->
			<u-cell
			    size="large"
			    title="部门"
			    value="合肥传秀科技技术部"
			></u-cell>
			<!--<u-cell-->
			    <!--size="large"-->
			    <!--title="职位"-->
			    <!--value="前端工程师"-->
			<!--&gt;</u-cell>-->

		<u-cell
		    size="large"
		    title="个人信息"
		    value="修改"
		    isLink
			@click="editdata"
		></u-cell>
		</u-cell-group>
	</view>
		</view>
</template>

<script>
	export default {
		data() {
			return {
				getuserInfo:{},

			};
		},
		onLoad() {
			this.getuserInfo = uni.getStorageSync('getuserInfo');
		//	console.log('111111111111111111', this.getuserInfo)
		//	this.getappuserdata();
		},
		methods: {
			// getappuserdata(){
			// 	this.$api.get('/user/'+this.getuserInfo.id,{})
			// 			.then(res=>{
			// 				console.log('111111111111111111',res)
			//
			// 			})
			// },

			editdata(){
				uni.navigateTo({
					url: '/pages/my/Personalinformation/Informationmodification/Informationmodification'
				})
			},


				}


	}
</script>

<style lang="scss">
.Personalinformation{
	padding: 30rpx;
}


</style>
