diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index a0f02466f..0dea33179 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -514,6 +514,7 @@ li{ .top-tool-right { display: flex; align-content: center; + height: 26px; } .top-tool-main-right { position: absolute; @@ -571,6 +572,63 @@ li{ .has-sub-popper { color: red; } +.main-list { + height: 100%; + transition: .4s height, .4s transform; + position: relative; +} +.main-list.main-list-with-sub { + transform: translate3d(0,0,0); + height: calc(50% - 4px); +} +.sub-list { + height: calc(50% - 4px); + transition: .4s height; + position: relative; +} +.sub-list-resize { + margin: 0 -6px; + border-top: 1px solid #aaa; + background-color: #eaeaea; + height: 9px; + box-sizing: border-box; + user-select: none; + color: #5f6368; + display: flex; + align-items: center; + justify-content: center; + padding-top: 3px; + cursor: ns-resize; +} +.sub-list-window-control { + display: flex; + align-items: center; + margin-left: 14px; +} +.window-control-btn { + cursor: pointer; + width: 29px; + text-align: center; +} +.window-control-btn:last-of-type { + margin-right: 4px; +} +.window-control-btn>i { + color: #909399; + font-size: 17px; +} +.window-control-btn>i:hover { + color: $global-text-color-active; +} +.pagination-top { + transition: .2s transform; +} +.pagination-top-show { + transform: translateX(0); +} +.pagination-top-hide { + transform: translateX(150%); +} /* end--二级顶部工具栏*/ /* start--内容*/ diff --git a/nezha-fronted/src/components/common/bottomBox/alertMessageBox.vue b/nezha-fronted/src/components/common/bottomBox/alertMessageBox.vue new file mode 100644 index 000000000..aacfaa226 --- /dev/null +++ b/nezha-fronted/src/components/common/bottomBox/alertMessageBox.vue @@ -0,0 +1,369 @@ + + + + + diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index 5031939c1..cc6cecc26 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -564,7 +564,7 @@ const en = { port: 'Port',//"端口" param: 'Parameter',//"参数" path: 'Path',//"路径" - asset: 'Device',//"设备" + asset: 'Asset',//"设备" lastUpdate: 'Last Reply',//"最后更新时间" moduleParameter: 'Module',//"组件参数" addGraph: 'View Graph', //添加图标 diff --git a/nezha-fronted/src/components/page/alert/config.vue b/nezha-fronted/src/components/page/alert/config.vue index 5f2857415..6717885a0 100644 --- a/nezha-fronted/src/components/page/alert/config.vue +++ b/nezha-fronted/src/components/page/alert/config.vue @@ -15,79 +15,90 @@
-
-
- - -
-
- - -