perf:未读邮件变色、加深

main
LiaoYijun 6 months ago
parent ec20df7dc4
commit e2b06c729c

@ -73,7 +73,7 @@ const MailBox = ({ mailboxDir, onMailItemClick, ...props }) => {
const folderName = (item.showFolder) ? `[${item.FDir}] ` : ''
const orderMailType = item.MAT_Name ? <span className='text-neutral-600 text-xs'>{item.MAT_Name}</span> : ''
const countryName = isEmpty(item.CountryCN) ? '' : '[' + item.CountryCN + '] '
const mailStateClass = item.MOI_ReadState === 0 ? 'font-bold' : ''
const mailStateClass = item.MOI_ReadState === 0 ? 'font-black text-emerald-600' : ''
const hasAtta = item.MAI_Attachment !== 0 ? <AttachmentIcon className='text-blue-500' /> : null
return (
<li

Loading…
Cancel
Save