From acae52a683b4a67eb0bcc5adef2d7729f5ff4b7e Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 15 十一月 2024 15:08:42 +0800
Subject: [PATCH] 根据菜单新增页面

---
 src/components/page/GlobalHeader.vue |   41 +++++++++++++++++++++++++++++++++++++++--
 1 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/src/components/page/GlobalHeader.vue b/src/components/page/GlobalHeader.vue
index 4463912..8223270 100644
--- a/src/components/page/GlobalHeader.vue
+++ b/src/components/page/GlobalHeader.vue
@@ -17,8 +17,8 @@
         :type="collapsed ? 'menu-unfold' : 'menu-fold'"
         @click="toggle"/>
 
-      <span v-if="device === 'desktop'">娆㈣繋杩涘叆 Jeecg-Boot 浼佷笟绾т綆浠g爜骞冲彴</span>
-      <span v-else>Jeecg-Boot</span>
+      <span v-if="device === 'desktop'">娆㈣繋杩涘叆 涓浗鑸彂鎴愬彂</span>
+      <span v-else>涓浗鑸彂鎴愬彂</span>
 
       <user-menu :theme="theme"/>
     </div>
@@ -27,6 +27,10 @@
       <div class="header-index-wide">
         <div class="header-index-left" :style="topMenuStyle.headerIndexLeft">
           <logo class="top-nav-header" :show-title="device !== 'mobile'" :style="topMenuStyle.topNavHeader"/>
+          <div class="top-nav-text">
+            <div style="width:100%;height: 50%;line-height:35px">瀵嗙骇锛氬唴閮�</div>
+            <div style="width:100%;height: 50%;line-height:25px">璀﹀憡锛氭湰绯荤粺绂佹瀛樺偍銆佸鐞嗐�佷紶杈撴秹瀵嗕俊鎭�</div>
+          </div>
           <div v-if="device !== 'mobile'" :style="topMenuStyle.topSmenuStyle">
             <s-menu
               mode="horizontal"
@@ -223,5 +227,38 @@
   }
 
   /* update_end author:scott date:20190220 for: 缂╁皬棣栭〉甯冨眬椤堕儴鐨勯珮搴�*/
+  .top-nav-text {
+    color: #f00;
+    height: 100%
+  }
 
+  @media screen and (min-width: 1920px) {
+    .top-nav-text {
+      min-width: 400px;
+    }
+  }
+
+  @media screen and (min-width: 1680px) and (max-width: 1920px) {
+    .top-nav-text {
+      min-width: 300px;
+    }
+  }
+
+  @media screen and (min-width: 1400px) and (max-width: 1680px) {
+    .top-nav-text {
+      min-width: 300px;
+    }
+  }
+
+  @media screen and (min-width: 1280px) and (max-width: 1400px) {
+    .top-nav-text {
+      min-width: 450px;
+    }
+  }
+
+  @media screen and (max-width: 1280px) {
+    .top-nav-text {
+      min-width: 300px;
+    }
+  }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3