Commit 89174723 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改样式

parent eeee73c5
......@@ -129,7 +129,14 @@ const UploadFiles: React.FC<PickUploadProps> = (props: PickUploadProps) => {
<div className={styles.renderFileItem} >
<div className={styles['fileItem-left']}>
<img className={styles.img} src={pdf_icon} />
<a className={cx({ [styles.error]: _item.status === 'error' || !_item.url })} href={_item.url} target="_blank">{_item.name}</a>
<a
className={cx({ [styles.error]: _item.status === 'error' || !_item.url })}
href={_item.url}
target="_blank"
title={_item.name}
>
{_item.name}
</a>
</div>
{
!disable && (
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-25 14:59:38
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-07 17:03:27
* @LastEditTime: 2021-07-07 18:05:05
* @Description: 会员考察信息
*/
import React from 'react';
......@@ -122,7 +122,11 @@ const MemberInvestigateInfo: React.FC<IProps> = (props: IProps) => {
</Col>
<Col span={8}>
<Descriptions column={1}>
<Descriptions.Item label="考察报告" labelStyle={{ width: 106 }}>
<Descriptions.Item
label="考察报告"
labelStyle={{ width: 106 }}
contentStyle={{ display: 'block', overflow: 'hidden' }}
>
<UploadFiles
fileList={dataSource && dataSource.reports ? dataSource.reports.map((item) => normalizeFiledata(item.url)) : []}
disable
......
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