diff --git a/src/components/Layout.vue b/src/components/Layout.vue index 426ebcb..9aa24f0 100644 --- a/src/components/Layout.vue +++ b/src/components/Layout.vue @@ -22,11 +22,15 @@ - + + + - + + + @@ -36,6 +40,12 @@ 面板测试 + + + + + + @@ -48,6 +58,12 @@ + + + + + + @@ -238,7 +254,8 @@ const onLogout = async () => { /* 头部样式 */ .nav-header { - background-color: #001529; + /* background-color: #001529; */ + background: linear-gradient(to right, rgba(0, 21, 41, 1), rgb(2, 16, 99,0.9)); padding: 10px; font-size: 18px; font-weight: bold; @@ -268,6 +285,8 @@ const onLogout = async () => { background-color: #f5f8fc; flex-grow: 1; min-height: 80%; + margin: 0; + padding: 0; } /* 页脚样式 */ @@ -280,5 +299,8 @@ const onLogout = async () => { display: flex; justify-content: center; text-align: center; + margin: 0; + padding: 0; /* flex-shrink: 0; */ -} +} +