<view class="bj">
	<image src="../../images/person_bj.jpg" style="width:750rpx;height:350rpx"></image>
	<view class="top">
		<image class="img" src="{{avatarUrl}}"></image>
  <!-- <image class="img avatar" src='{{userInfo.avatarUrl}}'></image> -->
		<view class="nick">
			<view wx:if="{{nick}}">{{nick}}</view>
			<button wx:else open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo" id="login_btn">
				[点击登陆账户]
			</button>
		</view>
	</view>
	<view class="middle">
		<view wx:for="{{tabArr}}" wx:key="index" class="block" data-index='{{index}}' data-src="{{item.url}}" bindtap="goTab">
			<image src="{{item.img}}" style="width:91rpx;height:92rpx;margin-left:30rpx"></image>
			<view style="color:#6f7582;font-size:30rpx;margin-left:30rpx">{{item.name}}</view>
		</view>
	</view>
</view>
<view class="tabbar">
	<view class="tab1" bindtap="goIndex">
		<image src="../../images/unactive_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view>首页</view>
	</view>
	<view class="tab1">
		<image src="../../images/unactive_bar2.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<button type="primary" id="red" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}|foreignid={{userInfo.foreignid}}|referrerTitle={{ysf.title}}|ysf.config= {{ysf.config}}"
        open-type="contact"
        >客服</button>
	</view>
		<view class="tab1" bindtap="goInfo" bindtap="goInfo">
		<image src="../../images/unactive_bar4.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view>注册</view>
	</view>
	<view class="tab1" bindtap="goMy">
		<image src="../../images/active_bar3.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view style="color:#a342ff">我的</view>
	</view>
</view>