From d357d1c857572e2293eb05575d1986e565f3f717 Mon Sep 17 00:00:00 2001 From: Germey Date: Thu, 20 Feb 2025 23:28:30 +0800 Subject: [PATCH] Add application selection (#186) Co-authored-by: AceDataCloud --- ...-6df250d4-4c26-4705-adf2-0315da5885b9.json | 7 ++ src/components/application/Info.vue | 59 +++++++++++++++ src/components/application/Status.vue | 73 ++++++++++++++----- src/components/chat/SuggestionItem.vue | 5 +- src/pages/chat/Conversation.vue | 26 ++++--- src/pages/console/application/List.vue | 4 +- src/pages/flux/Index.vue | 5 ++ src/pages/hailuo/Index.vue | 5 ++ src/pages/headshots/Index.vue | 5 ++ src/pages/luma/Index.vue | 5 ++ src/pages/midjourney/Index.vue | 5 ++ src/pages/pika/Index.vue | 5 ++ src/pages/qrart/Index.vue | 5 ++ src/pages/suno/Index.vue | 5 ++ src/store/chat/actions.ts | 9 +++ src/store/chat/persist.ts | 1 + src/store/flux/actions.ts | 10 ++- src/store/hailuo/actions.ts | 10 ++- src/store/headshots/actions.ts | 10 ++- src/store/luma/actions.ts | 10 ++- src/store/midjourney/actions.ts | 20 ++--- src/store/pika/actions.ts | 10 ++- src/store/qrart/actions.ts | 10 ++- src/store/suno/actions.ts | 10 ++- 24 files changed, 266 insertions(+), 48 deletions(-) create mode 100644 change/@acedatacloud-nexior-6df250d4-4c26-4705-adf2-0315da5885b9.json create mode 100644 src/components/application/Info.vue diff --git a/change/@acedatacloud-nexior-6df250d4-4c26-4705-adf2-0315da5885b9.json b/change/@acedatacloud-nexior-6df250d4-4c26-4705-adf2-0315da5885b9.json new file mode 100644 index 00000000..d80271c5 --- /dev/null +++ b/change/@acedatacloud-nexior-6df250d4-4c26-4705-adf2-0315da5885b9.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "add applictions selection", + "packageName": "@acedatacloud/nexior", + "email": "office@acedata.cloud", + "dependentChangeType": "patch" +} diff --git a/src/components/application/Info.vue b/src/components/application/Info.vue new file mode 100644 index 00000000..2499fbe1 --- /dev/null +++ b/src/components/application/Info.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/src/components/application/Status.vue b/src/components/application/Status.vue index beca5c71..6b4c0598 100644 --- a/src/components/application/Status.vue +++ b/src/components/application/Status.vue @@ -8,15 +8,21 @@
- - {{ $t('common.message.expiredAt') }}: - {{ $dayjs.format(application.expired_at) }} - - - {{ $t('common.message.remainingAmount') }}: - {{ application?.remaining_amount?.toFixed(6) }} - {{ $t(`service.unit.` + application?.service?.unit + 's') }} - + + + + + + + + + {{ $t('common.button.buyMore') @@ -49,12 +55,23 @@