<template>
	<view class="container">
		<uni-list :border="true">
			<uni-list-item title="昵称" >
				<view slot="footer" >
					{{userinfo.nickname}}
				</view>
			</uni-list-item>
			<uni-list-item title="手机号码" >
				<view slot="footer" >
					{{userinfo.phonenumber}}
				</view>
			</uni-list-item>
			<uni-list-item title="部门" >
				<view slot="footer" >
					{{userinfo.deptName}}
				</view>
			</uni-list-item>
			<uni-list-item title="身份证号码" >
				<view slot="footer" >
					{{userinfo.idCard}}
				</view>
			</uni-list-item>
			<uni-list-item title="银行卡号" >
				<view slot="footer" >
					{{userinfo.accNo}}
				</view>
			</uni-list-item>
			<uni-list-item title="开户行" >
				<view slot="footer" >
					{{userinfo.bank}}
				</view>
			</uni-list-item>
		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userinfo: this.$store.state.user.userinfo
			}
		},
		onLoad() {
			// console.log(this.userinfo, 'userinfo')
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page {
		background-color: #ffffff;
	}
</style>