{{config[type].title}}
@@ -24,17 +23,18 @@ export default {
return {
config: Config
}
- }
+ },
+ inject: ['layoutMinHeight']
}
diff --git a/src/layouts/MenuView.vue b/src/layouts/MenuView.vue
index d71e524..9742e02 100644
--- a/src/layouts/MenuView.vue
+++ b/src/layouts/MenuView.vue
@@ -1,25 +1,25 @@
-
- onContextmenu(e)"
- v-if="multiPage"
- :active-key="activePage"
- style="margin-top: -8px; margin-bottom: 8px"
- :hide-add="true"
- type="editable-card"
- @change="changePage"
- @edit="editPage">
-
- {{page.name}}
-
-
-
-
-
-
-
-
+
+ onContextmenu(e)"
+ v-if="multiPage"
+ :active-key="activePage"
+ style="margin-top: -8px; margin-bottom: 8px"
+ :hide-add="true"
+ type="editable-card"
+ @change="changePage"
+ @edit="editPage">
+
+ {{page.name}}
+
+
+
+
+
+
+
+
@@ -159,6 +159,9 @@ export default {
}
-
diff --git a/src/layouts/PageLayout.vue b/src/layouts/PageLayout.vue
index 81f3f68..5702982 100644
--- a/src/layouts/PageLayout.vue
+++ b/src/layouts/PageLayout.vue
@@ -1,5 +1,5 @@
-
+
@@ -50,6 +50,9 @@ export default {
diff --git a/src/pages/exception/404.vue b/src/pages/exception/404.vue
index c47f870..05fda1c 100644
--- a/src/pages/exception/404.vue
+++ b/src/pages/exception/404.vue
@@ -9,6 +9,8 @@ export default {
}
-
diff --git a/src/pages/exception/500.vue b/src/pages/exception/500.vue
index d80ca2e..f68d91a 100644
--- a/src/pages/exception/500.vue
+++ b/src/pages/exception/500.vue
@@ -1,5 +1,5 @@
-
+
-
diff --git a/src/store/modules/setting.js b/src/store/modules/setting.js
index d5171c6..a433e37 100644
--- a/src/store/modules/setting.js
+++ b/src/store/modules/setting.js
@@ -11,7 +11,7 @@ export default {
multiPage: true,
animates: animates,
animate: {
- name: 'back',
+ name: 'bounce',
direction: 'left'
}
},
diff --git a/src/theme/default/color.less b/src/theme/default/color.less
index 102c682..aaf7a5a 100644
--- a/src/theme/default/color.less
+++ b/src/theme/default/color.less
@@ -1,4 +1,16 @@
-@import "../theme";
+@import '~ant-design-vue/lib/style/color/colors.less';
+@primary: #1890ff;
@primary-color: @primary;
@processing-color: @primary;
@link-color: @primary;
+
+@primary-1: color(~`colorPalette('@{primary}', 1) `);
+@primary-2: color(~`colorPalette('@{primary}', 2) `);
+@primary-3: color(~`colorPalette('@{primary}', 3) `);
+@primary-4: color(~`colorPalette('@{primary}', 4) `);
+@primary-5: color(~`colorPalette('@{primary}', 5) `);
+@primary-6: color(~`colorPalette('@{primary}', 6) `);
+@primary-7: color(~`colorPalette('@{primary}', 7) `);
+@primary-8: color(~`colorPalette('@{primary}', 8) `);
+@primary-9: color(~`colorPalette('@{primary}', 9) `);
+@primary-10: color(~`colorPalette('@{primary}', 10) `);
diff --git a/src/theme/theme.less b/src/theme/theme.less
index 33b715c..03d15ef 100644
--- a/src/theme/theme.less
+++ b/src/theme/theme.less
@@ -1 +1 @@
-@primary: #1890ff;
+@import "./default/index";
diff --git a/vue.config.js b/vue.config.js
index 4e97645..09c45a7 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,14 +1,14 @@
-// let path = require('path')
+let path = require('path')
const ThemeColorReplacer = require('webpack-theme-color-replacer')
const getThemeColors = require('./src/utils/themeUtil').getThemeColors
const themeColor = require('./src/config').themeColor
module.exports = {
+ // transpileDependencies: ['webpack-theme-color-replacer'],
pluginOptions: {
'style-resources-loader': {
preProcessor: 'less',
- // patterns: [path.resolve(__dirname, "./src/theme/theme.less")]
- patterns: []
+ patterns: [path.resolve(__dirname, "./src/theme/theme.less")],
}
},
configureWebpack: config => {