vue2-client 1.8.193 → 1.8.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.vue +11 -7
- package/src/config/default/antd.config.js +10 -10
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
'theme.mode': {
|
|
54
54
|
immediate: true,
|
|
55
55
|
handler: function (val) {
|
|
56
|
-
|
|
56
|
+
this.changeThemeMode(val)
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
'theme.color': {
|
|
@@ -107,18 +107,19 @@ export default {
|
|
|
107
107
|
if (_data.baseroute) {
|
|
108
108
|
baseApp = _data.baseroute
|
|
109
109
|
}
|
|
110
|
-
that.setMicroAppTheme(
|
|
110
|
+
that.setMicroAppTheme(_data.themeStore)
|
|
111
111
|
})
|
|
112
112
|
console.log('microApp', window.microApp)
|
|
113
113
|
this.$router.replace({ path: baseApp })
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
setMicroAppTheme (themeStore) {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
let themeScheme = 'dark'
|
|
118
|
+
if (themeStore && themeStore.themeColor && themeStore.themeScheme) {
|
|
119
|
+
if (themeStore.themeScheme === 'dark') {
|
|
120
|
+
themeScheme = 'night'
|
|
121
|
+
}
|
|
122
|
+
themeUtil.changeThemeColor(themeStore.themeColor, themeScheme)
|
|
122
123
|
}
|
|
123
124
|
},
|
|
124
125
|
setLanguage (lang) {
|
|
@@ -154,9 +155,11 @@ export default {
|
|
|
154
155
|
</style>
|
|
155
156
|
<style lang="less">
|
|
156
157
|
@import "./font-style/font.css";
|
|
158
|
+
|
|
157
159
|
body {
|
|
158
160
|
font-family: 'PingFangSC-Regular-woff2', 'Microsoft YaHei UI', serif !important;
|
|
159
161
|
}
|
|
162
|
+
|
|
160
163
|
.water-mark-wrap {
|
|
161
164
|
position: absolute;
|
|
162
165
|
width: 100%;
|
|
@@ -169,6 +172,7 @@ body {
|
|
|
169
172
|
overflow: hidden;
|
|
170
173
|
flex-wrap: wrap;
|
|
171
174
|
}
|
|
175
|
+
|
|
172
176
|
.water-word {
|
|
173
177
|
display: flex;
|
|
174
178
|
align-items: center;
|
|
@@ -62,21 +62,21 @@ const ANTD = {
|
|
|
62
62
|
'btn-primary-color': '#fefefe'
|
|
63
63
|
},
|
|
64
64
|
night: {
|
|
65
|
-
'layout-body-background': '#
|
|
66
|
-
'body-background': '#
|
|
67
|
-
'component-background': '#
|
|
65
|
+
'layout-body-background': '#000000',
|
|
66
|
+
'body-background': '#0a0a0a',
|
|
67
|
+
'component-background': '#0a0a0a',
|
|
68
68
|
'heading-color': 'rgba(255, 255, 255, 0.85)',
|
|
69
69
|
'text-color': 'rgba(255, 255, 255, 0.85)',
|
|
70
70
|
'text-color-inverse': '#fefefe',
|
|
71
71
|
'text-color-secondary': 'rgba(255, 255, 255, 0.45)',
|
|
72
72
|
'shadow-color': 'rgba(255, 255, 255, 0.15)',
|
|
73
|
-
'border-color-split': '#
|
|
74
|
-
'border-color-base': '#
|
|
75
|
-
'background-color-light': '#
|
|
76
|
-
'background-color-base': '#
|
|
77
|
-
'table-selected-row-bg': '#
|
|
78
|
-
'table-expanded-row-bg': '#
|
|
79
|
-
'checkbox-check-color': '#
|
|
73
|
+
'border-color-split': '#101010',
|
|
74
|
+
'border-color-base': '#141414',
|
|
75
|
+
'background-color-light': '#000000',
|
|
76
|
+
'background-color-base': '#1a1a1a',
|
|
77
|
+
'table-selected-row-bg': '#1a1a1a',
|
|
78
|
+
'table-expanded-row-bg': '#1b1b1b',
|
|
79
|
+
'checkbox-check-color': '#0a0a0a',
|
|
80
80
|
'disabled-color': 'rgba(255, 255, 255, 0.25)',
|
|
81
81
|
'menu-dark-color': 'rgba(254, 254, 254, 0.65)',
|
|
82
82
|
'menu-dark-highlight-color': '#fefefe',
|