Commit fdd5918b authored by 张博's avatar 张博

重点设备弹框

parent b600effe
...@@ -159,7 +159,11 @@ ...@@ -159,7 +159,11 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
.amos-modal-container{ .amos-modal-container{
// width: 310px !important; background-image: url('./../assets/convertor/3dview/toolmodalbg.png');
background-repeat: no-repeat;
height:262px;
width: 452px !important;
background-color: rgba(255,255,255,0);
.amos-modal-close{ .amos-modal-close{
color: white; color: white;
background: linear-gradient(180deg, rgba(255, 0, 102, 1) 0%, rgba(255, 0, 102, 1) 0%, rgba(255, 51, 0, 1) 100%, rgba(255, 51, 0, 1) 100%); background: linear-gradient(180deg, rgba(255, 0, 102, 1) 0%, rgba(255, 0, 102, 1) 0%, rgba(255, 51, 0, 1) 100%, rgba(255, 51, 0, 1) 100%);
...@@ -170,36 +174,43 @@ ...@@ -170,36 +174,43 @@
} }
} }
.amos-modal-header{ .amos-modal-header{
background: $model-header-color-3d; background: rgba(255,255,255,0);
height: 30px; height: 50px;
padding: 0; padding: 0;
border-width: 0em;
.amos-modal-title{ .amos-modal-title{
line-height: 30px; line-height: 50px;
padding-left: 9px; padding-left: 9px;
color: #fff;
font-size: 18px;
} }
} }
.amos-modal-content{ .amos-modal-content{
padding: 0; padding: 0;
.point-dialog-body{ .point-dialog-body{
margin:10px;
max-height: 180px;
color: #fff;
.point-dialog-modal-row { .point-dialog-modal-row {
border: solid 1px rgba(234, 234, 234, 0.3);
display: flex; display: flex;
background: $model-body-color-3d; background: transparent;
.colTitle { .colTitle {
float: left; float: left;
font-weight: bold; font-weight: bold;
height: 40px; height: 40px;
padding-left: 8px; padding-left: 8px;
border-left: 1px solid $core-border-color; line-height: 40px;
box-sizing: border-box; box-sizing: border-box;
flex: 1; flex: 1;
background-color: rgba(25, 86, 147, 0.6);
} }
.colValue { .colValue {
float: left; float: left;
height: 40px; height: 40px;
padding-left: 8px; padding-left: 8px;
flex: 1; line-height: 40px;
border-left: 1px solid $core-border-color; flex: 1.5;
} }
} }
} }
...@@ -214,7 +225,7 @@ ...@@ -214,7 +225,7 @@
height: 8px; height: 8px;
} }
::-webkit-scrollbar-thumb { /* 拖动条 */ ::-webkit-scrollbar-thumb { /* 拖动条 */
background-image: url('./../assets/convertor/3dview/control-track.png') ; background-image: url('./../assets/convertor/3dview/scrollslider.png') ;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 10px; height: 10px;
} }
...@@ -222,8 +233,8 @@ ...@@ -222,8 +233,8 @@
background-color:rgba(17, 44, 88, 0.2); background-color:rgba(17, 44, 88, 0.2);
} }
::-webkit-scrollbar-button{ ::-webkit-scrollbar-button{
background-image: url('./../assets/convertor/3dview/scrollbutton.png') ;
background-image: url('./../assets/convertor/3dview/control-track.png') ; background-repeat: no-repeat;
} }
height:100%; height:100%;
......
...@@ -109,7 +109,8 @@ class MaskContent extends Component { ...@@ -109,7 +109,8 @@ class MaskContent extends Component {
return ( return (
<div className="mask-content"> <div className="mask-content">
<AmosWebSocket ref={node => this.aws = node} url={wsURL} onMessage={this.handleData} reconnect debug /> <AmosWebSocket ref={node => this.aws = node} url={wsURL} onMessage={this.handleData} reconnect debug />
{ sideControlShow && <SideControl multiple={multiple} errorAreaId={errorAreaId} onItemClick={onItemClick} layerConfig={layerConfig} animationProps={controlAnimation} />} {/* { sideControlShow && <SideControl multiple={multiple} errorAreaId={errorAreaId} onItemClick={onItemClick} layerConfig={layerConfig} animationProps={controlAnimation} />} */}
<SideControl multiple={multiple} errorAreaId={errorAreaId} onItemClick={onItemClick} layerConfig={layerConfig} animationProps={controlAnimation} />
{ sideControlShow && <DataPane animationProps={datapaneAnim} />} { sideControlShow && <DataPane animationProps={datapaneAnim} />}
<TopMsg alarmStart={alarmStart} /> <TopMsg alarmStart={alarmStart} />
{!isShowActionBar && <ModelHeader headerName={headerName} handleExceptModel={this.handleExceptModel} />} {!isShowActionBar && <ModelHeader headerName={headerName} handleExceptModel={this.handleExceptModel} />}
......
...@@ -1240,9 +1240,9 @@ class View3D extends Component { ...@@ -1240,9 +1240,9 @@ class View3D extends Component {
} }
getExceptionAreaList = () => { getExceptionAreaList = () => {
exceptionRegionListAction().then(data=>{ // exceptionRegionListAction().then(data=>{
this.setState({ exceptionAreas: data }); // this.setState({ exceptionAreas: data });
}); // });
} }
renderPolygonRegion = (exceptionAreas)=> { renderPolygonRegion = (exceptionAreas)=> {
......
...@@ -238,8 +238,7 @@ class AmosGridTable extends Component { ...@@ -238,8 +238,7 @@ class AmosGridTable extends Component {
rowSelection={rowSelection} rowSelection={rowSelection}
columns={columns} columns={columns}
//dataSource={dataList} dataSource={dataList}
dataSource={[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}
pagination={_pagination} pagination={_pagination}
size={size} size={size}
bordered={bordered} bordered={bordered}
......
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