From 5c873c1ad9de720ebf8fb9d8a8eb03ebf8b216c5 Mon Sep 17 00:00:00 2001 From: xc Date: Thu, 18 Sep 2025 10:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aufs/core/sendzip.go | 2 ++ vue/afvue/src/views/Sfilecompare.vue | 37 +++++++++++++++++----------- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/aufs/core/sendzip.go b/aufs/core/sendzip.go index 4be56ef..74b390f 100644 --- a/aufs/core/sendzip.go +++ b/aufs/core/sendzip.go @@ -48,6 +48,8 @@ func SendZip(w http.ResponseWriter, r *http.Request) { http.Error(w, "remote server ip is blank!", http.StatusInternalServerError) return } + // 获取远程服务器信息 + // 构建 zipblock := ZipBlock{ Basepath: "/www/wwwroot", diff --git a/vue/afvue/src/views/Sfilecompare.vue b/vue/afvue/src/views/Sfilecompare.vue index e084603..d7303f7 100644 --- a/vue/afvue/src/views/Sfilecompare.vue +++ b/vue/afvue/src/views/Sfilecompare.vue @@ -28,7 +28,7 @@
- +
@@ -46,22 +46,22 @@ +
@@ -85,9 +85,8 @@
- + +
@@ -117,6 +116,9 @@ export default { isMenuVisible: false, // 菜单是否可见 menuTop: 0, // 菜单顶部位置 menuLeft: 0, // 菜单左侧位置 + + + isShowDir: false, // 只显示目录 } }, mounted() { @@ -394,18 +396,18 @@ export default { position: relative; } /* 操作按钮 */ -.sfcon .sflist .fbdiv{ +/* .sfcon .sflist .fbdiv{ position: absolute; bottom: 0; left: 0; height: 46px; background-color: #00bd7e; width: 100%; -} +} */ -.sfcon .sflist .fbdiv .fbtn{ +/* .sfcon .sflist .fbdiv .fbtn{ margin: 12px; -} +} */ .sfind { width: 100%; @@ -549,15 +551,22 @@ export default { /** 发送文件 */ .fsend{ float: left; - height: 120px; - background-color: #f5f5f5; + height: 60px; + background-color: #f3efef; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); margin-top: 20px; width: 100%; + position:fixed; + bottom: 0; + left: 0; } .fsend .fsendcon{ margin-left: auto; padding: 12px; background-color: #fff; + min-height: 60px; + width: 1200px; + margin-left: auto; + margin-right: auto; } \ No newline at end of file