From 3381840f164396afbb2cc6ab395a5cb2854aa8a5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 21 五月 2026 15:16:07 +0800
Subject: [PATCH] 进销存pro 1.web端设备巡检要求也可以上传图片

---
 src/layout/components/AppMain.vue |   52 ++++++++++++++++++++++++++--------------------------
 1 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 1e7a78b..a511014 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -37,32 +37,32 @@
 </script>
 
 <style lang="scss" scoped>
-.app-main {
-  /* 50= navbar  50  */
-  min-height: calc(100vh - 50px);
-  width: 100%;
-  position: relative;
-  overflow: hidden;
-  background: #F5F7FB;
-}
-
-.route-view-wrapper {
-  width: 100%;
-  height: 100%;
-}
-
-.fixed-header + .app-main {
-  padding-top: 50px;
-}
-
-.hasTagsView {
-  .app-main {
-    /* 84 = navbar + tags-view = 50 + 34 */
-    min-height: calc(100vh - 84px);
-  }
+.app-main {
+  min-height: calc(100vh - var(--topbar-height));
+  width: 100%;
+  position: relative;
+  overflow: visible;
+  background: transparent;
+}
+
+.route-view-wrapper {
+  width: 100%;
+  height: 100%;
+  padding: var(--content-gap);
+  padding-top: 0;
+}
+
+.fixed-header + .app-main {
+  padding-top: 0;
+}
+
+.hasTagsView {
+  .app-main {
+    min-height: calc(100vh - var(--topbar-height) - var(--tagsbar-height));
+  }
 
   .fixed-header + .app-main {
-    padding-top: 84px;
+    padding-top: 0;
   }
 }
 </style>
@@ -81,11 +81,11 @@
 }
 
 ::-webkit-scrollbar-track {
-  background-color: #f1f1f1;
+  background-color: rgba(218, 225, 220, 0.8);
 }
 
 ::-webkit-scrollbar-thumb {
-  background-color: #c0c0c0;
+  background-color: #b2bdb5;
   border-radius: 3px;
 }
 </style>

--
Gitblit v1.9.3