🎨 style(ui): Optimize icon adaptation

This commit is contained in:
Apple\Apple
2025-05-26 22:25:38 +08:00
parent 16ad2d48d8
commit 1e57317322
2 changed files with 5 additions and 4 deletions

View File

@@ -24,9 +24,10 @@ import {
IconSearch, IconSearch,
IconCopy, IconCopy,
IconInfoCircle, IconInfoCircle,
IconCrown,
} from '@douyinfe/semi-icons'; } from '@douyinfe/semi-icons';
import { UserContext } from '../context/User/index.js'; import { UserContext } from '../context/User/index.js';
import { Settings, AlertCircle } from 'lucide-react'; import { AlertCircle } from 'lucide-react';
import { MODEL_CATEGORIES } from '../constants'; import { MODEL_CATEGORIES } from '../constants';
const ModelPricing = () => { const ModelPricing = () => {
@@ -507,7 +508,7 @@ const ModelPricing = () => {
<div className="flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4 lg:gap-6"> <div className="flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4 lg:gap-6">
<div className="flex items-start"> <div className="flex items-start">
<div className="w-10 h-10 sm:w-12 sm:h-12 rounded-xl bg-white/10 flex items-center justify-center mr-3 sm:mr-4"> <div className="w-10 h-10 sm:w-12 sm:h-12 rounded-xl bg-white/10 flex items-center justify-center mr-3 sm:mr-4">
<Settings size={20} className="text-white" /> <IconCrown size="large" className="text-white" />
</div> </div>
<div className="flex-1 min-w-0"> <div className="flex-1 min-w-0">
<div className="text-base sm:text-lg font-semibold mb-1 sm:mb-2"> <div className="text-base sm:text-lg font-semibold mb-1 sm:mb-2">

View File

@@ -18,7 +18,7 @@ import {
IconCalendarClock, IconCalendarClock,
IconChecklistStroked, IconChecklistStroked,
IconComment, IconComment,
IconCommentStroked, IconTerminal,
IconCreditCard, IconCreditCard,
IconGift, IconGift,
IconHelpCircle, IconHelpCircle,
@@ -252,7 +252,7 @@ const SiderBar = () => {
text: 'Playground', text: 'Playground',
itemKey: 'playground', itemKey: 'playground',
to: '/playground', to: '/playground',
icon: <IconCommentStroked />, icon: <IconTerminal />,
}, },
{ {
text: t('聊天'), text: t('聊天'),