修复: 修改不分页面布局问题;

This commit is contained in:
iczer
2020-06-19 17:43:11 +08:00
parent 2e9ebf7b1d
commit 5bbe94728e
12 changed files with 34 additions and 37 deletions

View File

@@ -66,7 +66,6 @@ export default {
.chart-trend{
display: inline-block;
font-size: 14px;
line-height: 22px;
.chart-trend-icon{
font-size: 12px;
&.up{

View File

@@ -104,7 +104,7 @@ export default {
margin-right: 16px;
}
.content{
margin-bottom: 16px;
/*margin-bottom: 16px;*/
flex: auto;
}
.extra{

View File

@@ -116,7 +116,11 @@ export default {
onColorChange (values, colors) {
if (colors.length > 0) {
let closeMessage = this.$message.info(`您选择了主题色 ${colors}, 正在切换...`)
themeUtil.changeThemeColor(colors[0]).then(closeMessage)
let _this = this
themeUtil.changeThemeColor(colors[0]).then(() => {
_this.$store.commit('setting/setThemeColor', colors[0])
closeMessage()
})
}
},
setTheme (values) {

View File

@@ -75,13 +75,13 @@
<style lang="less">
.page-toggle-enter-active{
position: absolute !important;
animation-duration: 0.6s !important;
width: calc(100%);
animation-duration: 0.8s !important;
width: calc(100%) !important;
}
.page-toggle-leave-active{
position: absolute !important;
animation-duration: 0.6s !important;
width: calc(100%);
animation-duration: 0.8s !important;
width: calc(100%) !important;
}
.page-toggle-enter{
}