From cfd68bf3c9b6f07bb0f03cad3a21a142066c1be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8?= Date: Thu, 21 May 2026 16:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Dialog.vue | 4 +- src/components/common/Search.vue | 8 +- src/views/agent/user/index.vue | 310 ++++++++++++--------- src/views/capital/currency/index.vue | 61 ++-- src/views/capital/rechangeChanl/index.vue | 67 +++-- src/views/capital/rechangeCheck/index.vue | 43 ++- src/views/capital/withdrawChanl/index.vue | 25 +- src/views/mould/handleFee/index.vue | 58 ++-- src/views/mould/risk/index.vue | 100 +++---- src/views/profile/agent/index.vue | 107 +++---- src/views/profile/business/index.vue | 105 +++---- src/views/profile/personalCenter/index.vue | 14 +- src/views/profile/user/index.vue | 163 +++++------ src/views/system/notice/index.vue | 52 ++-- src/views/trade/variety/index.vue | 88 +++--- 15 files changed, 660 insertions(+), 545 deletions(-) diff --git a/src/components/common/Dialog.vue b/src/components/common/Dialog.vue index 0abcd92..a76103d 100644 --- a/src/components/common/Dialog.vue +++ b/src/components/common/Dialog.vue @@ -16,7 +16,7 @@ @@ -31,6 +31,7 @@ interface Props { type?: string showFooter?: boolean fullscreen?: boolean + buttonLoading?: boolean } interface Emits { @@ -45,6 +46,7 @@ const props = withDefaults(defineProps(), { destroyOnClose: true, showFooter: true, fullscreen: false, + buttonLoading: false, }) const emit = defineEmits() diff --git a/src/components/common/Search.vue b/src/components/common/Search.vue index f6863ac..6f52b81 100644 --- a/src/components/common/Search.vue +++ b/src/components/common/Search.vue @@ -44,10 +44,10 @@ - + {{ buttonConfig.searchText || '搜索' }} - + {{ buttonConfig.resetText || '重置' }} @@ -99,6 +99,10 @@ const props = defineProps({ type: Object as () => ButtonConfig, default: () => ({}), }, + buttonLoading: { + type: Boolean, + default: false, + }, }) // 暴露事件 diff --git a/src/views/agent/user/index.vue b/src/views/agent/user/index.vue index a9e305c..4d065bd 100644 --- a/src/views/agent/user/index.vue +++ b/src/views/agent/user/index.vue @@ -1,7 +1,7 @@