+
-
-
-
100 BRZ
-
20 out 2022
-
Etherscan
-
-
-
100 BRZ
-
20 out 2022
-
Etherscan
-
-
Carregar mais
+
+
+
@@ -72,6 +67,10 @@ import CustomButton from "@/components/CustomButton.vue";
@apply flex flex-col items-center justify-center w-full mt-16;
}
+p {
+ @apply text-gray-900;
+}
+
.text-container {
@apply flex flex-col items-center justify-center gap-4;
}
@@ -84,7 +83,11 @@ import CustomButton from "@/components/CustomButton.vue";
}
.blur-container {
- @apply flex flex-col justify-center items-center px-8 py-6 gap-2 rounded-lg shadow-md shadow-gray-600 backdrop-blur-md mt-8 w-1/3;
+ @apply flex flex-col justify-center items-center px-8 py-6 gap-4 rounded-lg shadow-md shadow-gray-600 backdrop-blur-md mt-10 w-auto;
+}
+
+.last-release-info {
+ @apply font-medium text-base text-gray-900;
}
input[type="number"] {
diff --git a/src/components/ListComponent.vue b/src/components/ListComponent.vue
deleted file mode 100644
index 4211256..0000000
--- a/src/components/ListComponent.vue
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
Tokens recebidos
-
{{ props.tokenAmount }} BRZ
-
-
-
- Não encontrou os tokens? Clique no botão abaixo para
- cadastrar o BRZ em sua carteira.
-
-
-
{}"
- />
-
-
-
-
-
-
-
-
- Valor
- Tipo de transação
- Checar transação
-
-
-
- {{ formatEventsAmount(release?.args.amount) }} BRZ
-
-
- {{ "Compra" }}
-
-
-
Etherscan
-

-
-
-
-
-
-
-
- Não há nenhuma transação anterior
-
-
-
-
-
-
diff --git a/src/components/ListingComponent.vue b/src/components/ListingComponent.vue
new file mode 100644
index 0000000..a2f25cd
--- /dev/null
+++ b/src/components/ListingComponent.vue
@@ -0,0 +1,206 @@
+
+
+
+
+
+ Valor
+ Data
+ {{
+ props.isManageMode ? "Cancelar oferta" : "Tipo de transação"
+ }}
+ {{
+ props.isManageMode ? "Retirar tokens" : "Checar transação"
+ }}
+
+
+
+ {{
+ item?.args ? formatEventsAmount(item?.args.amount) : item?.remaining
+ }}
+ BRZ
+
+
+
+
20 out 2022
+
+
+
Cancelar
+

+
+
+
+ {{ "Oferta" }}
+
+
+
+ {{ "Reserva" }}
+
+
+
+ {{ "Compra" }}
+
+
+
+
Retirar
+

+
+
+
+
Etherscan
+

+
+
+
+
+
+ ({{ itemsToShow.length }} de {{ props.walletTransactions.length }}
+ {{ isManageMode ? "ofertas" : "transações" }})
+
+
+
+
+ Não há nenhuma transação anterior
+
+
+
+
+
diff --git a/src/components/SearchComponent.vue b/src/components/SearchComponent.vue
index 72f8b37..d538b39 100644
--- a/src/components/SearchComponent.vue
+++ b/src/components/SearchComponent.vue
@@ -62,7 +62,6 @@ const verifyLiquidity = () => {
depositsValidList.value.find((element) => {
const remaining = element.remaining;
if (
- element.valid == true &&
tokenValue.value!! <= remaining &&
tokenValue.value!! != 0 &&
element.seller !== walletAddress.value
diff --git a/src/components/SellerSteps/SellerSearchComponent.vue b/src/components/SellerSteps/SellerSearchComponent.vue
index f68d3b9..4fe8059 100644
--- a/src/components/SellerSteps/SellerSearchComponent.vue
+++ b/src/components/SellerSteps/SellerSearchComponent.vue
@@ -35,7 +35,6 @@ const decimalCount = (num: Number) => {
}
return 0;
};
-
diff --git a/src/components/TopBar.vue b/src/components/TopBar.vue
index 021ead3..c10585d 100644
--- a/src/components/TopBar.vue
+++ b/src/components/TopBar.vue
@@ -38,12 +38,12 @@ const formatWalletBalance = (): String => {
const disconnectUser = () => {
etherStore.setWalletAddress("");
- const currentRoute = router.currentRoute.value.path;
- if (currentRoute !== "/") {
- router.push("/");
- } else {
- window.location.reload();
- }
+ closeMenu();
+ window.location.reload();
+};
+
+const closeMenu = () => {
+ menuOpenToggle.value = false;
};
@@ -94,7 +94,7 @@ const disconnectUser = () => {
>
{