From 42efb1776ad9f1bc0f83af6633fb353e4fe9efac Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Tue, 30 Apr 2024 12:13:14 +0800 Subject: [PATCH] format some files --- src/App.vue | 422 ++++++++++++---------- src/components/Footer.vue | 93 ++--- src/main.ts | 42 +-- src/views/Home.vue | 733 ++++++++++++++++++++------------------ 4 files changed, 681 insertions(+), 609 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3dac931..a1c79a0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,225 +1,253 @@ \ No newline at end of file + diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 4073da4..5e12418 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,84 +1,85 @@ \ No newline at end of file + diff --git a/src/main.ts b/src/main.ts index 0a228d5..3b4fc17 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,38 +2,38 @@ import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './store' -import "bootstrap/dist/css/bootstrap.min.css" -import "bootstrap" -import "bootstrap-icons/font/bootstrap-icons.css" -import Toast, { POSITION, TYPE } from "vue-toastification"; -import "vue-toastification/dist/index.css"; +import 'bootstrap/dist/css/bootstrap.min.css' +import 'bootstrap' +import 'bootstrap-icons/font/bootstrap-icons.css' +import Toast, { POSITION, TYPE } from 'vue-toastification' +import 'vue-toastification/dist/index.css' import './index.css' import { VueDapp } from 'vue-dapp' -const app = createApp(App); +const app = createApp(App) const options = { - timeout: 5000, - hideProgressBar: true, - closeButton: "button", - position:POSITION.TOP_LEFT, - toastClassName: "punk-toast-class", - closeOnClick: false, + timeout: 5000, + hideProgressBar: true, + closeButton: 'button', + position: POSITION.TOP_LEFT, + toastClassName: 'punk-toast-class', + closeOnClick: false, - toastDefaults: { - // ToastOptions object for each type of toast - [TYPE.INFO]: { - timeout: false, - icon: false - } - } + toastDefaults: { + // ToastOptions object for each type of toast + [TYPE.INFO]: { + timeout: false, + icon: false, + }, + }, } app.use(router) app.use(store) -app.use(VueDapp); +app.use(VueDapp) -app.use(Toast, options); +app.use(Toast, options) app.mount('#app') diff --git a/src/views/Home.vue b/src/views/Home.vue index f5f4c1b..e1773be 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,402 +1,445 @@ - \ No newline at end of file +