【新增功能】添加微信转账到零钱提现功能

pull/124/head^2
YunaiV 2024-10-13 12:42:08 +08:00
parent c399bb2373
commit fd10210972
2 changed files with 12 additions and 11 deletions

View File

@ -45,7 +45,8 @@
type: Boolean,
default: false,
},
methods: { //
methods: {
//
type: Array,
default: [],
},
@ -57,7 +58,7 @@
const typeList = [
{
// icon: '/static/img/shop/pay/wechat.png', // TODO icon
icon: '/static/img/shop/pay/wechat.png',
title: '钱包余额',
value: '1',
},
@ -68,7 +69,7 @@
},
{
icon: '/static/img/shop/pay/wechat.png',
title: '微信零钱',
title: '微信账户', //
value: '3',
},
{
@ -76,11 +77,11 @@
title: '支付宝账户',
value: '4',
},
{
icon: '/static/img/shop/pay/wechat.png',
title: '微信零钱',
value: '5',
}
{
icon: '/static/img/shop/pay/wechat.png',
title: '微信零钱', // API
value: '5',
},
];
function onChange(e) {
@ -94,7 +95,7 @@
}
//
emits('update:modelValue', {
type: state.currentValue
type: state.currentValue,
});
//
emits('close');

View File

@ -30,9 +30,9 @@
<view v-if="!state.accountInfo.type" class="empty-text"></view>
<view v-if="state.accountInfo.type === '1'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '2'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '3'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '3'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '4'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '5'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '5'" class="empty-text"></view>
<text class="cicon-forward" />
</view>
</view>