diff --git a/src/views/CharacterDetailView.vue b/src/views/CharacterDetailView.vue index e10e71e..8793563 100644 --- a/src/views/CharacterDetailView.vue +++ b/src/views/CharacterDetailView.vue @@ -179,6 +179,7 @@ const isGenerating = ref(false) const generationStatus = ref('') const generationProgress = ref(0) const sendToTelegram = ref(false) +const useProfileImage = ref(true) const telegramId = ref(localStorage.getItem('telegram_id') || '') const isTelegramIdSaved = ref(!!localStorage.getItem('telegram_id')) @@ -454,7 +455,8 @@ const handleGenerate = async () => { quality: quality.value.key, prompt: prompt.value, assets_list: selectedAssets.value.map(a => a.id), - telegram_id: sendToTelegram.value ? telegramId.value : null + telegram_id: sendToTelegram.value ? telegramId.value : null, + use_profile_image: useProfileImage.value } const response = await aiService.runGeneration(payload) @@ -687,6 +689,13 @@ const handleLogout = () => { +
+ + +
@@ -858,11 +867,11 @@ const handleLogout = () => { :totalRecords="historyTotal" @page="onHistoryPage" :template="{ default: 'PrevPageLink PageLinks NextPageLink' }" class="!bg-transparent !border-none !p-0 !text-[10px]" :pt="{ - root: { class: '!p-0' }, - pcPageButton: { root: ({ context }) => ({ class: ['!min-w-[24px] !h-6 !text-[10px] !rounded-md', context.active ? '!bg-violet-600/20 !text-violet-400' : '!bg-transparent'] }) }, - pcNextPageButton: { root: { class: '!min-w-[24px] !h-6 !text-[10px]' } }, - pcPreviousPageButton: { root: { class: '!min-w-[24px] !h-6 !text-[10px]' } } - }" /> + root: { class: '!p-0' }, + pcPageButton: { root: ({ context }) => ({ class: ['!min-w-[24px] !h-6 !text-[10px] !rounded-md', context.active ? '!bg-violet-600/20 !text-violet-400' : '!bg-transparent'] }) }, + pcNextPageButton: { root: { class: '!min-w-[24px] !h-6 !text-[10px]' } }, + pcPreviousPageButton: { root: { class: '!min-w-[24px] !h-6 !text-[10px]' } } + }" /> @@ -950,20 +959,20 @@ const handleLogout = () => { :totalRecords="assetsTotalRecords" @page="onAssetsPage" :template="{ default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink' }" class="!bg-transparent !border-none !p-0" :pt="{ - root: { class: '!bg-transparent' }, - pcPageButton: { - root: ({ context }) => ({ - class: [ - '!min-w-[40px] !h-10 !rounded-xl !border-none !transition-all !duration-300 !font-bold', - context.active ? '!bg-violet-600 !text-white !shadow-lg' : '!bg-white/5 !text-slate-400 hover:!bg-white/10 hover:!text-slate-50' - ] - }) - }, - pcFirstPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } }, - pcPreviousPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } }, - pcNextPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } }, - pcLastPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } } - }" /> + root: { class: '!bg-transparent' }, + pcPageButton: { + root: ({ context }) => ({ + class: [ + '!min-w-[40px] !h-10 !rounded-xl !border-none !transition-all !duration-300 !font-bold', + context.active ? '!bg-violet-600 !text-white !shadow-lg' : '!bg-white/5 !text-slate-400 hover:!bg-white/10 hover:!text-slate-50' + ] + }) + }, + pcFirstPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } }, + pcPreviousPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } }, + pcNextPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } }, + pcLastPageButton: { root: { class: '!bg-white/5 !text-slate-400 !border-none !rounded-xl !min-w-[40px] !h-10 hover:!bg-white/10 hover:!text-slate-50 transition-all' } } + }" />