From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/tag-management/tag-remove-modal.tsx | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/components/base/tag-management/tag-remove-modal.tsx b/app/components/base/tag-management/tag-remove-modal.tsx index 85f1831..3e4d08f 100644 --- a/app/components/base/tag-management/tag-remove-modal.tsx +++ b/app/components/base/tag-management/tag-remove-modal.tsx @@ -2,12 +2,12 @@ import { useTranslation } from 'react-i18next' import { RiCloseLine } from '@remixicon/react' +import s from './style.module.css' import cn from '@/utils/classnames' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import type { Tag } from '@/app/components/base/tag-management/constant' -import { noop } from 'lodash-es' type TagRemoveModalProps = { show: boolean @@ -21,24 +21,24 @@ return ( <Modal - className={cn('w-[480px] max-w-[480px] p-8')} + className={cn('p-8 max-w-[480px] w-[480px]', s.bg)} isShow={show} - onClose={noop} + onClose={() => { }} > - <div className='absolute right-4 top-4 cursor-pointer p-2' onClick={onClose}> - <RiCloseLine className='h-4 w-4 text-text-tertiary' /> + <div className='absolute right-4 top-4 p-2 cursor-pointer' onClick={onClose}> + <RiCloseLine className='w-4 h-4 text-gray-500' /> </div> - <div className='h-12 w-12 rounded-xl border-[0.5px] border-divider-regular bg-background-default-burn p-3 shadow-xl'> - <AlertTriangle className='h-6 w-6 text-[rgb(247,144,9)]' /> + <div className='w-12 h-12 p-3 bg-white rounded-xl border-[0.5px] border-gray-100 shadow-xl'> + <AlertTriangle className='w-6 h-6 text-[rgb(247,144,9)]' /> </div> - <div className='mt-3 text-xl font-semibold leading-[30px] text-text-primary'> + <div className='mt-3 text-xl font-semibold leading-[30px] text-gray-900'> {`${t('common.tag.delete')} `} <span>{`"${tag.name}"`}</span> </div> - <div className='my-1 text-sm leading-5 text-text-tertiary'> + <div className='my-1 text-gray-500 text-sm leading-5'> {t('common.tag.deleteTip')} </div> - <div className='flex items-center justify-end pt-6'> + <div className='pt-6 flex items-center justify-end'> <Button className='mr-2' onClick={onClose}>{t('common.operation.cancel')}</Button> <Button className='border-red-700' variant="warning" onClick={onConfirm}>{t('common.operation.delete')}</Button> </div> -- Gitblit v1.8.0