添加账户提示优化,显示优化,去除银行卡图标

This commit is contained in:
WindowBird 2025-08-21 14:38:38 +08:00
parent dfe501a7c4
commit 2a62263d62
3 changed files with 18 additions and 7 deletions

View File

@ -282,12 +282,16 @@ export default {
if (response.code === 200) {
uni.showToast({
title: '银行卡添加成功',
title: '账号添加成功',
icon: 'success',
})
this.$emit('success')
this.handleClose()
//
setTimeout(() => {
this.handleClose()
}, 1500)
} else {
uni.showToast({
title: response.msg || '添加失败',
@ -295,7 +299,7 @@ export default {
})
}
} catch (error) {
console.error('添加银行卡失败:', error)
console.error('添加账号失败:', error)
uni.showToast({
title: '添加失败,请重试',
icon: 'none',

View File

@ -131,7 +131,7 @@ export default {
uni.showModal({
title: '确认删除',
content: `确认删除选中的${this.selectedIds.length}账号吗?`,
content: `确认删除选中的${this.selectedIds.length}账号吗?`,
success: async res => {
if (res.confirm) {
this.loading = true
@ -145,7 +145,11 @@ export default {
})
this.$emit('success')
this.handleClose()
//
setTimeout(() => {
this.handleClose()
}, 1500)
} else {
uni.showToast({
title: response.msg || '删除失败',

View File

@ -43,7 +43,7 @@
<view class="section-title">提现至</view>
<view class="bank-selector" @click="selectBank">
<view class="bank-info">
<image :src="selectedBank.icon" class="bank-icon" mode="aspectFit"></image>
<!-- <image :src="selectedBank.icon" class="bank-icon" mode="aspectFit"></image>-->
<view class="bank-details">
<text class="bank-name">{{ selectedBank.displayName || '请选择账号' }}</text>
<text class="bank-card">{{ selectedBank.cardNumber || '暂无账号' }}</text>
@ -264,7 +264,10 @@ export default {
//
onBankSuccess() {
this.fetchUserBankList()
//
setTimeout(() => {
this.fetchUserBankList()
}, 2000)
},
goBack() {