diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index 7667551d4..4f2bb8418 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -147,7 +147,7 @@ li{ position: relative; } .to-top { - position: fixed; + position: absolute; bottom: 10px; right: 5px; border-radius: 5px; @@ -721,9 +721,13 @@ li{ /*box-shadow: inset -1px -2px 1px 0 rgba(0,0,0,0.11), inset 2px 2px 1px 0 rgba(255,255,255,0.50);*/ } .nz-table.el-table td .cell{ - height: 38px; + min-height: 38px; line-height: 38px; } +.nz-table.el-table td.alert-message-list-labels .cell{ + line-height: unset; + padding: 3px; +} /*.nz-table .el-table__row td:first-of-type { padding-left: 38px; }*/ @@ -742,7 +746,9 @@ li{ position: absolute; left: -3px; } - +.alert-message-tag { + margin: 3px; +} /* end--内容*/ /* begin--右弹框滑入滑出动画*/ @@ -1486,3 +1492,9 @@ li{ margin: 0 -7px; padding: 3px 0; } + +.metric-tip-icon{ + vertical-align: middle; + transform: scale(0.6); + display:inline-block; +} diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index 1fd169422..7b0d116c1 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -28,10 +28,23 @@ + @changeTab="changeTab"> + + + @@ -58,8 +71,10 @@ subResizeShow: Boolean, //resize时,用v-show="subResizeShow"控制页面内容是否显示 obj: Object, //关联的实体对象 from: String, //来自哪个页面 + tabList: Array, //动态页签列表 targetTab: String, //展示哪个页签 detail: Array, //对象详情内容 + detailList: Array, //多个对象详情内容 assetDetail: Array, //endpoint页的asset详情 }, diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/commonDetailTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/commonDetailTab.vue index 4c5a71bcd..258d35f07 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/commonDetailTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/commonDetailTab.vue @@ -9,8 +9,9 @@ + -
{{$t("overall.detail")}}
--> @@ -114,6 +113,7 @@