diff --git a/src/components/CustomAlert/CustomAlert.vue b/src/components/CustomAlert/CustomAlert.vue index 6e85eee..b49e4ec 100644 --- a/src/components/CustomAlert/CustomAlert.vue +++ b/src/components/CustomAlert/CustomAlert.vue @@ -6,15 +6,15 @@ const props = defineProps<{ const alertText = ref(""); const alertPaddingLeft = ref("18rem"); -const alertPaddingTop = ref("0rem"); if (props.type === "sell") { alertPaddingLeft.value = "30%"; } else if (props.type === "buy") { alertPaddingLeft.value = "30%"; +} else if (props.type === "withdraw") { + alertPaddingLeft.value = "40%"; } else if (props.type === "redirect") { alertPaddingLeft.value = "35%"; - alertPaddingTop.value = "8rem"; } switch (props.type) { @@ -29,6 +29,9 @@ switch (props.type) { case "redirect": alertText.value = "Existe uma compra em aberto. Continuar?"; break; + case "withdraw": + alertText.value = "Tudo certo! Saque realizado com sucesso!"; + break; }