This commit is contained in:
2021-10-25 16:23:23 +08:00
parent 2bc9ea63c0
commit ad67333bbf
17 changed files with 202 additions and 218 deletions

View File

@@ -6,10 +6,10 @@
<view class="header-total ios-top">
<view class="total">
<view class="item nowrap" @click="navAccount('walletProperty')">
<image src="@/static/icons/gemstone-icon.png" />{{isAuth ? '能量球' + account.coin : '查看能量球'}}
<image src="@/static/icons/gemstone-icon.png" />{{isAuth ? '通证' + account.coin : '查看通证'}}
</view>
<view class="item nowrap" @click="navAccount('Fragment')">
<image src="@/static/icons/crystal-icon.png" />{{isAuth ? '能量碎片' + account.crystal : '查看能量碎片'}}
<image src="@/static/icons/crystal-icon.png" />{{isAuth ? '积分' + account.crystal : '查看积分'}}
</view>
</view>
</view>
@@ -58,35 +58,35 @@
<image :src="item.cover" />
</view>
<view class="title nowrap">{{item.title}}</view>
<view class="submit-title nowrap">能量碎片{{item.tips}}</view>
<view class="submit-title nowrap">积分{{item.tips}}</view>
</view>
</scroll-view>
<!-- 平台概况 -->
<view class="situation">
<view class="header">
<view class="header-item">
<view class="title">平台能量球余量
<view class="title">平台通证余量
<uni-icons class="help-icon" @click="showHelp('balance')" type="help-filled" size="15"
color="rgba(255,255,255,.3)" />
</view>
<view class="number nowrap">{{chains.balance}}</view>
</view>
<view class="header-item">
<view class="title">上期发放能量球
<view class="title">上期发放通证
<uni-icons class="help-icon" @click="showHelp('stone')" type="help-filled" size="15"
color="rgba(255,255,255,.3)" />
</view>
<view class="number nowrap">{{chains.stone}}</view>
</view>
<view class="header-item">
<view class="title">当前能量球价值
<view class="title">当前通证价值
<uni-icons class="help-icon" @click="showHelp('up')" type="help-filled" size="15"
color="rgba(255,255,255,.3)" />
</view>
<view class="number nowrap">{{chains.up}}</view>
</view>
<view class="header-item">
<view class="title">昨日瓜分能量碎片
<view class="title">昨日瓜分积分
<uni-icons class="help-icon" @click="showHelp('score')" type="help-filled" size="15"
color="rgba(255,255,255,.3)" />
</view>
@@ -107,9 +107,9 @@
<view class="number nowrap">{{chains.number}}</view>
</view>
</view>
<!-- 平台累计盈利能量球 -->
<!-- 平台累计盈利通证 -->
<view class="chart">
<view class="title">累计盈利和能量球价值走势图</view>
<view class="title">累计盈利和通证价值走势图</view>
<view class="chart-f2">
<l-f2 ref="chartChange"></l-f2>
</view>
@@ -215,14 +215,7 @@
confirmText: pathName === 'vipIndex' ? '去开通' : '去认证',
confirmColor: '#8b64fd',
success: res => {
console.log(pathName)
if (res.confirm) {
// if (pathName === 'setting') {
// this.$Router.pushTab({
// name: pathName
// })
// return
// }
if (pathName === 'vipIndex') {
console.log(this.userAuth.identity)
this.$Router.push({
@@ -241,7 +234,7 @@
}
})
},
// 领取能量碎片
// 领取积分
ledCrystal(index) {
// 播放音频
const innerAudioContext = uni.createInnerAudioContext();
@@ -717,4 +710,4 @@
}
}
}
</style>
</style>