NEZ-1927 fix : 查看拓扑图信息时图形未对称

This commit is contained in:
likexuan
2022-06-17 14:37:46 +08:00
parent 75342188cb
commit ea8c29a32f
2 changed files with 10 additions and 11 deletions

View File

@@ -159,12 +159,11 @@
color: #e2f3ef; color: #e2f3ef;
font-size: 44px; font-size: 44px;
position: absolute; position: absolute;
top: 1px; top: 0px;
left: 2px; left: 2px;
transform: scale(0.95); // transform: scale(1.1);
z-index: 0; z-index: -1;
} }
.network-pop .error-model-stat .nz-icon-liubianxing { .network-pop .error-model-stat .nz-icon-liubianxing {
color: #FADED7; color: #FADED7;
} }

View File

@@ -444,17 +444,17 @@ export default {
notModuleIDArr: [], notModuleIDArr: [],
popData: [ popData: [
{ {
top: '-40px', top: '-41px',
left: '-21px', left: '-23px',
className: 'nz-icon-endpoint', className: 'nz-icon-endpoint',
id: 'endpoint', id: 'endpoint',
title: this.$t('project.topology.endpoint') title: this.$t('project.topology.endpoint')
}, },
{ top: '-40px', left: '19px', className: 'nz-icon-asset', id: 'asset', title: this.$t('project.topology.asset') }, { top: '-41px', left: '22px', className: 'nz-icon-asset', id: 'asset', title: this.$t('project.topology.asset') },
{ top: '-4px', left: '40px', className: '', id: 'other', title: '' }, { top: '-2px', left: '45px', className: '', id: 'other', title: '' },
{ top: '30px', left: '19px', className: '', id: 'other', title: '' }, { top: '37px', left: '22px', className: '', id: 'other', title: '' },
{ top: '30px', left: '-21px', className: 'nz-icon-info-normal', id: 'info', title: this.$t('project.topology.info') }, { top: '37px', left: '-23px', className: 'nz-icon-info-normal', id: 'info', title: this.$t('project.topology.info') },
{ top: '-4px', left: '-40px', className: 'nz-icon-gaojing', id: 'alert', title: this.$t('project.topology.alert') } { top: '-2px', left: '-45px', className: 'nz-icon-gaojing', id: 'alert', title: this.$t('project.topology.alert') }
], ],
popDataShow: { popDataShow: {
endpoint: false, endpoint: false,