.home-container { width: 100vw; min-width: 1280px; /* 水平宽度占据整个视口宽度 */ height: 100%; min-height: 768px; background-color: #040516; /* 垂直高度占据整个视口高度 */ //background-image: url('../../../../assets/dashboard/dashboard_bg_1.jpg'); /* 背景图片尺寸适应 */ //background-position: top; //background-size: cover; /* 图片居中显示 */ } .data-v-sysinfo { display: flex; align-items: center; justify-content: right; text-align: right; } .router-outlet-container { padding: 1rem; background-color: #040516; }