From 420f1a4abbe3cfe933c99551cac5e25863448a8c Mon Sep 17 00:00:00 2001 From: caohuipeng Date: Fri, 4 Sep 2026 02:21:55 +0800 Subject: [PATCH] =?UTF-8?q?style(chat):=20=E7=BB=9F=E4=B8=80=E4=BC=9A?= =?UTF-8?q?=E8=AF=9D/=E6=89=B9=E6=AC=A1=E4=B8=AD=E5=BF=83/=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=B7=A5=E4=BD=9C=E5=8F=B0=E9=A2=9C=E8=89=B2=E4=B8=BA?= =?UTF-8?q?=E8=AF=AD=E4=B9=89=E4=BB=A4=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chat/components/ChatBrowserPanel.vue | 4 +- .../chat/components/ChatGuideModal.vue | 2 +- .../features/chat/components/ChatInputBar.vue | 10 +- .../chat/components/ChatMessageList.vue | 2 +- .../features/chat/components/ChatSidebar.vue | 12 +- .../components/ShippingFieldEvidencePanel.vue | 2 +- .../ShippingTaskFieldConflictPanel.vue | 4 +- .../ShippingTaskParsedResultCard.vue | 10 +- .../chat/components/ToolRunProgressCard.vue | 34 +- .../messages/TransferBacklogSummaryCard.vue | 20 +- .../messages/TransferFileProgressCard.vue | 12 +- .../components/messages/TransferHomePanel.vue | 4 +- .../messages/TransferManualCloseDialog.vue | 10 +- .../messages/TransferPrecheckCard.vue | 42 +- .../messages/TransferProgressCard.vue | 10 +- .../messages/TransferResultCard.vue | 30 +- .../messages/TransferSourceSelectCard.vue | 32 +- .../ReviewAuditTrailDrawer.vue | 26 +- .../ReviewAutomationStatusPanel.vue | 2 +- .../ReviewBuildEligibilityDetailsDrawer.vue | 34 +- .../ReviewBuildEligibilityPanel.vue | 26 +- .../ReviewBuildEligibilitySummary.vue | 6 +- .../ReviewCloseFulfillmentDialog.vue | 4 +- .../ReviewCompletedChecksPanel.vue | 2 +- .../ReviewCurrentProcessingCard.vue | 30 +- .../ReviewCustomerResolutionPanel.vue | 2 +- .../ReviewDocumentEvidenceDrawer.vue | 66 +- .../ReviewDocumentNavigation.vue | 32 +- .../shipping-review/ReviewDocumentPreview.vue | 32 +- .../shipping-review/ReviewDuplicatePanel.vue | 2 +- .../ReviewFieldCompletenessPanel.vue | 2 +- .../ReviewFieldConflictPanel.vue | 10 +- .../ReviewFulfillmentDecisionPanel.vue | 6 +- .../ReviewIntakeParsePanel.vue | 24 +- .../ReviewInventoryCandidatesPanel.vue | 32 +- .../ReviewInventoryIssueFallbackCard.vue | 2 +- .../ReviewInventoryIssueList.vue | 6 +- .../ReviewLineFulfillmentAggregateCard.vue | 6 +- .../ReviewLineFulfillmentDetail.vue | 12 +- .../ReviewLineInventoryOps.vue | 4 +- .../ReviewLlmEvidenceComparison.vue | 18 +- .../ReviewLlmSuggestionDialog.vue | 8 +- .../ReviewLlmSuggestionDrawer.vue | 6 +- .../ReviewLlmSuggestionPanel.vue | 26 +- .../ReviewProfileMatchPanel.vue | 4 +- .../ReviewReservationPanel.vue | 6 +- .../ReviewVersionHistoryDrawer.vue | 6 +- .../ReviewVersionHistoryPanel.vue | 20 +- .../shipping-review/ReviewWorkbenchFooter.vue | 6 +- .../shipping-review/ReviewWorkbenchHeader.vue | 12 +- .../ReviewWorkbenchModeToggle.vue | 6 +- .../ShippingConversationProcessingCard.vue | 268 ++- .../ShippingOrderDocumentResultItem.vue | 2 +- .../shipping/ShippingOrderExtractionCard.vue | 372 +++- .../ShippingOrderExtractionDetailsDrawer.vue | 32 +- .../shipping/ShippingWorkflowTimeline.vue | 49 +- .../chat/views/ShippingOrderReviewView.vue | 1574 ++++++++++------- 57 files changed, 1857 insertions(+), 1166 deletions(-) diff --git a/frontend/src/features/chat/components/ChatBrowserPanel.vue b/frontend/src/features/chat/components/ChatBrowserPanel.vue index 1ad99f88..13c6e7dd 100644 --- a/frontend/src/features/chat/components/ChatBrowserPanel.vue +++ b/frontend/src/features/chat/components/ChatBrowserPanel.vue @@ -38,7 +38,7 @@ const emit = defineEmits<{ >
@@ -94,7 +94,7 @@ const emit = defineEmits<{ -
+
{{ getAttachmentSize(a) }} - · + · @@ -858,7 +858,7 @@ watch( :disabled="!canSendMessage" class="flex h-10 w-10 shrink-0 items-center justify-center rounded-full border shadow-sm transition-all duration-200 disabled:cursor-not-allowed disabled:opacity-50" :class="!canSendMessage - ? 'border-default bg-slate-100 text-muted' + ? 'border-default bg-surface-strong text-muted' : 'border-brand-500 bg-brand-500 text-white shadow-[0_0_0_4px_rgba(59,130,246,0.18)] hover:scale-105 hover:bg-brand-600 hover:shadow-[0_0_0_6px_rgba(59,130,246,0.24)] active:scale-95'" @click="emit('send')" > diff --git a/frontend/src/features/chat/components/ChatMessageList.vue b/frontend/src/features/chat/components/ChatMessageList.vue index 0c539166..126cfe65 100644 --- a/frontend/src/features/chat/components/ChatMessageList.vue +++ b/frontend/src/features/chat/components/ChatMessageList.vue @@ -207,7 +207,7 @@ const isLatestAssistantMessage = (items: ChatMessage[], index: number) => {
- {{ $t('chat.history') }} + {{ $t('chat.history') }}
-
+
{{ $t('chat.noHistory') }}
@@ -225,14 +225,14 @@ const orderExtractionAttentionClass = (item: DisplayHistoryItem) => { v-for="item in displayHistory" :key="item.conversation_id" class="group relative flex w-full items-center justify-between rounded-lg transition-colors" - :class="activeHistoryKey === item.conversation_id ? 'bg-brand-50 dark:bg-brand-900/20' : 'hover:bg-slate-50 dark:hover:bg-slate-800/50'" + :class="activeHistoryKey === item.conversation_id ? 'bg-brand-50 dark:bg-brand-900/20' : 'hover-surface-soft dark:hover:bg-slate-800/50'" >
{{ item.quote }}
diff --git a/frontend/src/features/chat/components/ShippingTaskFieldConflictPanel.vue b/frontend/src/features/chat/components/ShippingTaskFieldConflictPanel.vue index 26d9208c..420ca546 100644 --- a/frontend/src/features/chat/components/ShippingTaskFieldConflictPanel.vue +++ b/frontend/src/features/chat/components/ShippingTaskFieldConflictPanel.vue @@ -79,7 +79,7 @@ async function resolveConflict( #{{ Number(conflict.position) + 1 }} · {{ conflict.field_name }}
-
+
{{ t('chat.shippingFieldConflict.existing') }}: {{ conflict.existing_value || '—' }} @@ -92,7 +92,7 @@ async function resolveConflict(