From 5977e01fc650dd014e692d144866478875e9586d Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 20 Jan 2022 20:06:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=9E=E6=8E=A5=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 + .env.development | 3 ++ .env.production | 3 ++ src/components/market/ItemDetail.vue | 4 +- src/components/market/MoileTop.vue | 14 ++++++- src/components/market/TopMenu.vue | 12 +++++- src/components/market/TopUserInfo.vue | 8 +++- src/decorators/singleton.decorator.ts | 28 ++++++++++++++ src/utils/blockchain.ts | 53 +++++++++++++++++++++++++++ src/views/Item.vue | 4 +- src/views/Market.vue | 3 +- 11 files changed, 125 insertions(+), 9 deletions(-) create mode 100644 .env create mode 100644 .env.development create mode 100644 .env.production create mode 100644 src/decorators/singleton.decorator.ts create mode 100644 src/utils/blockchain.ts diff --git a/.env b/.env new file mode 100644 index 0000000..f756f39 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +VUE_APP_WALLET_INFURAID='e7743d46923911fa8850619b7a7f6d9d' +VUE_APP_CHAIN_ID=97 diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..7a4fc53 --- /dev/null +++ b/.env.development @@ -0,0 +1,3 @@ +VUE_APP_WALLET_INFURAID='e7743d46923911fa8850619b7a7f6d9d' +VUE_APP_CHAIN_ID=97 +VUE_APP_CHAIN_RPC='https://data-seed-prebsc-1-s1.binance.org:8545/' diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..7a4fc53 --- /dev/null +++ b/.env.production @@ -0,0 +1,3 @@ +VUE_APP_WALLET_INFURAID='e7743d46923911fa8850619b7a7f6d9d' +VUE_APP_CHAIN_ID=97 +VUE_APP_CHAIN_RPC='https://data-seed-prebsc-1-s1.binance.org:8545/' diff --git a/src/components/market/ItemDetail.vue b/src/components/market/ItemDetail.vue index 6122ae2..975b0d9 100644 --- a/src/components/market/ItemDetail.vue +++ b/src/components/market/ItemDetail.vue @@ -153,8 +153,8 @@ export default class extends Vue { }