style: 会话筛选

dev/RoosterEditor
Lei OT 1 week ago
parent 26b709a7dc
commit c51df7fa03

@ -1,9 +1,9 @@
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Button, Tag, Radio, Popover, Form, Space } from 'antd'; import { Button, Tag, Radio, Popover, Form, Space, Tooltip } from 'antd';
import { isEmpty, objectMapper, TagColorStyle } from '@/utils/commons'; import { isEmpty, objectMapper, TagColorStyle } from '@/utils/commons';
import useConversationStore from '@/stores/ConversationStore'; import useConversationStore from '@/stores/ConversationStore';
import { OrderLabelDefaultOptions } from '@/stores/OrderStore'; import { OrderLabelDefaultOptions } from '@/stores/OrderStore';
import { FilterIcon } from '@/components/Icons'; import { FilterOutlined, FilterTwoTone } from '@ant-design/icons';
const otypes = [ const otypes = [
{ label: 'All', value: '', labelValue: '' }, { label: 'All', value: '', labelValue: '' },
@ -202,17 +202,15 @@ const ChatListFilter = ({ onFilterChange, activeList, ...props }) => {
</Form> </Form>
</> </>
}> }>
<Tooltip title='更多筛选' >
<Button <Button
icon={ icon={
<FilterIcon isEmpty(selectedTags) ? <FilterOutlined className='text-neutral-500' /> : <FilterTwoTone />
className={
isEmpty(selectedTags) ? 'text-neutral-500' : 'text-blue-500'
}
/>
} }
type='text' type='text'
size='middle' size='middle'
/> />
</Tooltip>
</Popover> </Popover>
</div> </div>
</> </>

Loading…
Cancel
Save