Browse Source

主题颜色,侧边栏颜色配置

jbb 2 years ago
parent
commit
9a9296811f
1 changed files with 8 additions and 6 deletions
  1. 8 6
      vue.config.js

+ 8 - 6
vue.config.js

@@ -45,9 +45,11 @@ module.exports = {
       less: {
         modifyVars: {
           /* less 变量覆盖,用于自定义 ant design 主题 */
-          'primary-color': '#1890FF',
+          'primary-color': '#6bc5f3', 
           'link-color': '#1890FF',
-          'border-radius-base': '4px'
+          'border-radius-base': '4px',
+          'font-color':'#595959', //侧边栏字体颜色
+          'layout-color':'#fff', //侧边栏背景颜色
         },
         javascriptEnabled: true
       }
@@ -65,10 +67,10 @@ module.exports = {
         }
       }, */
       '/jeecg-boot': {
-        //target: 'http://127.0.0.1:8090', // 请求本地 需要jeecg-boot后台项目
-        target: 'http://106.15.206.14:8087', // 测试环境
-        //target: 'http://220.191.168.86:18087', // 森语外网
-        changeOrigin: true
+        // target: 'http://127.0.0.1:8090', // 请求本地 需要jeecg-boot后台项目
+        // target: 'http://106.15.206.14:8087', // 测试环境
+        target: 'http://220.191.168.86:18087', // 森语外网
+        // changeOrigin: true
       }
     }
   },