From 0b283a00f60115d455b5c26431cd2e414980c814 Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Wed, 13 Nov 2024 14:32:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=84=20Add=20discount=20&=20stock?= =?UTF-8?q?=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NFTBook/ItemCard.vue | 4 +-- src/components/NFTCollection/ItemCard.vue | 4 +-- src/components/NFTDiscountLabel.vue | 35 ++++++++++++++++++ src/components/NFTEditionSelect.vue | 28 ++++++++------- src/components/NFTEditionSelectItemV2.vue | 11 +++--- src/components/NFTStockLabel.vue | 44 ++++++++--------------- src/locales/en.json | 1 + src/locales/zh-Hant.json | 3 +- 8 files changed, 77 insertions(+), 53 deletions(-) create mode 100644 src/components/NFTDiscountLabel.vue diff --git a/src/components/NFTBook/ItemCard.vue b/src/components/NFTBook/ItemCard.vue index 9acb4a1d2..ed613a4fd 100644 --- a/src/components/NFTBook/ItemCard.vue +++ b/src/components/NFTBook/ItemCard.vue @@ -235,14 +235,14 @@ />
- diff --git a/src/components/NFTCollection/ItemCard.vue b/src/components/NFTCollection/ItemCard.vue index f4295205b..eb6311235 100644 --- a/src/components/NFTCollection/ItemCard.vue +++ b/src/components/NFTCollection/ItemCard.vue @@ -155,14 +155,14 @@ />
- diff --git a/src/components/NFTDiscountLabel.vue b/src/components/NFTDiscountLabel.vue new file mode 100644 index 000000000..da7ac66c1 --- /dev/null +++ b/src/components/NFTDiscountLabel.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/components/NFTEditionSelect.vue b/src/components/NFTEditionSelect.vue index 9a3226eb8..56a351009 100644 --- a/src/components/NFTEditionSelect.vue +++ b/src/components/NFTEditionSelect.vue @@ -1,23 +1,25 @@