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

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

View File

@ -30,9 +30,9 @@
<view v-if="!state.accountInfo.type" class="empty-text"></view> <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 === '1'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '2'" 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 === '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" /> <text class="cicon-forward" />
</view> </view>
</view> </view>