From e6b2e8e3f5f9d74d1956d6f620e51e51b9e31e1a Mon Sep 17 00:00:00 2001
From: Fdily <2949549024@qq.com>
Date: Fri, 24 Apr 2026 15:10:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
odcs2.com/src/App.vue | 13 +-
odcs2.com/src/components/headerTop.vue | 2 +-
odcs2.com/src/router/index.js | 1 +
odcs2.com/src/views/Home/common/login.vue | 4 +-
.../src/views/rollHome/common/rolldetial.vue | 1356 +++++++----------
odcs2.com/src/views/rollHome/index.vue | 815 +++++-----
6 files changed, 946 insertions(+), 1245 deletions(-)
diff --git a/odcs2.com/src/App.vue b/odcs2.com/src/App.vue
index 67ac99c..c884371 100644
--- a/odcs2.com/src/App.vue
+++ b/odcs2.com/src/App.vue
@@ -1,7 +1,7 @@
-
+
@@ -12,7 +12,7 @@
-
+
@@ -77,8 +77,8 @@ export default {
window.history.back();
}
}
- let aa = document.getElementById("headerTop").offsetHeight;
- let bb = document.getElementById("bottomUser").offsetHeight;
+ let aa = document.getElementById("headerTop") ? document.getElementById("headerTop").offsetHeight : 0;
+ let bb = document.getElementById("bottomUser") ? document.getElementById("bottomUser").offsetHeight : 0;
this.he = aa + bb;
this.getToken();
@@ -215,9 +215,8 @@ export default {
.appview {
overflow-y: scroll;
position: relative;
- height: calc(100vh - 8rem);
- padding-bottom: 4rem !important;
- // padding-bottom: 200px;
+ height: 100vh;
+ padding-bottom: 0 !important;
}
@media (max-width: 550px) {
.appview {
diff --git a/odcs2.com/src/components/headerTop.vue b/odcs2.com/src/components/headerTop.vue
index ccaad62..1f9ead7 100644
--- a/odcs2.com/src/components/headerTop.vue
+++ b/odcs2.com/src/components/headerTop.vue
@@ -73,7 +73,7 @@
-->
-
+
diff --git a/odcs2.com/src/router/index.js b/odcs2.com/src/router/index.js
index 7cd16d7..5143a0e 100644
--- a/odcs2.com/src/router/index.js
+++ b/odcs2.com/src/router/index.js
@@ -149,6 +149,7 @@ const routes = [
path: "/rolldetial",
name: "rolldetial",
component: () => import("../views/rollHome/common/rolldetial.vue"),
+ meta: { hideHeader: true },
},
{
path: "/index2",
diff --git a/odcs2.com/src/views/Home/common/login.vue b/odcs2.com/src/views/Home/common/login.vue
index 2cfb955..560dd3c 100644
--- a/odcs2.com/src/views/Home/common/login.vue
+++ b/odcs2.com/src/views/Home/common/login.vue
@@ -13,10 +13,10 @@