Commit 3f328ed1 by 谢中龙

修改个人中心显示判断

parent 4b4ec0cd
<!--component/personCenter/personCenter.wxml--> <!--component/personCenter/personCenter.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" /> <wxs src="../../wxs/utils.wxs" module="utils" />
<view class="person-center-p"> <view class="person-center-p">
<view wx:if='{{!currentMobile}}' class="member-unActive {{ personCenter.noactiveBackgroundImageUrl ? '':'member-unActive-bgc'}}" bindtap="handleTtoActiveMemebr"> <view wx:if='{{!currentMobile && !memberActivateStatus}}' class="member-unActive {{ personCenter.noactiveBackgroundImageUrl ? '':'member-unActive-bgc'}}" bindtap="handleTtoActiveMemebr">
<image <image
wx:if="{{currentHasUserInfo}}" wx:if="{{currentHasUserInfo}}"
src="{{utils.formateUrl(personCenter.noactiveBackgroundImageUrl,baseImgUrl)}}" src="{{utils.formateUrl(personCenter.noactiveBackgroundImageUrl,baseImgUrl)}}"
...@@ -19,12 +19,11 @@ ...@@ -19,12 +19,11 @@
</button> </button>
</view> </view>
<view <view
wx:if='{{currentMobile}}' wx:if='{{currentMobile || memberActivateStatus}}'
catchtap="handleToMemberOfOwn" catchtap="handleToMemberOfOwn"
class="activation-content activation-bg {{true ? 'user-content' : ''}}" class="activation-content activation-bg {{true ? 'user-content' : ''}}"
style="{{personData.backgroundImageUrl ? 'background-image: url('+ utils.formateUrl(personData.backgroundImageUrl,baseImgUrl) +');' : 'background-color: ' + baseUrl + ';'}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ utils.formateUrl(personData.backgroundImageUrl,baseImgUrl) +');' : 'background-color: ' + baseUrl + ';'}}">
> <view class='user-info' wx:if='{{currentMobile || memberActivateStatus}}'>
<view class='user-info' wx:if='{{currentMobile}}'>
<view class="user-avatar"> <view class="user-avatar">
<view class="avator"> <view class="avator">
<open-data type="userAvatarUrl" /> <open-data type="userAvatarUrl" />
...@@ -51,7 +50,7 @@ ...@@ -51,7 +50,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class='df tc person-num' wx:if='{{currentMobile}}'> <view class='df tc person-num' wx:if='{{currentMobile || memberActivateStatus}}'>
<view class='df-1 point person-right' bindtap="toBonusDetails" wx:if="{{personCenter.bonus == 0}}"> <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-number' style="color:{{personCenter.fontColor}};">{{integralNum}}</view>
<view class='point-desc' style="color:{{personCenter.fontColor}};">积分</view> <view class='point-desc' style="color:{{personCenter.fontColor}};">积分</view>
...@@ -67,7 +66,4 @@ ...@@ -67,7 +66,4 @@
</view> </view>
</view> </view>
<!--plus--> <!--plus-->
<!-- <view class='df tc person-num' wx:if='{{currentMobile}}'>
<image class="" src='{{currentPlusStyle.imageUrl}}' data-row="{{currentPlusStyle.row}}" mode="widthFix" bindtap="toPlusPay"/>
</view> -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment