Browse Source

主题配置大版本迭代授权版本增加海洋之心、绿荫操场、荣耀典藏主题

初志鑫 4 years ago
parent
commit
29a9fba4cd
3 changed files with 4 additions and 11 deletions
  1. 2 2
      package.json
  2. 2 1
      src/store/modules/settings.js
  3. 0 8
      src/styles/variables.scss

+ 2 - 2
package.json

@@ -73,7 +73,7 @@
     "zx-count": "^0.3.7",
     "zx-icon": "^1.1.8",
     "zx-keel": "^0.9.4",
-    "zx-layouts": "^0.6.5",
+    "zx-layouts": "^0.6.6",
     "zx-magnifie": "^0.4.0",
     "zx-markdown-editor": "^0.0.2",
     "zx-player": "^0.9.6",
@@ -92,7 +92,7 @@
     "autoprefixer": "^9.8.5",
     "babel-eslint": "^10.1.0",
     "compression-webpack-plugin": "^4.0.0",
-    "eslint": "^7.4.0",
+    "eslint": "^7.5.0",
     "eslint-plugin-prettier": "^3.1.4",
     "eslint-plugin-vue": "^6.2.2",
     "filemanager-webpack-plugin": "^2.0.5",

+ 2 - 1
src/store/modules/settings.js

@@ -6,7 +6,8 @@
 import defaultSettings from "@/config/settings";
 
 const { tagsBar, logo, layout, header, themeBar, skeleton } = defaultSettings;
-const theme = JSON.parse(localStorage.getItem("BYUI-VUE-THEME")) || "";
+const theme =
+  JSON.parse(localStorage.getItem("vue-admin-beautiful-theme")) || "";
 const state = {
   tagsBar: theme.tagsBar || tagsBar,
   logo,

+ 0 - 8
src/styles/variables.scss

@@ -79,12 +79,4 @@ $base-transition-time: 0.2s;
   menu-color-active: $base-menu-color-active;
   //菜单背景色变量导出
   menu-background: $base-menu-background;
-  //菜单选中背景色变量导出
-  menu-background-active: $base-menu-background-active;
-  //多标签页选中背景色变量导出
-  tag-background-active: $base-color-blue;
-  //默认按钮背景色变量导出
-  button-background: $base-color-blue;
-  //分页选中背景色变量导出
-  pagination-background-active: $base-color-blue;
 }