Selaa lähdekoodia

更新导航功能

code4eat 2 vuotta sitten
vanhempi
commit
e66f3724d5
3 muutettua tiedostoa jossa 9 lisäystä ja 6 poistoa
  1. 2 2
      src/app.tsx
  2. 5 2
      src/components/topBar/style.less
  3. 2 2
      src/pages/platform/_layout.tsx

+ 2 - 2
src/app.tsx

@@ -260,9 +260,9 @@ export const qiankun = fetch('/config').then(() => ({
     // },
     {
       name: 'budgetManaSystem', // 唯一 id
-      entry: '//localhost:8001',
+      //entry: '//localhost:8001',
       //entry: '//120.27.235.181:5000/perform/',  //开发
-      //entry: '//47.96.149.190:5000/perform/', //演示
+      entry: '//47.96.149.190:5000/perform/', //演示
     },
     {
       name: 'PFMBackC', // 唯一 id

+ 5 - 2
src/components/topBar/style.less

@@ -73,7 +73,7 @@
     display: flex;
     flex-direction: row;
     align-items: center;
-    width: 350px;
+    width: 360px;
 
     .logo {
       width: 120px;
@@ -86,6 +86,9 @@
       font-family: SourceHanSansCN-Medium, SourceHanSansCN;
       font-weight: 500;
       color: #FFFFFF;
+      white-space: nowrap;
+      overflow: hidden;
+      text-overflow: ellipsis;
     }
 
     .menu {
@@ -250,7 +253,7 @@
         width: 32px;
         height: 32px;
         background: url('../../../public/images/threePoint_white_more.png');
-        background-size: cover;
+        background-size: 24px 24px;
         background-position: center center;
         background-repeat: no-repeat;
       }

+ 2 - 2
src/pages/platform/_layout.tsx

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2022-01-06 15:25:39
- * @LastEditTime: 2023-06-16 11:22:59
+ * @LastEditTime: 2023-06-16 17:54:38
  * @LastEditors: code4eat awesomedema@gmail.com
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: /KC-MiddlePlatform/src/pages/platform/_layout.tsx
@@ -314,7 +314,7 @@ export default function Layout({ children, location, route, history, match, ...r
               <title>精益管理中台</title>
             </Helmet>
 
-            <div className="page" style={{ height: 'calc(100vh - 80px)', overflowY: 'scroll',minWidth:'1280px' }}>
+            <div className="page" style={{ height: 'calc(100vh - 80px)', overflowY: 'scroll'}}>
               {children}
             </div>
           </PageContainer>