From b8678a9baad4c43eab26cc33ff4e9fea703b16ba Mon Sep 17 00:00:00 2001 From: donne1226 <503124742@qq.com> Date: Sun, 20 Mar 2022 22:57:04 +0800 Subject: [PATCH] test --- src/views/WalletAccountDetail.vue | 18 + .../OperationModal/components/Delegate.vue | 277 ++++++++++++ src/views/components/OperationModal/index.vue | 393 ++++++++++++++++++ 3 files changed, 688 insertions(+) create mode 100644 src/views/components/OperationModal/components/Delegate.vue create mode 100644 src/views/components/OperationModal/index.vue diff --git a/src/views/WalletAccountDetail.vue b/src/views/WalletAccountDetail.vue index 72954eef..5e67d6bd 100644 --- a/src/views/WalletAccountDetail.vue +++ b/src/views/WalletAccountDetail.vue @@ -123,6 +123,17 @@ Delegation
+ + Delegate-new + +
@@ -373,6 +389,7 @@ import { } from '@/libs/utils' import { sha256 } from '@cosmjs/crypto' import { toHex } from '@cosmjs/encoding' +import OperationModal from '@/views/components/OperationModal/index.vue' import ObjectFieldComponent from './ObjectFieldComponent.vue' import OperationTransferComponent from './OperationTransferComponent.vue' import OperationWithdrawComponent from './OperationWithdrawComponent.vue' @@ -412,6 +429,7 @@ export default { OperationUnbondComponent, OperationTransfer2Component, ChartComponentDoughnut, + OperationModal, }, directives: { 'b-modal': VBModal, diff --git a/src/views/components/OperationModal/components/Delegate.vue b/src/views/components/OperationModal/components/Delegate.vue new file mode 100644 index 00000000..1e82b0bf --- /dev/null +++ b/src/views/components/OperationModal/components/Delegate.vue @@ -0,0 +1,277 @@ + + + + + diff --git a/src/views/components/OperationModal/index.vue b/src/views/components/OperationModal/index.vue new file mode 100644 index 00000000..0120d52e --- /dev/null +++ b/src/views/components/OperationModal/index.vue @@ -0,0 +1,393 @@ + + + +