27 lines
727 B
JavaScript
27 lines
727 B
JavaScript
import React, { useMemo, useState } from 'react';
|
|
import { useDispatch, useSelector } from 'react-redux';
|
|
import PanelBox from '../../components/PanelBox';
|
|
|
|
function DrpReal({ style }) {
|
|
const dispatch = useDispatch()
|
|
|
|
return (
|
|
<PanelBox
|
|
style={style}
|
|
title="方案对比"
|
|
color="green"
|
|
extra={
|
|
<div style={{color:'#1890ff',marginRight:'10px',cursor:'pointer'}} onClick={()=>{
|
|
dispatch?.runtime.setInfoDlg({ layerId: 'FadbLayer', properties: {} })
|
|
}}>
|
|
详情
|
|
</div>
|
|
}
|
|
>
|
|
<img src={process.env.PUBLIC_URL+'/assets/组 6.png'} style={{width:'23rem',marginLeft:'1.7rem',marginTop:'0.5rem'}}/>
|
|
</PanelBox>
|
|
)
|
|
}
|
|
|
|
export default DrpReal;
|