<!--component/personCenter/personCenter.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" />
<view wx:if='{{!currentMobile}}' class="member-unActive {{personCenter.noactiveBackgroundImageUrl ?'':'member-unActive-bgc'}}" bindtap="handleTtoActiveMemebr">
	<image
	 wx:if="{{currentHasUserInfo}}"
	 src="{{utils.formateUrl(personCenter.noactiveBackgroundImageUrl,baseImgUrl)}}"
	 class="no-active-img"
	 mode="widthFix"
	/>
	<button
	 wx:if="{{!currentHasUserInfo}}"
	 bindgetuserinfo="_getUserInfo"
	 data-jflag="false"
	 open-type='getUserInfo'
	 class='btn df'
	 hover-class="btn-hover"
	 style="height:100%"
	>
		<image src="{{utils.formateUrl(personCenter.noactiveBackgroundImageUrl,baseImgUrl)}}" class="no-active-img" mode="widthFix" />
	</button>
</view>
<view
 wx:if='{{currentMobile}}'
 catchtap="handleToMemberOfOwn"
 class="activation-content activation-bg {{true ? 'user-content' : ''}}"
 style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-color: ' + baseUrl + ';'}}"
>
	<view class='user-info' wx:if='{{currentMobile}}'>
		<view class="user-avatar">
			<open-data type="userAvatarUrl" />
		</view>
		<view class='user-name-content'>
			<view class='user-name'>
				<!-- 1 浅色 2 黑色-->
				<open-data
				 type="userNickName"
				 style="color:{{personCenter.fontColor == 2? '#000' : '#fff'}};"
				 class="userinfo-nickname"
				 lang="zh_CN"
				/>
			</view>
			<view class='user-id' style="color:{{personCenter.fontColor == 2? '#000' : '#fff'}};">{{memberCardNo}}</view>
		</view>
		<view class='qr-code pr'>
			<image class="qr-code-img" src='/assets/imgs/711_11.png' />
		</view>
	</view>
</view>
<view class='df tc person-num' wx:if='{{currentMobile}}'>
	<view class='df-1 point person-right' bindtap="toBonusDetails" wx:if="{{personCenter.bonus == 0}}">
		<view class='point-number' style="color:{{personCenter.fontColor}};">{{integralNum}}</view>
		<view class='point-desc' style="color:{{personCenter.fontColor}};">积分</view>
	</view>
	<view class='df-1 point' bindtap="toCouponList" wx:if="{{personCenter.coupon == 0}}">
		<view class='point-number' style="color:{{personCenter.fontColor}};">{{couponNum}}</view>
		<view class='point-desc' style="color:{{personCenter.fontColor}};">优惠券</view>
	</view>
</view>
<!--plus-->
<view class='df tc person-num' wx:if='{{currentMobile}}'>
	 <image class="" src='{{currentPlusStyle.imageUrl}}' mode="widthFix" />
</view>

