fix: 修复bug
This commit is contained in:
@@ -42,8 +42,11 @@
|
|||||||
<wd-icon v-if="isSelect" name="arrow-right" size="14px"></wd-icon>
|
<wd-icon v-if="isSelect" name="arrow-right" size="14px"></wd-icon>
|
||||||
</view>
|
</view>
|
||||||
<template #right>
|
<template #right>
|
||||||
<view class="h-full flex items-center text-14 text-#889BC6">
|
<view
|
||||||
<wd-button plain @click="onDelete(item)">删除</wd-button>
|
class="px-15 mr-15 rounded-10 bg-#ff000040 h-full flex items-center text-14 text-red-600"
|
||||||
|
@click="onDelete(item)"
|
||||||
|
>
|
||||||
|
删除
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</wd-swipe-action>
|
</wd-swipe-action>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
@click="onSelectPayType"
|
@click="onSelectPayType"
|
||||||
>
|
>
|
||||||
<view class="flex-1">
|
<view class="flex-1">
|
||||||
{{ typeName ? `${typeName}:${currentBank?.card_account}` : '请选择收款方式' }}
|
{{ typeName ? `${typeName}:${currentBank?.banknum}` : '请选择收款方式' }}
|
||||||
</view>
|
</view>
|
||||||
<wd-icon name="arrow-right" size="16px"></wd-icon>
|
<wd-icon name="arrow-right" size="16px"></wd-icon>
|
||||||
</view>
|
</view>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
class="bg-white fixed bottom-0 left-0 right-0 px-15 py-10 shadow-[0_0_10px_rgba(10,68,245,0.1)]"
|
class="bg-white fixed bottom-0 left-0 right-0 px-15 py-10 shadow-[0_0_10px_rgba(10,68,245,0.1)]"
|
||||||
>
|
>
|
||||||
<view class="flex items-center pb-safe">
|
<view class="flex items-center pb-safe">
|
||||||
<view class="text-gradient flex-1 text-14">到账CNY:13123.00</view>
|
<view class="text-gradient flex-1 text-14">到账CNY:{{ form.money ?? '0' }}</view>
|
||||||
<view
|
<view
|
||||||
class="btn-gradient text-center text-white rounded-full text-14 px-30 py-10"
|
class="btn-gradient text-center text-white rounded-full text-14 px-30 py-10"
|
||||||
@click="onSubmit"
|
@click="onSubmit"
|
||||||
@@ -98,13 +98,14 @@ const onWithdrawalDetail = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const typeName = computed(() => {
|
const typeName = computed(() => {
|
||||||
return ['支付宝', '微信', '银行卡'][Number(unref(currentBank)?.card_type) - 1]
|
return ['支付宝', '微信', '银行卡'][Number(unref(currentBank)?.typedata) - 1]
|
||||||
})
|
})
|
||||||
|
|
||||||
const currentBank = ref<any>(null)
|
const currentBank = ref<any>(null)
|
||||||
const onSelectPayType = () => {
|
const onSelectPayType = () => {
|
||||||
uni.$once('withdrawal-type', (data: any) => {
|
uni.$once('withdrawal-type', (data: any) => {
|
||||||
form.value.bankid = data.id
|
form.value.bankid = data.id
|
||||||
|
console.log(data)
|
||||||
currentBank.value = data
|
currentBank.value = data
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<view
|
<view
|
||||||
class="text-center px-16 absolute bottom-13 right-33 text-12 text-#fff rounded-br-10 rounded-tl-10 py-4 bg-blue-red"
|
class="text-center px-16 absolute bottom-13 right-33 text-12 text-#fff rounded-br-10 rounded-tl-10 py-4 bg-blue-red"
|
||||||
>
|
>
|
||||||
新手体验
|
{{ item.label }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user