From 91cda46e9a38dc40c88ea0b2307b11ef78c9e2bb Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Thu, 5 May 2022 22:24:45 +0800 Subject: [PATCH] update governance --- src/views/Governance.vue | 78 +++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/src/views/Governance.vue b/src/views/Governance.vue index 774fa5c9..6541c747 100644 --- a/src/views/Governance.vue +++ b/src/views/Governance.vue @@ -8,9 +8,7 @@ md="12" > - + #{{ p.id }}. {{ p.title }} - - -
-
-

- Type -

-
- {{ formatType(p.contents['@type']) }} -
-
-
-

- Start Date -

-
- {{ formatDate(p.voting_start_time) }} -
-
-
-

- End Date -

-
- {{ formatDate(p.voting_end_time) }} -
-
-
-

- Deposit -

-
- {{ formatToken(p.total_deposit) || '-' }} -
-
+ + +
+
+

+ Type +

+
+ {{ formatType(p.contents['@type']) }} +
- +
+

+ Start Date +

+
+ {{ formatDate(p.voting_start_time) }} +
+
+
+

+ End Date +

+
+ {{ formatDate(p.voting_end_time) }} +
+
+
+

+ Deposit +

+
+ {{ formatToken(p.total_deposit) || '-' }} +
+
+
import { - BCard, BCardTitle, BCardBody, BCardFooter, BButton, BProgressBar, BProgress, BBadge, BTooltip, BRow, BCol, VBModal, + BCard, BCardTitle, BCardFooter, BButton, BProgressBar, BProgress, BBadge, BTooltip, BRow, BCol, VBModal, } from 'bootstrap-vue' import Ripple from 'vue-ripple-directive' import { percent, tokenFormatter } from '@/libs/utils' @@ -216,7 +213,6 @@ export default { BBadge, BCardTitle, BTooltip, - BCardBody, BRow, BCol, OperationModal,