This commit is contained in:
2019-12-28 16:31:20 +08:00
parent 3f513f121a
commit c43448f961
10 changed files with 130 additions and 31 deletions

View File

@@ -9,7 +9,8 @@ Page({
openid:"",
username:"",
img:"",
frozen_money:""
frozen_money:"",
level:1
},
/**
@@ -93,7 +94,8 @@ Page({
this.setData({
username:res.data.data.nick_name,
img:res.data.data.head_pic,
frozen_money:res.data.data.frozen_money
frozen_money:res.data.data.frozen_money,
level:res.data.data.level
})
}

View File

@@ -24,7 +24,7 @@
</view>
<view class="option" bindtap="tomember">
<view>会员中心</view>
<view><text style="font-size:28rpx;color:#999;">非会员 </text>></view>
<view><text style="font-size:28rpx;color:#999;">{{level == 2 ? "会员":"非会员"}} </text>></view>
</view>
<view class="option" bindtap="toyue">
<view>我的余额</view>