Commit 2fcc56ba authored by 卢均锐's avatar 卢均锐

feat: 采购竞价msItem 修改title

parent ab2d615c
......@@ -30,6 +30,17 @@
word-break: break-all;
}
.titleTop {
font-size: 12px;
color: #303133;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-all;
max-width: calc(100% - 20px);
}
.label{
width: 40%;
}
......
......@@ -15,9 +15,9 @@ const MsgItem: React.FC<MsgItemPrpos> = (props: any) => {
return (
<div className={styles.msgItem}>
<div className={styles.msgItemRow}>
<div className={styles.msgItemRow} style={{alignItems: 'center'}}>
<div className={styles.badge}>{rankNumber}</div>
<div className={styles.title}>{data.memberName}</div>
<Tooltip placement="top" title={data.memberName}><div className={styles.titleTop}>{data.memberName}</div></Tooltip>
</div>
<div className={styles.msgItemRow}><div className={styles.label}>联系人姓名:</div><div className={styles.title}>{data.contacts}</div></div>
<div className={styles.msgItemRow}><div className={styles.label}>联系人手机:</div><div className={styles.title}>{data.tel.replace(/^(.{3})(.*)(.{4})$/, '$1 $2 $3')}</div></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment