Commit cca978fe authored by youjie's avatar youjie

no message

parent 5eb368d9
<template>
<view class="user-profile column items-center">
<view style="margin-top: 20vh;" class="user-head" :style="{'background-image':`url(${user.photo})`}">
<view style="margin-top: 20vh;" class="user-head" :style="{'background-image':`url(${user.photo?user.photo:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638748795455095258.png'})`}">
<button class="editor-box" open-type="chooseAvatar" @chooseavatar="avatarChangeHandle">
<u-icon name="pen_" size="20" custom-prefix="tffont" color="#121212"></u-icon>
</button>
......@@ -65,7 +65,7 @@
const {name} = uni.getStorageSync('b2b_user')
if(this.user.name == '') this.user.name = name
this.saveVisible = this.user.name !=name
},
saveNicknameHandle(){
if(this.user.name!='' && this.saveVisible) this.saveUserProfileHandle()
......
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