fix: bug
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
</p>
|
||||
|
||||
<h1 align="center">
|
||||
<a href="https://github.com/feige996/unibest" target="_blank">unibest - 最好的 uniapp 开发框架</a>
|
||||
<a href="https://github.com/feige996/unibest" target="_blank">x-1</a>
|
||||
</h1>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
class="text-14 mt-18 py-4 px-10 bg-gray-400 text-white"
|
||||
v-if="item.change_status === 0"
|
||||
>
|
||||
充值中
|
||||
审核中
|
||||
</view>
|
||||
<view
|
||||
class="text-14 mt-18 py-4 px-10 bg-#71C78A1A text-#71C78A"
|
||||
|
||||
@@ -205,7 +205,7 @@ const onSubmit = mergeStep(async () => {
|
||||
await rechargeAPI(form.value)
|
||||
await showModal('充值成功')
|
||||
uni.redirectTo({
|
||||
url: '/pages-sub/invest-result/index',
|
||||
url: '/pages-sub/recharge-detail/index',
|
||||
})
|
||||
})
|
||||
const handlePreview = () => {
|
||||
|
||||
@@ -37,7 +37,25 @@
|
||||
|
||||
<view class="flex flex-col items-end">
|
||||
<view class="text-16 text-#FF5F5F">-{{ item.cash_money }} RMB</view>
|
||||
<view class="text-14 mt-18 py-4 px-10 bg-#71C78A1A text-#71C78A">{{ item.message }}</view>
|
||||
<view
|
||||
class="text-14 mt-18 py-4 px-10 bg-gray-400 text-white"
|
||||
v-if="item.cash_status === 0"
|
||||
>
|
||||
审核中
|
||||
</view>
|
||||
<view
|
||||
class="text-14 mt-18 py-4 px-10 bg-#71C78A1A text-#71C78A"
|
||||
v-else-if="item.cash_status === 1"
|
||||
>
|
||||
提现成功
|
||||
</view>
|
||||
|
||||
<view
|
||||
class="text-14 mt-18 py-4 px-10 bg-#FF5F5F text-white"
|
||||
v-else-if="item.cash_status === 2"
|
||||
>
|
||||
提现失败
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
/>
|
||||
<view
|
||||
class="text-12 text-#04A9F9"
|
||||
@click="form.cash_money = Number(userStore.userInfo.member_balance ?? 0)"
|
||||
@click="form.cash_money = Number(userStore.userInfo.member_dividend ?? 0)"
|
||||
>
|
||||
全部
|
||||
</view>
|
||||
</view>
|
||||
<view class="text-12 text-#889BC6 mt-15">
|
||||
当前余额:{{ userStore.userInfo.member_balance }}
|
||||
当前余额:{{ userStore.userInfo.member_dividend }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -148,8 +148,9 @@ const onSubmit = async () => {
|
||||
}
|
||||
await applyWithdrawalAPI(form.value)
|
||||
await showModal('申请成功')
|
||||
userStore.loadUserInfo()
|
||||
uni.redirectTo({
|
||||
url: '/pages-sub/invest-result/index',
|
||||
url: '/pages-sub/withdrawal-detail/index',
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user