|
|
|
@ -7,13 +7,14 @@ |
|
|
|
|
<view class="box_1"> |
|
|
|
|
<image :src="$picUrl+'/static/default-logo.png'" v-if="!isLogin || !userInfo.avatar_url" class="image_2" |
|
|
|
|
@click="goLogin()"></image> |
|
|
|
|
<image :src="userInfo.avatar_url" v-else class="image_2"></image> |
|
|
|
|
<image :src="userInfo.avatar_url" @click="goJump('/pages/news1/setting')" v-else class="image_2"></image> |
|
|
|
|
<view class="group_1"> |
|
|
|
|
<view class="image-text_1" v-if="!isLogin" @click="goLogin()"> |
|
|
|
|
未登录 |
|
|
|
|
</view> |
|
|
|
|
<button class="avatar-wrapper" v-else type="primary" open-type="chooseAvatar" |
|
|
|
|
@chooseavatar="onChooseAvatar"> |
|
|
|
|
<!-- open-type="chooseAvatar" |
|
|
|
|
@chooseavatar="onChooseAvatar" --> |
|
|
|
|
<button class="avatar-wrapper" v-else type="primary" @click="goJump('/pages/news1/setting')"> |
|
|
|
|
<text lines="1" class="text-group_1">{{userInfo.nick_name}}</text> |
|
|
|
|
<image :src="$picUrl+'/static/user/weChat.png'" class="thumbnail_1"></image> |
|
|
|
|
</button> |
|
|
|
@ -554,8 +555,8 @@ |
|
|
|
|
<text v-if="lookMemberType == 3">我的专属分销识别码</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="codeImg"> |
|
|
|
|
<image v-if="lookMemberType == 2" :src="qrcode" class="img"></image> |
|
|
|
|
<image v-if="lookMemberType == 3" :src="qrcode" class="img"></image> |
|
|
|
|
<image v-if="lookMemberType == 2" :show-menu-by-longpress="true" :src="qrcode" class="img"></image> |
|
|
|
|
<image v-if="lookMemberType == 3" :show-menu-by-longpress="true" :src="qrcode" class="img"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="codeName"> |
|
|
|
|
{{userInfo.user_id}} |
|
|
|
|