<scroll-view scroll-y class="scrollPage">
	<view class="user-box">
		<navigator url="#" class="user-con" bindtap="changeUserMsg">
			<van-image image-class="v-img" round width="128rpx" height="128rpx" src="{{userMsg.attinfos[0].url||'/static/image/user.png'}}" />
			<view class="user-msg">
				<view class="user-name">
					<view class="name line-1">{{userMsg.name}}</view><text>{{userMsg.hr.position}}</text>
				</view>
				<view class="user-phone">
					{{userMsg.phonenumber}}
				</view>
			</view>
			<van-icon size='40rpx' name="arrow" />
		</navigator>
	</view>
	<view class="operating">
		<navigator class="item" wx:if="{{userMsg.enterprise.sys_enterpriseid}}" url="/pages/bankAccount/index?id={{userMsg.enterprise.sys_enterpriseid}}">
			<view class="con">
				<view class="label">
					<text class="iconfont icon-zhanghu" style="font-size: 32rpx !important; margin-left: 8rpx;margin-right: 16rpx;color:rgb(255, 145, 0);" />
					银行卡信息
				</view>
				<view class="item-right">
					<van-icon size='30rpx' name="arrow" />
				</view>
			</view>
		</navigator>
		<navigator class="item" wx:if="{{userMsg.enterprise.sys_enterpriseid}}" url="/pages/address/index?id={{userMsg.enterprise.sys_enterpriseid}}">
			<view class="con">
				<view class="label">
					<text class="iconfont icon-a-wodemendianxinxidizhi" style="color: #085CDF;" />
					我的地址
				</view>
				<view class="item-right">
					<van-icon size='30rpx' name="arrow" />
				</view>
			</view>
		</navigator>
		<navigator class="item" url="{{item.name=='团队管理'?item.path+'?auth='+teamAuth:item.path}}" wx:for="{{pathList}}">
			<view class="con">
				<view class="label">
					<text class="iconfont {{item.icon}}" style="color: {{item.color}};" />
					{{item.name}}
				</view>
				<view class="item-right">
					<van-icon size='30rpx' name="arrow" />
				</view>
			</view>
		</navigator>

		<navigator class="item" url="#" bindtap="bindingWechat">
			<view class="con">
				<view class="label">
					<text class="iconfont icon-a-wodebangdingweixin" style="color: var(--success);" />
					绑定微信
					<view wx:if="{{userMsg.iswechatbinding}}" class="bd-wechat">已绑定</view>
				</view>
				<view class="item-right">
					<image class="user-img" wx:if="{{userMsg.iswechatbinding}}" src="{{userMsg.wechatuserinfo.avatarUrl}}" />
					<view class="tips right-false" wx:else>
						未绑定
					</view>
					<van-icon size='30rpx' name="arrow" />
				</view>
			</view>
		</navigator>
	</view>
	<view style="width: 100vw;text-align: center;margin-top: 200rpx;">
		<van-button custom-class='out-login' color="#CCC" bindtap="outLogin" plain>退出登录</van-button>
	</view>
</scroll-view>