style: 字体调整perf: 样式调整

This commit is contained in:
rd
2025-09-09 14:34:30 +08:00
parent 89ce25cd50
commit 4053aa176e
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
shape: 'round', shape: 'round',
style: ROLE_STYLE, style: ROLE_STYLE,
messageRender: (message: string) => { messageRender: (message: string) => {
return <div class="max-w-400px"> return <div class="max-w-600px">
{message} {message}
</div>; </div>;
}, },
@ -106,7 +106,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
variant: 'borderless', variant: 'borderless',
style: ROLE_STYLE, style: ROLE_STYLE,
messageRender: (message: string) => { messageRender: (message: string) => {
return <div class="max-w-400px markdown-wrap" v-html={md.render(message)} />; return <div class="max-w-600px markdown-wrap" v-html={md.render(message)} />;
}, },
footer: (params) => { footer: (params) => {
const { content, item } = params as { content: string; item: MESSAGE.Answer }; const { content, item } = params as { content: string; item: MESSAGE.Answer };

View File

@ -94,7 +94,7 @@ export default {
}); });
return () => ( return () => (
<Drawer width={240} rootClassName="ct-history-conversation-drawer" v-model:open={open.value} onClose={onClose}> <Drawer width={320} rootClassName="ct-history-conversation-drawer" v-model:open={open.value} onClose={onClose}>
<header class="header h-40px px-12px flex justify-between items-center"> <header class="header h-40px px-12px flex justify-between items-center">
<span class="text-12px font-400 color-#211F24 font-family-medium">历史对话</span> <span class="text-12px font-400 color-#211F24 font-family-medium">历史对话</span>
<icon-close size={16} class="color-#211F24 cursor-pointer" onClick={onClose} /> <icon-close size={16} class="color-#211F24 cursor-pointer" onClick={onClose} />