diff --git a/nezha-fronted/src/assets/css/main.css b/nezha-fronted/src/assets/css/main.css
index a4c25ba6a..74cfef446 100644
--- a/nezha-fronted/src/assets/css/main.css
+++ b/nezha-fronted/src/assets/css/main.css
@@ -6,10 +6,10 @@
display: none;
}
body {
- height: 100%;
+ height: 100%;
}
html {
- height: 100%;
+ height: 100%;
}
.content-box {
height: 100%;
@@ -57,23 +57,23 @@ html {
}
/*侧滑文字*/
.el-form-item .el-form-item__label{
- font-size: 10px;
- text-align : left;
+ font-size: 10px;
+ text-align : left;
}
/*侧滑输入框高度*/
.el-input .el-input__inner{
- line-height: 26px;
- height: 26px;
+ line-height: 26px;
+ height: 26px;
}
/*侧滑输入框宽度*/
.right-menu .el-form-item__content .el-input{
- width: 90%;
+ width: 90%;
}
- /* begin--按钮组件*/
+/* begin--按钮组件*/
.nz-btn {
border-radius: 4px;
cursor: pointer;
- line-height: 21px;
+ line-height: 18px;
font-size: 14px;
font-weight: 700;
padding: 4px 14px;
@@ -127,7 +127,7 @@ html {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
- /* end--按钮组件*/
+/* end--按钮组件*/
/* end--通用*/
/* begin--左侧列表*/
@@ -172,15 +172,15 @@ html {
margin-left: 270px;
padding: 0 15px 0 25px;
}
- /* begin--顶部工具栏*/
+/* begin--顶部工具栏*/
.top-tools {
padding: 22px 0 13px 0;
}
.top-tools .top-tool-search {
width: 320px;
}
- /* end--顶部工具栏*/
- /* start--内容*/
+/* end--顶部工具栏*/
+/* start--内容*/
.content-right>.el-table{
border: 1px solid #d4d4d4;
border-left: none;
@@ -205,21 +205,27 @@ html {
border-left: 1px solid white;
border-bottom: 1px solid #d4d4d4;;
}
+.content-right .el-table .el-table__header th:first-of-type {
+ border-left: none;
+}
+.content-right .el-table .el-table__header th:nth-last-child(2) {
+ border-right: none;
+}
.content-right .el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
border-right: none;
}
.content-right .el-table td {
padding: 4px 0;
}
- /* end--内容*/
- /* start--分页*/
+/* end--内容*/
+/* start--分页*/
.pagination {
padding-top: 18px;
text-align: center;
}
- /* end--分页*/
+/* end--分页*/
- /* begin--右弹框滑入滑出动画*/
+/* begin--右弹框滑入滑出动画*/
@keyframes slide-in-from-right {
from {right: -800px}
to {right: 0}
@@ -234,9 +240,9 @@ html {
.right-box-leave-active {
animation: slide-out-to-right 0.4s;
}
- /* end--右弹框滑入滑出动画*/
+/* end--右弹框滑入滑出动画*/
- /* begin--右子弹框动画*/
+/* begin--右子弹框动画*/
@keyframes appear {
from {opacity:0}
to {opacity:1}
@@ -251,7 +257,7 @@ html {
.right-sub-box-leave-active {
animation: disappear 0.4s;
}
- /* end--右子弹框动画*/
+/* end--右子弹框动画*/
/* end--右侧内容*/
/* begin--右侧弹框*/
@@ -266,8 +272,8 @@ html {
padding: 0 20px;
}
- /*此处自定义弹框尺寸,不同功能可能需要的尺寸不一样,需自行添加*/
-.right-box-account, .right-box-prom, .right-box-alert-config, .right-box-project, .right-box-module, .right-box-edit-endpoint ,.right-box-panel {
+/*此处自定义弹框尺寸,不同功能可能需要的尺寸不一样,需自行添加*/
+.right-box-account, .right-box-prom, .right-box-alert-config, .right-box-project, .right-box-module, .right-box-edit-endpoint {
width: 520px;
height: calc(100% - 100px);
}
@@ -275,7 +281,7 @@ html {
width: 820px;
height: calc(100% - 100px);
}
- /* begin--右侧弹框--顶部按钮*/
+/* begin--右侧弹框--顶部按钮*/
.right-box-top-btns {
text-align: center;
}
@@ -298,9 +304,9 @@ html {
border-top: none;
color: white;
}
- /* end--右侧弹框--顶部按钮*/
+/* end--右侧弹框--顶部按钮*/
- /* begin--右侧弹框--内容*/
+/* begin--右侧弹框--内容*/
.right-box-title {
height: 30px;
line-height: 40px;
@@ -362,9 +368,9 @@ html {
.right-box-row-btn-active:hover {
border: 1px solid #656565;
}
- /* end--右侧弹框--内容*/
+/* end--右侧弹框--内容*/
- /* begin--右侧弹框--底部按钮*/
+/* begin--右侧弹框--底部按钮*/
.right-box-bottom-btns {
position: absolute;
bottom: 0;
@@ -399,7 +405,7 @@ html {
.right-box-bottom-btn-50 {
width: 50%;
}
- /* end--右侧弹框--底部按钮*/
+/* end--右侧弹框--底部按钮*/
/* end--右侧弹框*/
/* begin--endpoint->子弹框asset搜索框前缀和后缀*/
.right-sub-box .el-input-group__append, .right-sub-box .el-input-group__prepend, .assets-box .el-input-group__append, .assets-box .el-input-group__prepend {
diff --git a/nezha-fronted/src/assets/img/lang-box-active.svg b/nezha-fronted/src/assets/img/lang-box-active.svg
new file mode 100644
index 000000000..8a59be2d4
--- /dev/null
+++ b/nezha-fronted/src/assets/img/lang-box-active.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/nezha-fronted/src/assets/img/lang-box.svg b/nezha-fronted/src/assets/img/lang-box.svg
new file mode 100644
index 000000000..5029539c6
--- /dev/null
+++ b/nezha-fronted/src/assets/img/lang-box.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/nezha-fronted/src/assets/img/login-background.png b/nezha-fronted/src/assets/img/login-background.png
new file mode 100644
index 000000000..cc3c51943
Binary files /dev/null and b/nezha-fronted/src/assets/img/login-background.png differ
diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue
index dd65b80bb..5e7894bc0 100644
--- a/nezha-fronted/src/components/common/header.vue
+++ b/nezha-fronted/src/components/common/header.vue
@@ -1,417 +1,433 @@
-