+
+
+ {conversation?.latest_order_no ? (
+
+ 订单 {conversation.latest_order_no}
+
+ ) : null}
+ {conversation?.latest_order_status ? (
+ {conversation.latest_order_status}
+ ) : null}
+ {conversation?.support_scene ? (
+ {conversation.support_scene}
+ ) : null}
+
+ {formatDateTime(conversation?.updated_at)}
+
+
+
+
+
+ {messagesQuery.isFetching && messages.length === 0 ? (
+
+
+
+ ) : messages.length === 0 ? (
+
+ ) : (
+ messages.map(item => (
+
+
+ {formatText(item.sender_name || item.sender_role)}
+
+ {formatDateTime(item.created_at)}
+
+
+
+ {item.content_type === 'image' && item.attachment_urls?.length ? (
+
+ {item.attachment_urls.map(url => (
+
+
+
+ ))}
+
+ ) : (
+ formatText(item.content)
+ )}
+
+
+ ))
+ )}
+
+
+
+
+
+ )}
+