现金红包提示

This commit is contained in:
2021-11-05 15:06:19 +08:00
parent 50b0322d95
commit e4d777887b
2 changed files with 6 additions and 3 deletions

View File

@@ -200,7 +200,7 @@
success: res => {
uni.showToast({
title: '支付成功',
duration: 10000,
duration: 3000,
mask: true,
icon: 'none'
})

View File

@@ -136,7 +136,7 @@
</view>
<view class="assets-label" @click="$Router.push({name:'walletRedProperty'})">
<view class="assets-label-name">现金红包
<image @click.stop="showHelp('wallet')" class="assets-label-icon"
<image @click.stop="showHelp('money')" class="assets-label-icon"
src="/static/user/userAssets_tips.png" />
</view>
<view class="assets-label-number">{{userData.account.cash || 0}}</view>
@@ -481,8 +481,11 @@
},
// 友情提示信息
showHelp(type) {
let title = '通证',
console.log(type)
let title = '通证钱包',
content = this.helpDoc.energy_ball.description
if (type == 'money') title = '现金红包'
if (type == 'money') content = this.helpDoc.red_bag.description
if (type == 'chip') title = '贡献值'
if (type == 'chip') content = this.helpDoc.energy_shard.description
uni.showModal({