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