Authored by 王水玲

ufo

... ... @@ -53,7 +53,6 @@ export default {
},
miniAppBindByAuto(params) {
return api.get({
url: '/wechat/',
api: 'yohoApi',
data: Object.assign({
method: 'app.passport.miniAppBindByAuto'
... ... @@ -62,7 +61,6 @@ export default {
},
profile(params) {
return api.get({
url: '/wechat/',
api: 'yohoApi',
data: Object.assign({
method: 'app.passport.profile'
... ... @@ -71,7 +69,6 @@ export default {
},
getInfoNum(params) {
return api.get({
url: '/wechat/',
api: 'yohoApi',
data: Object.assign({
method: 'app.home.getInfoNum'
... ...
... ... @@ -257,10 +257,12 @@ export default class UserCenter extends Component {
{
isLogin &&
<View>
<View className="user-name">{userInfo.nickName}</View>
<Image className='vip-icon-image' src={userInfo.vipImg}></Image>
</View>
<View className="user-name">{userInfo.nickName}</View>
}
{
userInfo.vipImg &&
<Image className='vip-icon-image' src={userInfo.vipImg} mode="aspectFill"></Image>
}
</View>
{
... ...
... ... @@ -12,6 +12,7 @@
width: 96px;
height: 96px;
margin-right: 12px;
border-radius: 50%;
}
.user-name {
... ...