优化样式

This commit is contained in:
何童崇 2022-05-19 10:29:05 +08:00
parent a884146577
commit 38a9155769
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ function TaskList({applyTaskId, setStudentInfoReset}) {
const columns = [ const columns = [
{ title: '序号', dataIndex: 'index', align: 'center', className:"taskTableColumns", render: (text, item, index) => index + 1 }, { title: '序号', dataIndex: 'index', align: 'center', className:"taskTableColumns", render: (text, item, index) => index + 1 },
{ title: '课题名称', dataIndex: 'taskName', className:"taskTableColumns taskName", width: '28%', render: (text, item) => <Tooltip title={text}><span onClick={()=>{window.location.href=item.taskUrl}}>{text}</span></Tooltip> }, { title: '课题名称', dataIndex: 'taskName', className:"taskTableColumns taskName", width: '28%', render: (text, item) => <Tooltip title={text}><a onClick={()=>{window.location.href=item.taskUrl}}>{text}</a></Tooltip> },
{ title: '项目名称', dataIndex: 'tutorName', className:"taskTableColumns", width: '28%', render: (text) => <Tooltip title={text}>{text}</Tooltip> }, { title: '项目名称', dataIndex: 'tutorName', className:"taskTableColumns", width: '28%', render: (text) => <Tooltip title={text}>{text}</Tooltip> },
{ title: '课题奖金', dataIndex: 'taskReward', className:"taskTableColumns", render: (text) => <span> {text}</span> }, { title: '课题奖金', dataIndex: 'taskReward', className:"taskTableColumns", render: (text) => <span> {text}</span> },
{ {

View File

@ -13,7 +13,7 @@
font-size: 15px; font-size: 15px;
color: #353f5e; color: #353f5e;
} }
.taskTableColumns.taskName span{ .taskTableColumns.taskName a{
color: #2545c9; color: #2545c9;
} }
.ant-table-thead > tr > .taskTableColumns, .ant-table-tbody > tr > .taskTableColumns{ .ant-table-thead > tr > .taskTableColumns, .ant-table-tbody > tr > .taskTableColumns{