| xqd
@@ -24,7 +24,7 @@
|
|
|
<view class="pr m-xcenter plr20 header-box" style="padding: 40rpx 40rpx;background-color: #fff;border-radius: 16rpx;">
|
|
|
<navigator class="m-flex tl f14 m-ycenter dpb" hoverClass="none">
|
|
|
<view class="m-gray-big f20 fb pr10">0</view>
|
|
|
- <view class="m-gray-letter mt5 f12">代币(个)</view>
|
|
|
+ <view class="m-gray-letter mt5 f12">余额(元)</view>
|
|
|
</navigator>
|
|
|
<view bindtap="" class="m-flex tl f14 m-ycenter">
|
|
|
<view class="m-gray-big f20 fb">0</view>
|
| xqd
@@ -147,7 +147,8 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- itemcurrent: 0
|
|
|
+ itemcurrent: 0,
|
|
|
+ userinfo: {}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
| xqd
@@ -156,7 +157,9 @@
|
|
|
},
|
|
|
getUserInfo: async function() {
|
|
|
let res = await this.$request.post('/api/v1/user/userInfo')
|
|
|
- console.log(res)
|
|
|
+ if (res.status == 0) {
|
|
|
+ this.userinfo
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|