From 7e012aaf1261757b110e74b4b49366530811c0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E5=BA=86=E6=89=8D=E4=B8=A8=E9=9D=99=E8=A7=85?= Date: Sun, 24 Mar 2024 23:27:13 +0800 Subject: [PATCH] Fix experience bugs (#9) --- ...-874b2b1d-c6cb-4a2d-85b7-ea9a27f28119.json | 7 + src/assets/scss/_common.scss | 1 + src/components/application/Confirm.vue | 2 +- src/components/application/Status.vue | 25 +- src/components/chat/InputBox.vue | 25 +- src/components/chat/Introduction.vue | 1 + src/components/chat/Message.vue | 2 +- src/components/chatdoc/Conversations.vue | 2 +- src/components/chatdoc/CreateRepository.vue | 2 +- src/components/chatdoc/InputBox.vue | 24 +- src/components/chatdoc/Message.vue | 2 +- src/components/chatdoc/UploadDocument.vue | 2 +- .../midjourney/ElementsSelector.vue | 8 +- .../midjourney/tasks/TaskBriefList.vue | 1 + .../midjourney/tasks/TaskFullList.vue | 1 + src/components/order/Create.vue | 10 +- src/i18n/ar/api.json | 214 +- src/i18n/ar/application.json | 288 +- src/i18n/ar/chatdoc.json | 296 +- src/i18n/ar/console.json | 60 +- src/i18n/ar/credential.json | 142 +- src/i18n/ar/distribution.json | 198 +- src/i18n/ar/order.json | 206 +- src/i18n/ar/proxy.json | 170 +- src/i18n/ar/service.json | 200 +- src/i18n/ar/usage.json | 36 +- src/i18n/ar/user.json | 30 +- src/i18n/de/api.json | 214 +- src/i18n/de/application.json | 288 +- src/i18n/de/chat.json | 258 +- src/i18n/de/chatdoc.json | 296 +- src/i18n/de/common.json | 470 ++- src/i18n/de/console.json | 60 +- src/i18n/de/credential.json | 142 +- src/i18n/de/distribution.json | 198 +- src/i18n/de/order.json | 206 +- src/i18n/de/proxy.json | 170 +- src/i18n/de/service.json | 200 +- src/i18n/de/usage.json | 36 +- src/i18n/de/user.json | 30 +- src/i18n/el/console.json | 60 +- src/i18n/el/credential.json | 142 +- src/i18n/el/order.json | 206 +- src/i18n/el/proxy.json | 170 +- src/i18n/el/service.json | 200 +- src/i18n/el/usage.json | 36 +- src/i18n/el/user.json | 30 +- src/i18n/en/api.json | 214 +- src/i18n/en/application.json | 290 +- src/i18n/en/chat.json | 282 +- src/i18n/en/chatdoc.json | 300 +- src/i18n/en/common.json | 478 ++- src/i18n/en/console.json | 62 +- src/i18n/en/credential.json | 144 +- src/i18n/en/distribution.json | 199 +- src/i18n/en/midjourney.json | 2832 +++++++++++------ src/i18n/en/order.json | 208 +- src/i18n/en/proxy.json | 170 +- src/i18n/en/service.json | 202 +- src/i18n/en/usage.json | 36 +- src/i18n/en/user.json | 30 +- src/i18n/es/api.json | 214 +- src/i18n/es/application.json | 288 +- src/i18n/es/chat.json | 258 +- src/i18n/es/chatdoc.json | 296 +- src/i18n/es/common.json | 470 ++- src/i18n/es/console.json | 60 +- src/i18n/es/credential.json | 142 +- src/i18n/es/distribution.json | 198 +- src/i18n/es/midjourney.json | 2096 ++++++++++-- src/i18n/es/order.json | 206 +- src/i18n/es/proxy.json | 170 +- src/i18n/es/service.json | 200 +- src/i18n/es/usage.json | 36 +- src/i18n/es/user.json | 30 +- src/i18n/fi/api.json | 214 +- src/i18n/fi/application.json | 288 +- src/i18n/fi/chat.json | 258 +- src/i18n/fi/chatdoc.json | 296 +- src/i18n/fi/common.json | 470 ++- src/i18n/fi/console.json | 60 +- src/i18n/fi/credential.json | 142 +- src/i18n/fi/distribution.json | 198 +- src/i18n/fi/order.json | 206 +- src/i18n/fi/proxy.json | 170 +- src/i18n/fi/service.json | 200 +- src/i18n/fi/usage.json | 36 +- src/i18n/fi/user.json | 30 +- src/i18n/fr/api.json | 214 +- src/i18n/fr/application.json | 288 +- src/i18n/fr/chat.json | 258 +- src/i18n/fr/chatdoc.json | 296 +- src/i18n/fr/common.json | 470 ++- src/i18n/fr/console.json | 60 +- src/i18n/fr/credential.json | 142 +- src/i18n/fr/distribution.json | 198 +- src/i18n/fr/midjourney.json | 2096 ++++++++++-- src/i18n/fr/order.json | 206 +- src/i18n/fr/proxy.json | 170 +- src/i18n/fr/service.json | 200 +- src/i18n/fr/usage.json | 36 +- src/i18n/fr/user.json | 30 +- src/i18n/index.ts | 7 +- src/i18n/it/api.json | 214 +- src/i18n/it/application.json | 288 +- src/i18n/it/chat.json | 258 +- src/i18n/it/chatdoc.json | 296 +- src/i18n/it/common.json | 470 ++- src/i18n/it/console.json | 60 +- src/i18n/it/credential.json | 142 +- src/i18n/it/distribution.json | 198 +- src/i18n/it/order.json | 206 +- src/i18n/it/proxy.json | 170 +- src/i18n/it/service.json | 200 +- src/i18n/it/usage.json | 36 +- src/i18n/it/user.json | 30 +- src/i18n/ja/api.json | 214 +- src/i18n/ja/application.json | 288 +- src/i18n/ja/chat.json | 258 +- src/i18n/ja/chatdoc.json | 296 +- src/i18n/ja/common.json | 470 ++- src/i18n/ja/console.json | 60 +- src/i18n/ja/credential.json | 142 +- src/i18n/ja/distribution.json | 198 +- src/i18n/ja/order.json | 206 +- src/i18n/ja/proxy.json | 170 +- src/i18n/ja/service.json | 200 +- src/i18n/ja/usage.json | 36 +- src/i18n/ja/user.json | 30 +- src/i18n/ko/api.json | 214 +- src/i18n/ko/application.json | 288 +- src/i18n/ko/chat.json | 258 +- src/i18n/ko/chatdoc.json | 296 +- src/i18n/ko/common.json | 470 ++- src/i18n/ko/console.json | 60 +- src/i18n/ko/credential.json | 142 +- src/i18n/ko/distribution.json | 198 +- src/i18n/ko/order.json | 206 +- src/i18n/ko/proxy.json | 170 +- src/i18n/ko/service.json | 200 +- src/i18n/ko/usage.json | 36 +- src/i18n/ko/user.json | 30 +- src/i18n/pl/api.json | 214 +- src/i18n/pl/application.json | 288 +- src/i18n/pl/chat.json | 258 +- src/i18n/pl/chatdoc.json | 296 +- src/i18n/pl/common.json | 470 ++- src/i18n/pl/console.json | 60 +- src/i18n/pl/credential.json | 142 +- src/i18n/pl/distribution.json | 198 +- src/i18n/pl/order.json | 206 +- src/i18n/pl/proxy.json | 170 +- src/i18n/pl/service.json | 200 +- src/i18n/pl/usage.json | 36 +- src/i18n/pl/user.json | 30 +- src/i18n/pt/api.json | 214 +- src/i18n/pt/application.json | 288 +- src/i18n/pt/chat.json | 258 +- src/i18n/pt/chatdoc.json | 296 +- src/i18n/pt/common.json | 470 ++- src/i18n/pt/console.json | 60 +- src/i18n/pt/credential.json | 142 +- src/i18n/pt/distribution.json | 198 +- src/i18n/pt/midjourney.json | 2096 ++++++++++-- src/i18n/pt/order.json | 206 +- src/i18n/pt/proxy.json | 170 +- src/i18n/pt/service.json | 200 +- src/i18n/pt/usage.json | 36 +- src/i18n/pt/user.json | 30 +- src/i18n/ru/api.json | 214 +- src/i18n/ru/application.json | 288 +- src/i18n/ru/chat.json | 258 +- src/i18n/ru/chatdoc.json | 296 +- src/i18n/ru/console.json | 60 +- src/i18n/ru/credential.json | 142 +- src/i18n/ru/distribution.json | 198 +- src/i18n/ru/order.json | 206 +- src/i18n/ru/proxy.json | 170 +- src/i18n/ru/service.json | 200 +- src/i18n/ru/usage.json | 36 +- src/i18n/ru/user.json | 30 +- src/i18n/sr/api.json | 214 +- src/i18n/sr/application.json | 288 +- src/i18n/sr/chat.json | 258 +- src/i18n/sr/chatdoc.json | 296 +- src/i18n/sr/common.json | 470 ++- src/i18n/sr/console.json | 60 +- src/i18n/sr/credential.json | 142 +- src/i18n/sr/distribution.json | 198 +- src/i18n/sr/order.json | 206 +- src/i18n/sr/proxy.json | 170 +- src/i18n/sr/service.json | 200 +- src/i18n/sr/usage.json | 36 +- src/i18n/sr/user.json | 30 +- src/i18n/sv/api.json | 214 +- src/i18n/sv/application.json | 288 +- src/i18n/sv/chat.json | 258 +- src/i18n/sv/chatdoc.json | 296 +- src/i18n/sv/common.json | 470 ++- src/i18n/sv/console.json | 60 +- src/i18n/sv/credential.json | 142 +- src/i18n/sv/distribution.json | 198 +- src/i18n/sv/order.json | 206 +- src/i18n/sv/proxy.json | 170 +- src/i18n/sv/service.json | 200 +- src/i18n/sv/usage.json | 36 +- src/i18n/sv/user.json | 30 +- src/i18n/uk/api.json | 214 +- src/i18n/uk/application.json | 288 +- src/i18n/uk/chatdoc.json | 296 +- src/i18n/uk/console.json | 60 +- src/i18n/uk/credential.json | 142 +- src/i18n/uk/distribution.json | 198 +- src/i18n/uk/order.json | 206 +- src/i18n/uk/proxy.json | 170 +- src/i18n/uk/service.json | 200 +- src/i18n/uk/usage.json | 36 +- src/i18n/uk/user.json | 30 +- src/i18n/zh-CN/api.json | 214 +- src/i18n/zh-CN/application.json | 288 +- src/i18n/zh-CN/chat.json | 258 +- src/i18n/zh-CN/chatdoc.json | 296 +- src/i18n/zh-CN/common.json | 470 ++- src/i18n/zh-CN/console.json | 60 +- src/i18n/zh-CN/credential.json | 142 +- src/i18n/zh-CN/distribution.json | 198 +- src/i18n/zh-CN/midjourney.json | 2096 ++++++++++-- src/i18n/zh-CN/order.json | 206 +- src/i18n/zh-CN/proxy.json | 170 +- src/i18n/zh-CN/service.json | 200 +- src/i18n/zh-CN/usage.json | 36 +- src/i18n/zh-CN/user.json | 30 +- src/i18n/zh-TW/api.json | 214 +- src/i18n/zh-TW/application.json | 288 +- src/i18n/zh-TW/chat.json | 258 +- src/i18n/zh-TW/chatdoc.json | 296 +- src/i18n/zh-TW/common.json | 470 ++- src/i18n/zh-TW/console.json | 60 +- src/i18n/zh-TW/credential.json | 142 +- src/i18n/zh-TW/distribution.json | 198 +- src/i18n/zh-TW/order.json | 206 +- src/i18n/zh-TW/proxy.json | 170 +- src/i18n/zh-TW/service.json | 200 +- src/i18n/zh-TW/usage.json | 36 +- src/i18n/zh-TW/user.json | 30 +- src/models/application.ts | 16 +- src/models/credential.ts | 30 + src/models/index.ts | 1 + src/operators/credential.ts | 35 + src/operators/index.ts | 1 + src/pages/chat/Conversation.vue | 3 +- src/pages/chatdoc/Conversation.vue | 8 +- src/pages/chatdoc/Index.vue | 62 +- src/pages/console/application/Buy.vue | 11 + src/pages/console/application/List.vue | 14 +- src/pages/console/order/Detail.vue | 38 +- src/pages/console/order/List.vue | 2 + src/pages/distribution/Index.vue | 9 +- src/pages/midjourney/Index.vue | 10 +- transmart.config.js | 16 +- 260 files changed, 37395 insertions(+), 16820 deletions(-) create mode 100644 change/@acedatacloud-hub-874b2b1d-c6cb-4a2d-85b7-ea9a27f28119.json create mode 100644 src/models/credential.ts create mode 100644 src/operators/credential.ts diff --git a/change/@acedatacloud-hub-874b2b1d-c6cb-4a2d-85b7-ea9a27f28119.json b/change/@acedatacloud-hub-874b2b1d-c6cb-4a2d-85b7-ea9a27f28119.json new file mode 100644 index 00000000..e41f98b0 --- /dev/null +++ b/change/@acedatacloud-hub-874b2b1d-c6cb-4a2d-85b7-ea9a27f28119.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix experience bugs", + "packageName": "@acedatacloud/hub", + "email": "cqc@cuiqingcai.com", + "dependentChangeType": "patch" +} diff --git a/src/assets/scss/_common.scss b/src/assets/scss/_common.scss index 56d9a746..04138312 100644 --- a/src/assets/scss/_common.scss +++ b/src/assets/scss/_common.scss @@ -4,6 +4,7 @@ body { margin: 0; height: 100%; width: 100%; + overflow: hidden; } * { diff --git a/src/components/application/Confirm.vue b/src/components/application/Confirm.vue index 0adba480..23497e47 100644 --- a/src/components/application/Confirm.vue +++ b/src/components/application/Confirm.vue @@ -24,7 +24,7 @@ > - {{ $t('common.button.apply') }} + {{ $t('common.button.apply') }} diff --git a/src/components/application/Status.vue b/src/components/application/Status.vue index 22f060e2..61fd4eda 100644 --- a/src/components/application/Status.vue +++ b/src/components/application/Status.vue @@ -15,7 +15,7 @@ {{ $t(`service.unit.` + application?.service?.unit + 's') }} - {{ + {{ $t('common.button.buyMore') }} @@ -23,7 +23,7 @@
{{ $t('chat.message.notApplied') }} - + {{ $t('common.button.apply') }} @@ -34,7 +34,7 @@