Merge branch 'main' of https://git.yuzhankeji.cn/TmOct5/BlockChainH5
This commit is contained in:
@@ -128,7 +128,7 @@
|
|||||||
<view class="userAssets">
|
<view class="userAssets">
|
||||||
<view class="userAssets-top">
|
<view class="userAssets-top">
|
||||||
<view class="withdraw-name">
|
<view class="withdraw-name">
|
||||||
当前能量球价值<view class="withdraw-number">¥0.00</view>
|
当前能量球价值<view class="withdraw-number">¥{{userData.account.stone_value || 0}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="withdraw-btn" @click="$Router.push({name: 'Extract'})">
|
<view class="withdraw-btn" @click="$Router.push({name: 'Extract'})">
|
||||||
去提现
|
去提现
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
<view class="assets-list" v-if="userData.account">
|
<view class="assets-list" v-if="userData.account">
|
||||||
<view class="assets-label" @click="$Router.push({name:'walletProperty'})">
|
<view class="assets-label" @click="$Router.push({name:'walletProperty'})">
|
||||||
<view class="assets-label-name">能量球钱包<image @click.stop="showHelp('wallet')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
<view class="assets-label-name">能量球钱包<image @click.stop="showHelp('wallet')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
||||||
<view class="assets-label-number">{{userData.account.coins || 0}}</view>
|
<view class="assets-label-number">{{userData.account.stone || 0}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="assets-label" @click="$Router.push({name:'Fragment'})">
|
<view class="assets-label" @click="$Router.push({name:'Fragment'})">
|
||||||
<view class="assets-label-name">能量碎片<image @click.stop="showHelp('chip')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
<view class="assets-label-name">能量碎片<image @click.stop="showHelp('chip')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
||||||
@@ -294,6 +294,13 @@
|
|||||||
userInfo() {
|
userInfo() {
|
||||||
// 读取配置信息
|
// 读取配置信息
|
||||||
userIndex().then(res=>{
|
userIndex().then(res=>{
|
||||||
|
res.account = {
|
||||||
|
stone: res.stone,
|
||||||
|
stone_value: res.stone_value,
|
||||||
|
...res.account
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
this.userData = res
|
this.userData = res
|
||||||
this.helpDoc = res.help_doc
|
this.helpDoc = res.help_doc
|
||||||
this.userIdentity = res.identityShow
|
this.userIdentity = res.identityShow
|
||||||
|
|||||||
Reference in New Issue
Block a user