feat: 优化关于页面的文件预览组件,移除不必要的导入和文档显示
feat: 更新银行管理页面的样式,调整添加银行卡按钮的背景色 feat: 添加加密货币充值功能,展示等待提示
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<script lang='ts' setup>
|
||||
import { toastController } from "@ionic/vue";
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: "close"): void;
|
||||
}>();
|
||||
@@ -6,6 +8,16 @@ const emit = defineEmits<{
|
||||
const { t } = useI18n();
|
||||
const router = useRouter();
|
||||
|
||||
async function handleCryptoRecharge() {
|
||||
emit("close");
|
||||
const toast = await toastController.create({
|
||||
message: "敬请期待",
|
||||
duration: 2000,
|
||||
position: "top",
|
||||
color: "primary",
|
||||
});
|
||||
await toast.present();
|
||||
}
|
||||
async function handleFiatRecharge() {
|
||||
emit("close");
|
||||
router.push("/deposit/fiat");
|
||||
@@ -14,7 +26,7 @@ async function handleFiatRecharge() {
|
||||
|
||||
<template>
|
||||
<div class="w-full h-50 p-5 flex justify-center flex-col gap-7.5">
|
||||
<div class="flex items-center gap-2.5">
|
||||
<div class="flex items-center gap-2.5" @click="handleCryptoRecharge">
|
||||
<i-ic-baseline-downloading class="text-2xl" />
|
||||
<ion-label class="flex-1">
|
||||
<h2>{{ t("recharge.channel.chainRecharge") }}</h2>
|
||||
|
||||
Reference in New Issue
Block a user