change footer for market and mynft

This commit is contained in:
cebgcontract 2022-03-16 15:00:18 +08:00
parent 099127d24f
commit 7e721d4dec
3 changed files with 9 additions and 9 deletions

View File

@ -48,7 +48,7 @@ export class Blockchain {
loadJson(url: string) { loadJson(url: string) {
return fetch(url) return fetch(url)
.then(response => response.json()) .then(response => response.json())
} }
get isWalletConnect() { get isWalletConnect() {
@ -91,7 +91,7 @@ export class Blockchain {
AppModule.updateAccount(accounts[0]) AppModule.updateAccount(accounts[0])
} }
if (!this.currentChain) this.currentChain = chainId if (!this.currentChain) this.currentChain = chainId
this.saveProvider() this.saveProvider()
AppModule.updateChainID(chainId) AppModule.updateChainID(chainId)
AppModule.updateWalletStatus(true) AppModule.updateWalletStatus(true)
console.log('current login chain: ', chainId) console.log('current login chain: ', chainId)
@ -327,11 +327,11 @@ export class Blockchain {
} }
public async signPresale({ type, paymentTokenAddress, price, buyerAddress }: public async signPresale({ type, paymentTokenAddress, price, buyerAddress }:
{type: number {type: number
paymentTokenAddress: string paymentTokenAddress: string
price: any price: any
buyerAddress: string buyerAddress: string
}) { }) {
const nonce = Math.random() * 100000 | 0 const nonce = Math.random() * 100000 | 0
const signMsg = { const signMsg = {

View File

@ -10,7 +10,7 @@
</div> </div>
</div> </div>
</section> </section>
<base-footer></base-footer> <base-footer :auto-size="true">></base-footer>
</div> </div>
</template> </template>

View File

@ -14,7 +14,7 @@
<pagination class="page-comp"></pagination> <pagination class="page-comp"></pagination>
</div> </div>
</section> </section>
<base-footer></base-footer> <base-footer :auto-size="true">></base-footer>
</div> </div>
</template> </template>