|
@@ -51,6 +51,9 @@ const MessageModal = React.createClass({
|
|
|
dataIndex: 'noticeTypeName',
|
|
|
key: 'noticeTypeName',
|
|
|
width: 120,
|
|
|
+ render: (text, record) => {
|
|
|
+ return <span style={{ color: record.noticeType == 59 && "red" }}>{text}</span>;
|
|
|
+ },
|
|
|
}, {
|
|
|
title: '时间',
|
|
|
dataIndex: 'createTimeFormattedDate',
|
|
@@ -65,6 +68,7 @@ const MessageModal = React.createClass({
|
|
|
return (
|
|
|
<Tooltip placement="topLeft" title={text}>
|
|
|
<div style={{
|
|
|
+ color: record.noticeType == 59 && "red",
|
|
|
width: 1189,
|
|
|
textOverflow: "ellipsis",
|
|
|
whiteSpace: "nowrap",
|
|
@@ -127,6 +131,11 @@ const MessageModal = React.createClass({
|
|
|
dataIndex: 'noticeTypeName',
|
|
|
key: 'noticeTypeName',
|
|
|
width: 120,
|
|
|
+ render: (text, record) => {
|
|
|
+ return (
|
|
|
+ <div style={{ color: record.noticeType == 59 && "red" }}>{text}</div>
|
|
|
+ )
|
|
|
+ }
|
|
|
}, {
|
|
|
title: '时间',
|
|
|
dataIndex: 'createTimeFormattedDate',
|
|
@@ -140,12 +149,14 @@ const MessageModal = React.createClass({
|
|
|
render: (text, record) => {
|
|
|
return (
|
|
|
<Tooltip placement="topLeft" title={text}>
|
|
|
- <div style={{
|
|
|
- width: 610,
|
|
|
- textOverflow: "ellipsis",
|
|
|
- whiteSpace: "nowrap",
|
|
|
- overflow: 'hidden',
|
|
|
- }}>
|
|
|
+ <div
|
|
|
+ style={{
|
|
|
+ color: record.noticeType == 59 && "red",
|
|
|
+ width: 610,
|
|
|
+ textOverflow: "ellipsis",
|
|
|
+ whiteSpace: "nowrap",
|
|
|
+ overflow: 'hidden',
|
|
|
+ }}>
|
|
|
{text}
|
|
|
</div>
|
|
|
</Tooltip>
|
|
@@ -542,7 +553,17 @@ const MessageModal = React.createClass({
|
|
|
<Tabs.TabPane
|
|
|
key={v.id + ''}
|
|
|
tab={<div>
|
|
|
- {v.list.length === 0 || v.isRead ? null : <div style={{ width: '8px', height: "8px", borderRadius: '8px', background: '#f00', position: 'absolute', right: '5px', top: '2px' }} />}
|
|
|
+ {v.list.length === 0 || v.isRead ? null :
|
|
|
+ <div
|
|
|
+ style={{
|
|
|
+ width: '8px',
|
|
|
+ height: "8px",
|
|
|
+ borderRadius: '8px',
|
|
|
+ background: '#f00',
|
|
|
+ position: 'absolute',
|
|
|
+ right: '5px',
|
|
|
+ top: '2px'
|
|
|
+ }} />}
|
|
|
{v.name}
|
|
|
</div>
|
|
|
} />
|