diff --git a/nezha-fronted/src/assets/css/components/common/rightBox/dcBox.scss b/nezha-fronted/src/assets/css/components/common/rightBox/dcBox.scss new file mode 100644 index 000000000..4e474c0ef --- /dev/null +++ b/nezha-fronted/src/assets/css/components/common/rightBox/dcBox.scss @@ -0,0 +1,38 @@ +.right-box-dc{ + .subnet-list{ + .subnet-row{ + display: flex; + align-items: center; + justify-content: space-between; + .subnet-addr{ + width: 36%; + } + .subnet-remark{ + width: 56%; + } + .subnet-del{ + width: 5%; + height: 28px; + margin-bottom: 16px; + display: flex; + align-items: center; + i{ + cursor: pointer; + } + } + } + } + .subnet-add{ + width: 16px; + height: 18px; + line-height: 18px; + text-align: center; + } +} +.ipSubnet-pop{ + font-size: 12px; + line-height: 16px; + p span:last-of-type{ + margin-left: 8px; + } +} \ No newline at end of file diff --git a/nezha-fronted/src/assets/css/components/index.scss b/nezha-fronted/src/assets/css/components/index.scss index 0ac5a2ea4..88c661e11 100644 --- a/nezha-fronted/src/assets/css/components/index.scss +++ b/nezha-fronted/src/assets/css/components/index.scss @@ -62,6 +62,7 @@ @import './common/rightBox/moduleBox.scss'; @import './common/rightBox/pipelineSelect.scss'; @import './common/rightBox/ipam.scss'; +@import './common/rightBox/dcBox.scss'; @import './common/rightBox/assetMetaBox.scss'; @import './common/rightBox/chartRightBox/chartRightBox.scss'; @import './common/rightBox/mibBox.scss'; diff --git a/nezha-fronted/src/components/common/rightBox/dcBox.vue b/nezha-fronted/src/components/common/rightBox/dcBox.vue index 5fd439b32..db8ff454b 100644 --- a/nezha-fronted/src/components/common/rightBox/dcBox.vue +++ b/nezha-fronted/src/components/common/rightBox/dcBox.vue @@ -1,78 +1,206 @@