Commit 07c3700a authored by liangjingpeng's avatar liangjingpeng

优化页面布局和样式

parent c592fdf8
...@@ -80,6 +80,9 @@ body{ ...@@ -80,6 +80,9 @@ body{
margin: 0; margin: 0;
} }
html { html {
min-width: 1614px; /* 不要给html设置固定最小宽度 */ //min-width: 1614px; /* 不要给html设置固定最小宽度 */
}
img{
width: 100%;
} }
</style> </style>
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
<img <img
class="img-class" class="img-class"
src="../../assets/icons/logo1.png" src="../../assets/icons/logo1.png"
@click="logoClick" @click="logoClick">
>
</router-link> </router-link>
</el-menu-item> </el-menu-item>
<el-menu-item index="1" class="header-title" style="border-bottom: none;"> <el-menu-item index="1" class="header-title" style="border-bottom: none;">
...@@ -241,50 +240,8 @@ export default { ...@@ -241,50 +240,8 @@ export default {
margin-top: 90px; /* 让页面内容避开导航栏 */ margin-top: 90px; /* 让页面内容避开导航栏 */
} }
@media (max-width: 2000px) {
body {
width: 100%;
}
}
@media (max-width: 1920px) {
body {
width: 100%;
}
}
/* 小于 600px 的设备,如手机 */
@media (max-width: 600px) {
body {
width: 100%;
font-size: 14px;
}
}
/* 小于 768px 的设备,如平板竖屏 */
@media (max-width: 768px) {
body {
width: 100%;
}
}
/*小于 1024px 的设备,如平板横屏 */
@media (max-width: 1024px) {
body {
width: 100%;
}
}
#app {
display: flex;
justify-content: center;
margin-left: auto;
margin-right: auto;
flex-direction: column;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.container { .container {
width: 100%; width: 100%;
......
...@@ -553,7 +553,7 @@ export default { ...@@ -553,7 +553,7 @@ export default {
} }
.module-one-card-title1 { .module-one-card-title1 {
min-width: 120px; width: 120px;
height: 28px; height: 28px;
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-weight: 600; font-weight: 600;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment