forked from Gitlink/forgeplus-react
fix
This commit is contained in:
parent
d48a0c3fcb
commit
e6fe49bfcb
|
|
@ -19,6 +19,7 @@ import CaseDrop from '../Component/caseDrop';
|
|||
import Nodata from '../../../forge/Nodata';
|
||||
import pf from './pf.png';
|
||||
import pfjl from './pfjl.png';
|
||||
import pfbj from './pfbj.png';
|
||||
|
||||
function Details(props) {
|
||||
const owner = props.match.params.owner;
|
||||
|
|
@ -418,7 +419,7 @@ function Details(props) {
|
|||
:
|
||||
<div>
|
||||
<div className="editpanel">
|
||||
<div className="detailbanner">
|
||||
<div className="detailbanner" style={{position:"relative"}}>
|
||||
<div className="detailtitle">
|
||||
<div className="mb12">
|
||||
{details.priority && <span className={statusTag(details.priority.name)}>{details.priority.name}</span>}
|
||||
|
|
@ -441,9 +442,9 @@ function Details(props) {
|
|||
{
|
||||
details.user_permission &&
|
||||
<div>
|
||||
<div>
|
||||
{details.score > 0 && <span style={{ color: "#db6c2b", fontSize: '16px', fontWeight: 'bold' }}>综合得分: {details.score}分</span>}
|
||||
</div>
|
||||
{details.score > 0 && <div style={{position:'absolute',top:'-25px',right:'10px',backgroundImage:`url('${pfbj}')`,width:'126px',height:'24px',lineHeight:'24px',textAlign:"center"}}>
|
||||
{<span style={{ fontSize: '12px',color:'#fff' }}>综合得分: {details.score}分</span>}
|
||||
</div>}
|
||||
<ul className="detailoperate">
|
||||
<li><a className="color-blue" onClick={() => setEdit(true)}><i className="iconfont icon-a-bianji12 font-12 mr5"></i>编辑</a></li>
|
||||
<li><Link to={`/${owner}/${projectsId}/issues/${index}/copy`} className="color-blue ml20"><i className="iconfont icon-a-fuzhi2 font-12 mr5"></i>复制</Link></li>
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue