|
|
@ -39,8 +39,8 @@ |
|
|
|
<!-- 用户基本信息 --> |
|
|
|
<view class='user_top' style="background-color:{{bgcolor}}"> |
|
|
|
<view class='user_top_two'> |
|
|
|
<image class='user_top_image' src="{{user.headimgurl ? user.headimgurl:'/images/heads.png'}}" /> |
|
|
|
<block wx:if="{{user}}"> |
|
|
|
<image class='user_top_image' src="{{user.headimgurl ? user.headimgurl:'/images/heads.png'}}" /> |
|
|
|
<view class='user_mc' bindtap="copyText" data-text="{{user.user_id}}" style='display:block;'> |
|
|
|
<view class='user_name'>{{user.user_name}}</view> |
|
|
|
<image class="level" wx:if="{{user.level==1}}" src="/images/member/lv_1.png" mode="aspectFill" bindtap="navToMemberCenter"></image> |
|
|
@ -52,6 +52,7 @@ |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<block wx:else> |
|
|
|
<image class='user_top_image' src="/images/heads.png" bindtap="login"/> |
|
|
|
<view class='login' bindtap="login">点击登录/注册</view> |
|
|
|
</block> |
|
|
|
<view class="top-message"> |
|
|
|