diff --git a/nezha-fronted/src/components/cli/webSSH.scss b/nezha-fronted/src/components/cli/webSSH.scss index 76c4b893f..e87291ad2 100644 --- a/nezha-fronted/src/components/cli/webSSH.scss +++ b/nezha-fronted/src/components/cli/webSSH.scss @@ -5,7 +5,7 @@ position: fixed; bottom: 0; background: #fff; - z-index: 9050; + z-index: 2000; height: 300px; #shell-service-resize-mask { position: fixed; @@ -58,11 +58,10 @@ .el-dialog { .el-dialog__body{ - padding: 0px !important; overflow-x:hidden !important;/*防止console窗口x轴出现滚动条*/ } .el-dialog__header{ - padding: 0px !important; + } } .el-tabs--border-card>.el-tabs__content { @@ -114,6 +113,16 @@ .el-submenu__title:hover{ background-color:#FFF !important; } + + .upload-body{ + text-align: center; + } + .footer:before{ + /*content: '';*/ + /*clear:both;*/ + /*display: block;*/ + /*height: 40px;*/ + } } .shell-service-max { height: 100% !important; diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index a76cdbcb7..c21648d56 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -24,8 +24,12 @@ - 下载 - 上传 + +
{{$t('webshell.upload')}}
+
+ +
{{$t('webshell.download')}}
+
@@ -62,12 +66,79 @@ --> + +
+ +
+
+ + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+ + + + + + + + +
+ +
+
+