소스 검색

配置相关

jbb 2 년 전
부모
커밋
6a5b18b510
5개의 변경된 파일10개의 추가작업 그리고 15개의 파일을 삭제
  1. 0 5
      src/components/layouts/UserLayout.vue
  2. 6 6
      src/components/page/GlobalLayout.vue
  3. 1 1
      src/components/tools/Logo.vue
  4. 1 2
      src/defaultSettings.js
  5. 2 1
      vue.config.js

+ 0 - 5
src/components/layouts/UserLayout.vue

@@ -100,11 +100,6 @@ export default {
       position: absolute;
       top: -80px;
       left: 42px;
-      
-      // 技能博物馆
-      img {
-        height: 78px
-      }
     }
     // 放表单的背景
     .formBox {

+ 6 - 6
src/components/page/GlobalLayout.vue

@@ -684,13 +684,13 @@ body {
 }
 
 // 技能博物馆
-// .ant-menu-root>.ant-menu-item span  {
-//     color: white;
-// }
+.ant-menu-root>.ant-menu-item span  {
+    color: @font-color;
+}
 // .ant-menu-root>.ant-menu-item :hover{
 //     color: #1988f4 !important;
 // }
-// .ant-menu-root>.ant-menu-item i {
-//     color: white;
-// }
+.ant-menu-root>.ant-menu-item i {
+    color: @font-color;
+}
 </style>

+ 1 - 1
src/components/tools/Logo.vue

@@ -51,7 +51,7 @@
       box-shadow: none !important;
       transition: background 300ms;
       // background-color: #6bc5f3 !important;
-
+     //logo-img
      img {
        height: 40px !important;
        }

+ 1 - 2
src/defaultSettings.js

@@ -14,8 +14,7 @@
  */
 
 export default {
-  primaryColor: '#1890FF', // 技能博物馆
-  // primaryColor: '#6bc5f3', // 
+  primaryColor: '#1890FF',
   navTheme: 'light', // theme for nav menu
   layout: 'sidemenu', // nav menu position: sidemenu or topmenu
   contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu

+ 2 - 1
vue.config.js

@@ -45,7 +45,8 @@ module.exports = {
       less: {
         modifyVars: {
           /* less 变量覆盖,用于自定义 ant design 主题 */
-          'primary-color': '#1890FF', 
+          'primary-color': '#1890FF', //技能博物馆
+          // 'primary-color': '#6bc5f3', //森语
           'link-color': '#6bc5f3',
           'border-radius-base': '4px',
           'font-color':'#fff', //侧边栏字体颜色