From 9f0f5b769b0d573dd8eb7a235d6ad256c6829778 Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Mon, 20 Mar 2023 22:27:33 +0800 Subject: [PATCH] update order style --- src/assets/scss/_common.scss | 5 ++ src/components/api/Form.vue | 3 -- .../application/RotateCredential.vue | 46 +++++++++++++++++++ src/components/common/CopyToClipboard.vue | 1 + src/components/order/Create.vue | 2 +- src/components/order/Pay.vue | 2 +- src/i18n/zh/application/message.ts | 7 ++- src/operators/application/operator.ts | 4 ++ src/pages/console/application/List.vue | 27 ++++++++++- src/pages/console/order/List.vue | 2 +- src/plugins/font-awesome.ts | 2 + 11 files changed, 92 insertions(+), 9 deletions(-) create mode 100644 src/components/application/RotateCredential.vue diff --git a/src/assets/scss/_common.scss b/src/assets/scss/_common.scss index bbac867d..267e1e5f 100644 --- a/src/assets/scss/_common.scss +++ b/src/assets/scss/_common.scss @@ -52,3 +52,8 @@ body { .color-primary { color: var(--el-color-primary); } + +::-webkit-scrollbar { + width: 4px; + height: 4px; +} diff --git a/src/components/api/Form.vue b/src/components/api/Form.vue index 49ad3531..bf001b30 100644 --- a/src/components/api/Form.vue +++ b/src/components/api/Form.vue @@ -114,7 +114,6 @@ import { ElPopover, ElInput, ElSelect, ElButton, ElTooltip, ElOption, ElMessage import { ERROR_CODE_DUPLICATION, ERROR_CODE_UNVERIFIED } from '@/constants/errorCode'; import { getVerificationUrl } from '@/utils'; import ApplicationConfirm from '@/components/application/Confirm.vue'; -import { ROUTE_AUTH_LOGIN } from '@/router/constants'; interface IData { value: { @@ -127,12 +126,10 @@ interface IData { export default defineComponent({ name: 'ApiForm', components: { - FontAwesomeIcon, ElPopover, ElInput, ElSelect, ElButton, - ElTooltip, ElOption, ApplicationConfirm }, diff --git a/src/components/application/RotateCredential.vue b/src/components/application/RotateCredential.vue new file mode 100644 index 00000000..1110e723 --- /dev/null +++ b/src/components/application/RotateCredential.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/src/components/common/CopyToClipboard.vue b/src/components/common/CopyToClipboard.vue index df71a6dd..89a08e41 100644 --- a/src/components/common/CopyToClipboard.vue +++ b/src/components/common/CopyToClipboard.vue @@ -46,5 +46,6 @@ export default defineComponent({ .icon-check, .icon-copy { margin-left: 5px; + cursor: pointer; } diff --git a/src/components/order/Create.vue b/src/components/order/Create.vue index 9ffe23e4..62d477a1 100644 --- a/src/components/order/Create.vue +++ b/src/components/order/Create.vue @@ -1,5 +1,5 @@