<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">
				{{userMsg.name}}<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/tabbar/mine/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>
<!-- 	<navigator wx:if="{{userMsg.iswechatbinding}}" class="item" url="#" bindtap="bindingOfficialAccounts">
		<view class="con">
			<view class="label">
				<text class="iconfont icon-a-wodebangdingweixin" style="color: var(--success);" />
				消息通知设置
			</view>
			<view class="item-right">
				<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>
<view style="height: 140rpx;" />