From cf88306b1f6aade9f0c6c4fa5859872d3f177c4a Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Fri, 13 Sep 2024 14:56:29 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-customerSystem/src/views/register/visit/component/previewTable.jsx | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/previewTable.jsx b/gz-customerSystem/src/views/register/visit/component/previewTable.jsx index 6785ad2..f756d12 100644 --- a/gz-customerSystem/src/views/register/visit/component/previewTable.jsx +++ b/gz-customerSystem/src/views/register/visit/component/previewTable.jsx @@ -1,5 +1,8 @@ import React, { useEffect, useState } from 'react'; import { person, link } from '@/assets/images' +import { person1 } from '@/assets/images/icon' + + const ApplyDialog = ({ applyDialog }) => { @@ -16,10 +19,10 @@ <th bgcolor="#F7F8FA" className="table-title" width='140'>性别</th> <td>{item.sexName || '-'}</td> <td rowspan="4" width="112" height='147' style={{ padding: '0px' }}> - <img border="0" src={person} alt="" style={{ + <img border="0" src={person1} alt="" style={{ width: '100%', height: '100%', - objectFit: 'cover', // 保持原始宽高比并填充整个容器 + // objectFit: 'cover', // 保持原始宽高比并填充整个容器 objectPosition: 'center', // 图片居中显示 }} /> </td> @@ -83,7 +86,7 @@ <th bgcolor="#F7F8FA" className="table-title" width="140">性别</th> <td>{item.sexName || '-'}</td> <td rowspan="4" width="112" height='147' style={{ padding: '0px' }}> - <img border="0" src={person} alt="" style={{ width: '100%', height: '100%' }} /> + <img border="0" src={person1} alt="" style={{ width: '100%', height: '100%' }} /> </td> </tr> <tr> -- Gitblit v1.8.0